Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001231/0.001231, allocations: 179 kB / 498.1 MB, free: 5.758 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.497/1.497, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.0008348/0.0008343, allocations: 108.8 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003709, allocations: 12.16 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3042, allocations: 142.3 MB / 1.223 GB, free: 89.62 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.4918, allocations: 149.8 MB / 1.369 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.4922, allocations: 79.88 kB / 1.369 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007578/0.4998, allocations: 2.48 MB / 1.372 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4999, allocations: 0 / 1.372 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4999, allocations: 0 / 1.372 GB, free: 1.082 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.0003847/0.5003, allocations: 375.8 kB / 1.372 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5003, allocations: 12.03 kB / 1.372 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.5003, allocations: 0 / 1.372 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.5005, allocations: 163 kB / 1.372 GB, free: 468 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.5005, allocations: 11.94 kB / 1.372 GB, free: 456 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.5005, allocations: 0 / 1.372 GB, free: 456 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.5007, allocations: 53.67 kB / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.5007, allocations: 0 / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5007, allocations: 0 / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5007, allocations: 3.938 kB / 1.372 GB, free: 392 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.5009, allocations: 47.95 kB / 1.372 GB, free: 344 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.5013, allocations: 268.9 kB / 1.373 GB, free: 24 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.5014, allocations: 50.5 kB / 1.373 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006148/0.5021, allocations: 453.5 kB / 1.373 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.5021, allocations: 42.55 kB / 1.373 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5021, allocations: 0 / 1.373 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0003349/0.5024, allocations: 93.56 kB / 1.373 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.5025, allocations: 51.41 kB / 1.373 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.5025, allocations: 100.9 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.5026, allocations: 25.7 kB / 1.373 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.5026, allocations: 84.14 kB / 1.373 GB, free: 15 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.5026, allocations: 7.906 kB / 1.373 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.5026, allocations: 0 / 1.373 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.5027, allocations: 322.9 kB / 1.374 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.5028, allocations: 19.98 kB / 1.374 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.5029, allocations: 19.98 kB / 1.374 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.82e-05/0.503, allocations: 24.05 kB / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.503, allocations: 0 / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001836/0.5032, allocations: 77.66 kB / 1.374 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5032, allocations: 8.031 kB / 1.374 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5032, allocations: 0 / 1.374 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5032, allocations: 0 / 1.374 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.5033, allocations: 11.98 kB / 1.374 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5033, allocations: 7.938 kB / 1.374 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.5034, allocations: 4 kB / 1.374 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.5034, allocations: 7.922 kB / 1.374 GB, free: 14.48 MB / 0.8855 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.717e-05/0.5035, allocations: 121.8 kB / 1.374 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.5035, allocations: 0 / 1.374 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.5037, allocations: 84.72 kB / 1.374 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5038, allocations: 0 / 1.374 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5038, allocations: 0 / 1.374 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5038, allocations: 4.031 kB / 1.374 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.5039, allocations: 161.6 kB / 1.374 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5039, allocations: 0 / 1.374 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.504, allocations: 12 kB / 1.374 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.504, allocations: 0 / 1.374 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.504, allocations: 4 kB / 1.374 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.504, allocations: 0 / 1.374 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.504, allocations: 3.984 kB / 1.374 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.5043, allocations: 179.3 kB / 1.374 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.5043, allocations: 85.09 kB / 1.375 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.5043, allocations: 3.938 kB / 1.375 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.5044, allocations: 8.031 kB / 1.375 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.5045, allocations: 7.984 kB / 1.375 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.5045, allocations: 0 / 1.375 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.5045, allocations: 83.28 kB / 1.375 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5045, allocations: 0 / 1.375 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002534/0.5048, allocations: 39.92 kB / 1.375 GB, free: 13.6 MB / 0.8855 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.0002938/0.5051, allocations: 158.9 kB / 1.375 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.5053, allocations: 55.89 kB / 1.375 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5053, allocations: 3.938 kB / 1.375 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.5054, allocations: 23.98 kB / 1.375 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.5056, allocations: 3.953 kB / 1.375 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.5059, allocations: 112.8 kB / 1.375 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.5062, allocations: 0.677 MB / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.5062, allocations: 4 kB / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.5062, allocations: 7.438 kB / 1.376 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.5062, allocations: 0 / 1.376 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of Templates: time 0.002835/0.5091, allocations: 0.7743 MB / 1.376 GB, free: 11.72 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches