Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.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.358/2.358, 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.001733/0.001734, allocations: 181.1 kB / 498.1 MB, free: 5.766 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.649/1.649, allocations: 223.2 MB / 0.7949 GB, free: 17.98 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.001109/0.001109, allocations: 96.27 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 13.73 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3432, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.5409, allocations: 149.1 MB / 1.368 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.5413, allocations: 75.95 kB / 1.369 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006358/0.5476, allocations: 2.188 MB / 1.371 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5477, allocations: 0 / 1.371 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5477, allocations: 0 / 1.371 GB, free: 10.79 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000314/0.548, allocations: 339.4 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.5481, allocations: 8.031 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.5481, allocations: 3.984 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.5482, allocations: 163 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.5482, allocations: 0 / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.5483, allocations: 7.938 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.5484, allocations: 29.7 kB / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5484, allocations: 0 / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.5484, allocations: 4 kB / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5484, allocations: 0 / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.956e-05/0.5485, allocations: 7.938 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.5486, allocations: 153.6 kB / 1.371 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.5487, allocations: 14.58 kB / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/0.5494, allocations: 461.6 kB / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.5494, allocations: 30.56 kB / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.5495, allocations: 3.938 kB / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.5496, allocations: 45.62 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.5497, allocations: 51.41 kB / 1.372 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.832e-05/0.5497, allocations: 89.12 kB / 1.372 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.5497, allocations: 25.7 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.5498, allocations: 80.14 kB / 1.372 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.5498, allocations: 3.906 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.5498, allocations: 0 / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5499, allocations: 310.8 kB / 1.372 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.55, allocations: 4 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.55, allocations: 0 / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.927e-05/0.55, allocations: 4.062 kB / 1.372 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.55, allocations: 3.953 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.152e-05/0.5501, allocations: 41.69 kB / 1.372 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.5501, allocations: 5.719 kB / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5501, allocations: 0 / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5501, allocations: 3.938 kB / 1.372 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.464e-05/0.5502, allocations: 0 / 1.372 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5502, allocations: 4 kB / 1.372 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.5502, allocations: 3.938 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.5502, allocations: 0 / 1.372 GB, free: 8.621 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 (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 6.871e-05/0.5503, allocations: 109.9 kB / 1.373 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.5503, allocations: 3.953 kB / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-05/0.5504, allocations: 40.81 kB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5504, allocations: 0 / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5504, allocations: 4 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5504, allocations: 0 / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.887e-05/0.5505, allocations: 141.7 kB / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5505, allocations: 3.984 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.208e-05/0.5505, allocations: 3.953 kB / 1.373 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.5505, allocations: 8.031 kB / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.5505, allocations: 0 / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.5505, allocations: 7.875 kB / 1.373 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.5505, allocations: 4 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.132e-05/0.5506, allocations: 53.14 kB / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.5507, allocations: 85.09 kB / 1.373 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.5507, allocations: 7.891 kB / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-06/0.5507, allocations: 4.031 kB / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.5507, allocations: 0 / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.5507, allocations: 0 / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.5508, allocations: 75.28 kB / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5508, allocations: 0 / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002109/0.551, allocations: 35.94 kB / 1.373 GB, free: 7.941 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 (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.0003262/0.5513, allocations: 166.9 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.1e-05/0.5514, allocations: 3.938 kB / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5514, allocations: 4 kB / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-06/0.5514, allocations: 8.047 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.387e-05/0.5515, allocations: 0 / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.5517, allocations: 74.77 kB / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.5519, allocations: 0.6731 MB / 1.374 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.138e-05/0.5519, allocations: 0 / 1.374 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.552, allocations: 11.44 kB / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of SimCode: time 2.695e-06/0.552, allocations: 0 / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of Templates: time 0.00291/0.5549, allocations: 0.5894 MB / 1.375 GB, free: 6.352 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches