Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7646 GB, free: 9.836 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 79.86 kB / 1.11 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8695, allocations: 168.8 MB / 1.274 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003874/0.8734, allocations: 2.116 MB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.8745, allocations: 0.565 MB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.8746, allocations: 7.938 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.8748, allocations: 23.73 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.8749, allocations: 39.59 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.8752, allocations: 87.89 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.8755, allocations: 267.3 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.8757, allocations: 94.19 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.8759, allocations: 111.7 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.8761, allocations: 123.4 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.8761, allocations: 28 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.939e-05/0.8761, allocations: 27.94 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.8762, allocations: 55.83 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.8763, allocations: 115.4 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.8767, allocations: 270.7 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.8767, allocations: 3.938 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of FrontEnd: time 7.92e-07/0.8767, allocations: 0 / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.8767, allocations: 4 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001176/0.8778, allocations: 0.5655 MB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.8779, allocations: 15.98 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.878, allocations: 28.75 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.8783, allocations: 202.6 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.8784, allocations: 12.75 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.8784, allocations: 28.38 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/0.8791, allocations: 274.3 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.8791, allocations: 0 / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.8791, allocations: 4 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.8791, allocations: 4 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.8798, allocations: 203.8 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.8809, allocations: 0.5733 MB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008131/0.8818, allocations: 222.4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.8821, allocations: 80.78 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.8821, allocations: 4 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.8826, allocations: 189.4 kB / 1.281 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.8826, allocations: 0 / 1.281 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001114/0.8837, allocations: 333.1 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.8838, allocations: 110.8 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.884, allocations: 194.8 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.884, allocations: 41.69 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.8842, allocations: 156.3 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.8842, allocations: 47.64 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.8844, allocations: 65.62 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8845, allocations: 338.8 kB / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.8849, allocations: 104.2 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.8853, allocations: 179.8 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.886, allocations: 307.7 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.886, allocations: 0 / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009547/0.8869, allocations: 427.7 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.646e-05/0.887, allocations: 89.09 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.887, allocations: 3.984 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.887, allocations: 11.88 kB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.8873, allocations: 47.89 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.8873, allocations: 4 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.8876, allocations: 63.86 kB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.8876, allocations: 11.98 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * 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.0001661/0.8878, allocations: 146.7 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.8878, allocations: 19.91 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007564/0.8886, allocations: 261.1 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.8886, allocations: 11.94 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8886, allocations: 0 / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8886, allocations: 0 / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.8896, allocations: 0.5519 MB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.8896, allocations: 3.984 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.8898, allocations: 27.91 kB / 1.284 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.8898, allocations: 4 kB / 1.284 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.8898, allocations: 3.984 kB / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8898, allocations: 0 / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8898, allocations: 0 / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007888/0.8906, allocations: 349.2 kB / 1.284 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.8906, allocations: 27.73 kB / 1.284 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.8907, allocations: 8 kB / 1.284 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.891, allocations: 43.94 kB / 1.284 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.8911, allocations: 47.92 kB / 1.284 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.8912, allocations: 4 kB / 1.284 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001752/0.8914, allocations: 143 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8914, allocations: 0 / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003603/0.8917, allocations: 55.89 kB / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0002341/0.8919, allocations: 131 kB / 1.285 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000999/0.8929, allocations: 398 kB / 1.285 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.893, allocations: 0 / 1.285 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.8933, allocations: 110.5 kB / 1.285 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.8937, allocations: 35.91 kB / 1.285 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.8948, allocations: 363.9 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.8952, allocations: 0.7398 MB / 1.286 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.8953, allocations: 17.64 kB / 1.286 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.8954, allocations: 27.42 kB / 1.286 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of SimCode: time 8.41e-07/0.8954, allocations: 3.938 kB / 1.286 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of Templates: time 0.008556/0.9039, allocations: 3.278 MB / 1.29 GB, free: 4.133 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.836088291369379]