Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00166/0.00166, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00184/0.00184, allocations: 186 kB / 20.78 MB, free: 1.547 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.426/1.426, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 496.2 MB / 0.7819 GB, free: 12.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 1.136 GB, free: 12.39 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.962/0.964, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003033/0.9671, allocations: 2.113 MB / 1.308 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.968, allocations: 0.5592 MB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.9681, allocations: 14.38 kB / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.9682, allocations: 26.59 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.227e-05/0.9683, allocations: 40.02 kB / 1.308 GB, free: 31.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.9686, allocations: 89.97 kB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.9689, allocations: 268.2 kB / 1.309 GB, free: 31.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.9691, allocations: 92.06 kB / 1.309 GB, free: 31.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.9692, allocations: 102.9 kB / 1.309 GB, free: 31.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.9693, allocations: 126 kB / 1.309 GB, free: 31.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.9694, allocations: 26.12 kB / 1.309 GB, free: 31.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.238e-05/0.9694, allocations: 25.97 kB / 1.309 GB, free: 31.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.9694, allocations: 54.69 kB / 1.309 GB, free: 31.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.001e-05/0.9695, allocations: 116.4 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.9698, allocations: 271.3 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9698, allocations: 0 / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.42e-07/0.9698, allocations: 0 / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.9698, allocations: 7.938 kB / 1.309 GB, free: 30.94 MB / 1.061 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.001051/0.9709, allocations: 0.6396 MB / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9709, allocations: 12.33 kB / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.971, allocations: 34.98 kB / 1.31 GB, free: 30.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.9713, allocations: 258.4 kB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.9713, allocations: 21.59 kB / 1.31 GB, free: 30.1 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.9714, allocations: 18.66 kB / 1.31 GB, free: 30.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.9719, allocations: 278.1 kB / 1.311 GB, free: 29.97 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.9719, allocations: 0 / 1.311 GB, free: 29.97 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.9719, allocations: 6.844 kB / 1.311 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.9719, allocations: 6.781 kB / 1.311 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005835/0.9725, allocations: 197.4 kB / 1.311 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009242/0.9735, allocations: 0.6111 MB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.9742, allocations: 215.4 kB / 1.312 GB, free: 29.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.9745, allocations: 83.45 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.9745, allocations: 2.906 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.9749, allocations: 191.8 kB / 1.312 GB, free: 29.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.9749, allocations: 0 / 1.312 GB, free: 29.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009406/0.9758, allocations: 331.8 kB / 1.312 GB, free: 29.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.9759, allocations: 116 kB / 1.312 GB, free: 29.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.976, allocations: 201.2 kB / 1.312 GB, free: 28.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.9761, allocations: 39.17 kB / 1.312 GB, free: 28.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.9761, allocations: 159.4 kB / 1.313 GB, free: 28.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.9762, allocations: 45.64 kB / 1.313 GB, free: 28.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.9762, allocations: 65.61 kB / 1.313 GB, free: 28.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.9763, allocations: 331.1 kB / 1.313 GB, free: 28.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.9766, allocations: 115.4 kB / 1.313 GB, free: 28.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.977, allocations: 168.2 kB / 1.313 GB, free: 28.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/0.9775, allocations: 315.5 kB / 1.314 GB, free: 28.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9775, allocations: 0 / 1.314 GB, free: 28.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007727/0.9783, allocations: 422.7 kB / 1.314 GB, free: 27.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.9784, allocations: 86.95 kB / 1.314 GB, free: 27.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.9784, allocations: 6.109 kB / 1.314 GB, free: 27.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.9784, allocations: 6.844 kB / 1.314 GB, free: 27.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.9786, allocations: 43.12 kB / 1.314 GB, free: 27.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.9786, allocations: 2.844 kB / 1.314 GB, free: 27.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.9789, allocations: 65.91 kB / 1.314 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.9789, allocations: 15.72 kB / 1.314 GB, free: 27.73 MB / 1.061 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.0001147/0.979, allocations: 144.9 kB / 1.314 GB, free: 27.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.9791, allocations: 16.28 kB / 1.314 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006778/0.9797, allocations: 261.8 kB / 1.315 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.9797, allocations: 6.844 kB / 1.315 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9797, allocations: 0 / 1.315 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.9798, allocations: 0 / 1.315 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008098/0.9806, allocations: 0.5841 MB / 1.315 GB, free: 27.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.9806, allocations: 7.984 kB / 1.315 GB, free: 27.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.9807, allocations: 32.67 kB / 1.315 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9807, allocations: 0 / 1.315 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.9807, allocations: 6.875 kB / 1.315 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.9807, allocations: 0 / 1.315 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9807, allocations: 3.469 kB / 1.315 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.9814, allocations: 346.5 kB / 1.316 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.9814, allocations: 102.4 kB / 1.316 GB, free: 26.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.9815, allocations: 6.781 kB / 1.316 GB, free: 26.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.9817, allocations: 45.44 kB / 1.316 GB, free: 26.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.9819, allocations: 47.59 kB / 1.316 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.9819, allocations: 8.641 kB / 1.316 GB, free: 26.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.421e-05/0.982, allocations: 140.8 kB / 1.316 GB, free: 26.67 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.982, allocations: 0 / 1.316 GB, free: 26.67 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000301/0.9823, allocations: 56.52 kB / 1.316 GB, free: 26.66 MB / 1.061 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.0001306/0.9824, allocations: 118.2 kB / 1.316 GB, free: 26.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007669/0.9832, allocations: 397.6 kB / 1.316 GB, free: 26.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9832, allocations: 10.81 kB / 1.316 GB, free: 26.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.9835, allocations: 110 kB / 1.317 GB, free: 26.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.9838, allocations: 31.58 kB / 1.317 GB, free: 26.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000741/0.9846, allocations: 385.8 kB / 1.317 GB, free: 26.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.9847, allocations: 0.7345 MB / 1.318 GB, free: 25.33 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.246e-05/0.9848, allocations: 17.08 kB / 1.318 GB, free: 25.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.9849, allocations: 28.03 kB / 1.318 GB, free: 25.31 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/0.9849, allocations: 0 / 1.318 GB, free: 25.31 MB / 1.061 GB Notification: Performance of Templates: time 0.005972/0.9909, allocations: 3.229 MB / 1.321 GB, free: 25.11 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.290007503703237]