Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001086, allocations: 179.1 kB / 498.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.734/1.734, allocations: 223.2 MB / 0.7949 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009365/0.0009366, allocations: 98.75 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 6.969 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3221, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.5157, allocations: 149.7 MB / 1.369 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.516, allocations: 71.91 kB / 1.369 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007119/0.5231, allocations: 2.407 MB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5232, allocations: 0 / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.5232, allocations: 0 / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004258/0.5236, allocations: 375.1 kB / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5237, allocations: 12.03 kB / 1.372 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.5237, allocations: 0 / 1.372 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.5238, allocations: 167 kB / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.5238, allocations: 8 kB / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.5239, allocations: 0 / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.524, allocations: 57.67 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5241, allocations: 3.938 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.5241, allocations: 0 / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.5241, allocations: 0 / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.5243, allocations: 43.95 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.5247, allocations: 268.9 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.5248, allocations: 46.66 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.5254, allocations: 445.5 kB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.5254, allocations: 38.5 kB / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5255, allocations: 0 / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003635/0.5258, allocations: 101.5 kB / 1.373 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.5259, allocations: 51.41 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.5259, allocations: 93.12 kB / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.526, allocations: 25.7 kB / 1.373 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.526, allocations: 92.12 kB / 1.373 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.526, allocations: 3.906 kB / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/0.526, allocations: 3.938 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.5261, allocations: 314.8 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.5262, allocations: 23.98 kB / 1.374 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.5263, allocations: 23.92 kB / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/0.5264, allocations: 31.91 kB / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5264, allocations: 0 / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.5266, allocations: 73.73 kB / 1.374 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5266, allocations: 4 kB / 1.374 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5266, allocations: 3.984 kB / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5267, allocations: 0 / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.5267, allocations: 12 kB / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5268, allocations: 4.031 kB / 1.374 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.5268, allocations: 7.984 kB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.5268, allocations: 0 / 1.374 GB, free: 7.207 MB / 0.8698 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 (2): * Single equations (assignments): 2 * 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 7.299e-05/0.5269, allocations: 117.8 kB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.5269, allocations: 0 / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.5272, allocations: 84.72 kB / 1.374 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5272, allocations: 3.984 kB / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5272, allocations: 0 / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5272, allocations: 0 / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.5273, allocations: 157.6 kB / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5273, allocations: 4 kB / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.5274, allocations: 11.98 kB / 1.374 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5274, allocations: 4.031 kB / 1.374 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.5274, allocations: 0 / 1.374 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5274, allocations: 0 / 1.374 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5274, allocations: 3.984 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.5277, allocations: 183.3 kB / 1.374 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.5277, allocations: 85.11 kB / 1.374 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.5277, allocations: 0 / 1.374 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.5278, allocations: 7.984 kB / 1.374 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.5278, allocations: 4 kB / 1.374 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.5279, allocations: 0 / 1.374 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.5279, allocations: 87.27 kB / 1.374 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5279, allocations: 4.031 kB / 1.374 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002622/0.5282, allocations: 39.94 kB / 1.374 GB, free: 6.324 MB / 0.8698 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 (2): * Single equations (assignments): 2 * 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.0003054/0.5285, allocations: 171.1 kB / 1.375 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.5287, allocations: 43.97 kB / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5287, allocations: 0 / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.5288, allocations: 31.97 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.529, allocations: 7.891 kB / 1.375 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.5293, allocations: 104.7 kB / 1.375 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.5295, allocations: 0.677 MB / 1.375 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.5295, allocations: 8.047 kB / 1.375 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.5296, allocations: 11.44 kB / 1.376 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.5296, allocations: 0 / 1.376 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of Templates: time 0.002764/0.5323, allocations: 0.7491 MB / 1.376 GB, free: 4.461 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches