Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.3 MB / 0.6653 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004019, allocations: 15.98 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9374/0.9379, allocations: 142.3 MB / 0.9535 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0008194/0.9387, allocations: 322.6 kB / 0.9538 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006039/0.9394, allocations: 252 kB / 0.9541 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.9394, allocations: 0 / 0.9541 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.9394, allocations: 3.938 kB / 0.9541 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.9394, allocations: 0 / 0.9541 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.9399, allocations: 77.72 kB / 0.9541 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.906e-05/0.94, allocations: 3.984 kB / 0.9541 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.94, allocations: 1.312 kB / 0.9541 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.797e-05/0.9401, allocations: 0 / 0.9541 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.273e-05/0.9401, allocations: 5.484 kB / 0.9542 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.9401, allocations: 0 / 0.9542 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.9404, allocations: 125 kB / 0.9543 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.9404, allocations: 0 / 0.9543 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.9405, allocations: 25.7 kB / 0.9543 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.9406, allocations: 45.52 kB / 0.9543 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9406, allocations: 4 kB / 0.9543 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.427e-06/0.9406, allocations: 0 / 0.9543 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.9406, allocations: 0 / 0.9543 GB, free: 7.535 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003178/0.941, allocations: 323.8 kB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.941, allocations: 12.55 kB / 0.9547 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.9411, allocations: 3.953 kB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.653e-05/0.9412, allocations: 168.5 kB / 0.9548 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.9412, allocations: 0 / 0.9548 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.9412, allocations: 0 / 0.9548 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.9413, allocations: 32.39 kB / 0.9549 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9414, allocations: 0 / 0.9549 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.9414, allocations: 0 / 0.9549 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.9414, allocations: 0 / 0.9549 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.9414, allocations: 6.422 kB / 0.9549 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.9416, allocations: 145.7 kB / 0.955 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.739e-05/0.9416, allocations: 25.73 kB / 0.955 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000771/0.9424, allocations: 455.4 kB / 0.9555 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.9424, allocations: 39.27 kB / 0.9555 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.9424, allocations: 0 / 0.9555 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.9426, allocations: 34.02 kB / 0.9555 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.9426, allocations: 56.47 kB / 0.9556 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.561e-05/0.9426, allocations: 93.8 kB / 0.9557 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.9427, allocations: 26.92 kB / 0.9557 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.9427, allocations: 80.14 kB / 0.9558 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.9427, allocations: 3.906 kB / 0.9558 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.9427, allocations: 1.062 kB / 0.9558 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.9428, allocations: 318.7 kB / 0.9561 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.9428, allocations: 0.9688 kB / 0.9561 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.9428, allocations: 1.031 kB / 0.9561 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.018e-05/0.9429, allocations: 13.86 kB / 0.9561 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9429, allocations: 0 / 0.9561 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.247e-05/0.9429, allocations: 31.02 kB / 0.9561 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.9429, allocations: 5.344 kB / 0.9561 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9429, allocations: 0 / 0.9561 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.943, allocations: 1.031 kB / 0.9561 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.607e-05/0.943, allocations: 1.312 kB / 0.9561 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.943, allocations: 0 / 0.9561 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.078e-05/0.943, allocations: 1.531 kB / 0.9561 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.943, allocations: 8.031 kB / 0.9562 GB, free: 5.477 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.9431, allocations: 115.7 kB / 0.9563 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-06/0.9431, allocations: 0 / 0.9563 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/0.9432, allocations: 40.77 kB / 0.9563 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9432, allocations: 1.375 kB / 0.9563 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9432, allocations: 0 / 0.9563 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9432, allocations: 0 / 0.9563 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.796e-05/0.9433, allocations: 150.9 kB / 0.9564 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.9433, allocations: 0 / 0.9564 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.9433, allocations: 6.188 kB / 0.9565 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.9433, allocations: 0 / 0.9565 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.9433, allocations: 1.219 kB / 0.9565 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.9433, allocations: 0 / 0.9565 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9433, allocations: 0 / 0.9565 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.118e-05/0.9434, allocations: 66.7 kB / 0.9565 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.9434, allocations: 82.14 kB / 0.9566 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.9435, allocations: 1.312 kB / 0.9566 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-06/0.9435, allocations: 4 kB / 0.9566 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.9435, allocations: 1.156 kB / 0.9566 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.9435, allocations: 0 / 0.9566 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.892e-05/0.9435, allocations: 75.28 kB / 0.9567 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9435, allocations: 1.188 kB / 0.9567 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002307/0.9438, allocations: 24.56 kB / 0.9567 GB, free: 4.855 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003243/0.9441, allocations: 146.5 kB / 0.9568 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.994e-05/0.9442, allocations: 2.906 kB / 0.9568 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9442, allocations: 3.938 kB / 0.9568 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.679e-06/0.9442, allocations: 9.844 kB / 0.9569 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.9443, allocations: 4.922 kB / 0.9569 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001875/0.9445, allocations: 74.48 kB / 0.9569 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.9447, allocations: 0.6752 MB / 0.9576 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.9447, allocations: 1.281 kB / 0.9576 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.085e-05/0.9447, allocations: 7.438 kB / 0.9576 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9447, allocations: 0 / 0.9576 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of Templates: time 0.002755/0.9475, allocations: 0.6258 MB / 0.9582 GB, free: 3.605 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches