Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001633/0.001633, allocations: 83.59 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.001794/0.001794, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9023/0.9023, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.808/1.808, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.8116 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.674e-05, allocations: 4.984 kB / 0.8116 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002893/0.002919, allocations: 2.233 MB / 0.8137 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.005735, allocations: 2.754 MB / 0.8164 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.005857, allocations: 5.594 kB / 0.8164 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009586/0.006816, allocations: 0.4926 MB / 0.8169 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.007106, allocations: 172.4 kB / 0.8171 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.007507, allocations: 205.1 kB / 0.8173 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.007867, allocations: 407.5 kB / 0.8177 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.007942, allocations: 25.28 kB / 0.8177 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.008115, allocations: 177.4 kB / 0.8179 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.008252, allocations: 131.6 kB / 0.818 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.008272, allocations: 8 kB / 0.818 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.008399, allocations: 75.81 kB / 0.8181 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.008521, allocations: 136.2 kB / 0.8182 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.008617, allocations: 103.5 kB / 0.8183 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.009053, allocations: 440.6 kB / 0.8187 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.009056, allocations: 0 / 0.8187 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.152e-06/0.009057, allocations: 4 kB / 0.8187 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.009065, allocations: 0 / 0.8187 GB, free: 9.219 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001125/0.01019, allocations: 1.028 MB / 0.8197 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.01023, allocations: 12.03 kB / 0.8197 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.885e-05/0.01033, allocations: 78.39 kB / 0.8198 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.01066, allocations: 388.9 kB / 0.8202 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.01068, allocations: 12.36 kB / 0.8202 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.0107, allocations: 4.375 kB / 0.8202 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.01086, allocations: 105.1 kB / 0.8203 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.01087, allocations: 5.281 kB / 0.8203 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.01088, allocations: 0 / 0.8203 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.01089, allocations: 0 / 0.8203 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/0.01094, allocations: 35.91 kB / 0.8203 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.0116, allocations: 0.6487 MB / 0.821 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.01181, allocations: 87.77 kB / 0.8211 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.01185, allocations: 31.33 kB / 0.8211 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.01186, allocations: 0 / 0.8211 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.01198, allocations: 102.7 kB / 0.8212 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.01199, allocations: 0 / 0.8212 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002523/0.01224, allocations: 185.3 kB / 0.8214 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.01226, allocations: 51.41 kB / 0.8214 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.01296, allocations: 0.9409 MB / 0.8223 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.01298, allocations: 33.7 kB / 0.8224 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.01324, allocations: 452.8 kB / 0.8228 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.01327, allocations: 27.78 kB / 0.8228 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.0133, allocations: 27.38 kB / 0.8228 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.0134, allocations: 492.4 kB / 0.8233 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.01343, allocations: 15.98 kB / 0.8233 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.01348, allocations: 69.69 kB / 0.8234 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.01355, allocations: 60.38 kB / 0.8235 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01355, allocations: 0 / 0.8235 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001461/0.0137, allocations: 149.2 kB / 0.8236 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.01371, allocations: 5.125 kB / 0.8236 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01371, allocations: 3.938 kB / 0.8236 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01372, allocations: 0 / 0.8236 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.01377, allocations: 17.02 kB / 0.8236 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.01378, allocations: 3.938 kB / 0.8236 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.01385, allocations: 8.875 kB / 0.8236 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.01386, allocations: 7.984 kB / 0.8236 GB, free: 3.938 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001003/0.01396, allocations: 170.4 kB / 0.8238 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.014, allocations: 71.53 kB / 0.8239 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.01419, allocations: 152.1 kB / 0.824 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01419, allocations: 7.984 kB / 0.824 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01419, allocations: 0.5312 kB / 0.824 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.0142, allocations: 0 / 0.824 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.01456, allocations: 0.5056 MB / 0.8245 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01456, allocations: 0 / 0.8245 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.01459, allocations: 11.98 kB / 0.8245 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01459, allocations: 0 / 0.8245 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.0146, allocations: 1.75 kB / 0.8245 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.0146, allocations: 0 / 0.8245 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0146, allocations: 4 kB / 0.8245 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.01476, allocations: 199.8 kB / 0.8247 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.01481, allocations: 69.89 kB / 0.8248 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.01484, allocations: 0 / 0.8248 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.0149, allocations: 7.984 kB / 0.8248 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.01494, allocations: 11.98 kB / 0.8248 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.01496, allocations: 4 kB / 0.8248 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004045/0.01536, allocations: 0.5185 MB / 0.8253 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01536, allocations: 64 / 0.8253 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001922/0.01555, allocations: 67.92 kB / 0.8254 GB, free: 2.074 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008839/0.01644, allocations: 395.4 kB / 0.8258 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.01657, allocations: 67.58 kB / 0.8258 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01657, allocations: 0 / 0.8258 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.01662, allocations: 35.67 kB / 0.8259 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.01703, allocations: 188.1 kB / 0.826 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.01839, allocations: 0.9217 MB / 0.8269 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.0185, allocations: 192.2 kB / 0.8271 GB, free: 384 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.975e-05/0.01859, allocations: 35.28 kB / 0.8272 GB, free: 352 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.01864, allocations: 28.48 kB / 0.8272 GB, free: 324 kB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.01864, allocations: 0 / 0.8272 GB, free: 324 kB / 0.7292 GB Notification: Performance of Templates: time 0.009284/0.02792, allocations: 6.815 MB / 0.8338 GB, free: 9.68 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.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.903385220095515]