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.001321/0.001321, allocations: 113 kB / 17.6 MB, free: 4.684 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.001286/0.001286, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.441/1.441, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002048/0.002048, allocations: 71.88 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9904/0.9925, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003512/0.996, allocations: 2.118 MB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009811/0.9969, allocations: 0.5698 MB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.9971, allocations: 2.75 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.9972, allocations: 21.19 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.9973, allocations: 37.3 kB / 1.275 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.9976, allocations: 88.84 kB / 1.275 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.9979, allocations: 270.9 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.9981, allocations: 92.42 kB / 1.275 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.9983, allocations: 104.8 kB / 1.275 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.9984, allocations: 127.1 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.9985, allocations: 26.5 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.141e-05/0.9985, allocations: 26.34 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.9986, allocations: 61.66 kB / 1.275 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.9987, allocations: 110.8 kB / 1.276 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.9991, allocations: 272.7 kB / 1.276 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9991, allocations: 3.938 kB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9991, allocations: 0.875 kB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.9991, allocations: 0 / 1.276 GB, free: 5.441 MB / 0.9981 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.001183/1, allocations: 0.6451 MB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1, allocations: 12.75 kB / 1.276 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/1, allocations: 31.75 kB / 1.277 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/1.001, allocations: 260 kB / 1.277 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/1.001, allocations: 18.38 kB / 1.277 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/1.001, allocations: 19.09 kB / 1.277 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/1.001, allocations: 279.5 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.001, allocations: 0 / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/1.001, allocations: 7.625 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/1.001, allocations: 4.031 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/1.002, allocations: 197.4 kB / 1.277 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/1.003, allocations: 0.6081 MB / 1.278 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008096/1.004, allocations: 215.3 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/1.004, allocations: 87.73 kB / 1.278 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/1.004, allocations: 2.344 kB / 1.278 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004494/1.005, allocations: 192.7 kB / 1.278 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/1.005, allocations: 0 / 1.278 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001075/1.006, allocations: 329.6 kB / 1.279 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/1.006, allocations: 109.5 kB / 1.279 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/1.006, allocations: 200.5 kB / 1.279 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/1.006, allocations: 34.25 kB / 1.279 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/1.006, allocations: 161.5 kB / 1.279 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/1.006, allocations: 47.09 kB / 1.279 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.007, allocations: 66.12 kB / 1.279 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/1.007, allocations: 330.4 kB / 1.28 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/1.007, allocations: 114 kB / 1.28 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/1.007, allocations: 175.6 kB / 1.28 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/1.008, allocations: 310.5 kB / 1.28 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.008, allocations: 1.188 kB / 1.28 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009876/1.009, allocations: 426 kB / 1.281 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/1.009, allocations: 91.92 kB / 1.281 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.009, allocations: 4.656 kB / 1.281 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/1.009, allocations: 7.031 kB / 1.281 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/1.009, allocations: 49.64 kB / 1.281 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.009, allocations: 2.578 kB / 1.281 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/1.01, allocations: 67.62 kB / 1.281 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/1.01, allocations: 7.531 kB / 1.281 GB, free: 2.227 MB / 0.9981 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.0001347/1.01, allocations: 150.6 kB / 1.281 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/1.01, allocations: 17.62 kB / 1.281 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/1.011, allocations: 264.8 kB / 1.281 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.011, allocations: 5.562 kB / 1.281 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.011, allocations: 2.359 kB / 1.281 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.011, allocations: 0.7031 kB / 1.281 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/1.012, allocations: 0.579 MB / 1.282 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.012, allocations: 0 / 1.282 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/1.012, allocations: 39.52 kB / 1.282 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.012, allocations: 1.969 kB / 1.282 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/1.012, allocations: 3.469 kB / 1.282 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.012, allocations: 2.641 kB / 1.282 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.012, allocations: 0 / 1.282 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/1.012, allocations: 342.3 kB / 1.282 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/1.012, allocations: 104.5 kB / 1.282 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/1.013, allocations: 8.266 kB / 1.282 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/1.013, allocations: 43 kB / 1.282 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.013, allocations: 44.5 kB / 1.282 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/1.013, allocations: 8.703 kB / 1.282 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001092/1.013, allocations: 142.8 kB / 1.282 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.013, allocations: 3.938 kB / 1.282 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003237/1.013, allocations: 58.52 kB / 1.283 GB, free: 1.156 MB / 0.9981 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.0001513/1.014, allocations: 111 kB / 1.283 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008375/1.014, allocations: 410.8 kB / 1.283 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.014, allocations: 4 kB / 1.283 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/1.015, allocations: 104.8 kB / 1.283 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/1.015, allocations: 41.2 kB / 1.283 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008425/1.016, allocations: 375 kB / 1.283 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/1.016, allocations: 0.7373 MB / 1.284 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001025/1.016, allocations: 19.41 kB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/1.016, allocations: 37.34 kB / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/1.016, allocations: 0 / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of Templates: time 0.007909/1.024, allocations: 3.217 MB / 1.287 GB, free: 15.58 MB / 1.014 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: 9.081979620270431]