Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009871/0.0009871, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000992/0.000992, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9059/0.9059, allocations: 177.1 MB / 204.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.832/1.832, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.697e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001737/0.001754, allocations: 1.485 MB / 0.813 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005299/0.002284, allocations: 345 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.002309, allocations: 0.5625 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.00234, allocations: 7.922 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.942e-05/0.002379, allocations: 9 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.002783, allocations: 100.3 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.089e-05/0.002844, allocations: 27.86 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.002923, allocations: 10.39 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.002968, allocations: 11.98 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.002999, allocations: 8 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.003009, allocations: 0 / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.003175, allocations: 131.7 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.003192, allocations: 0 / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.003211, allocations: 11.98 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.003369, allocations: 108.6 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003371, allocations: 0 / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003371, allocations: 0.9375 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.003375, allocations: 4 kB / 0.8137 GB, free: 15.48 MB / 0.7761 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.0003954/0.00377, allocations: 373.5 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.003809, allocations: 8.031 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.003848, allocations: 4.938 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.072e-05/0.003929, allocations: 110 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.00394, allocations: 384 / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.00395, allocations: 4.375 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.00407, allocations: 56.89 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.004079, allocations: 4.125 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.004088, allocations: 384 / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.004095, allocations: 384 / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.004124, allocations: 7.938 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.004386, allocations: 247.8 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.735e-05/0.004433, allocations: 28.75 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.004453, allocations: 7.688 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/0.004775, allocations: 90.5 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.004796, allocations: 42.52 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.004797, allocations: 0 / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.004937, allocations: 50.11 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.004966, allocations: 51.41 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.005036, allocations: 159.4 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.005044, allocations: 25.7 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.005087, allocations: 134.9 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.005104, allocations: 5.109 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.005127, allocations: 19.38 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.005238, allocations: 496.1 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.005249, allocations: 0.8438 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.005261, allocations: 11.92 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.005286, allocations: 12.53 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005288, allocations: 3.938 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.126e-05/0.005339, allocations: 38.98 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.005352, allocations: 4 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.005357, allocations: 4.828 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.005373, allocations: 7.984 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.005431, allocations: 9.109 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.005436, allocations: 0 / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.005451, allocations: 0 / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.005457, allocations: 9.375 kB / 0.8157 GB, free: 13.3 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/0.00552, allocations: 156.5 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.005534, allocations: 4 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-05/0.00561, allocations: 46.38 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.005612, allocations: 0 / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.005616, allocations: 0 / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.00562, allocations: 4 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.106e-05/0.005711, allocations: 119.5 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005711, allocations: 0 / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.005729, allocations: 4 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.005732, allocations: 3.984 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.005738, allocations: 0 / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.00574, allocations: 3.938 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.005741, allocations: 0 / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.049e-05/0.005831, allocations: 192.3 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.005838, allocations: 8.812 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.005848, allocations: 3.984 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.005878, allocations: 7.938 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.005914, allocations: 1.344 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.005917, allocations: 4 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.005954, allocations: 127.2 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005954, allocations: 0.9688 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001776/0.006132, allocations: 27.94 kB / 0.8164 GB, free: 12.54 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.006308, allocations: 139.1 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.006383, allocations: 23.61 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.006385, allocations: 2.719 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.006401, allocations: 15.62 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.006561, allocations: 14.64 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.006782, allocations: 110.4 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.006816, allocations: 59.22 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.221e-05/0.006829, allocations: 0.9375 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.006848, allocations: 8.5 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.006848, allocations: 1.125 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.002656/0.009504, allocations: 1.04 MB / 0.8177 GB, free: 11.1 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.926700609270483]