Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.001474/0.001474, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001659/0.001659, allocations: 212.1 kB / 23 MB, free: 4.969 MB / 14.72 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 1.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.314/3.314, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.98 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4228, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004407/0.4272, allocations: 2.114 MB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.4287, allocations: 0.5962 MB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.4288, allocations: 7.938 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.429, allocations: 23.67 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.4291, allocations: 51.58 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.4295, allocations: 103.9 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004463/0.4299, allocations: 299.2 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.4302, allocations: 103.5 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.4304, allocations: 123.6 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.4306, allocations: 135.4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.223e-05/0.4307, allocations: 32 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.214e-05/0.4308, allocations: 32 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.168e-05/0.4308, allocations: 63.77 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.431, allocations: 111.4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.4315, allocations: 322.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4315, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4315, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.4315, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001437/0.4329, allocations: 0.6061 MB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/0.433, allocations: 12.03 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.746e-05/0.4331, allocations: 36.73 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.4336, allocations: 202.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4336, allocations: 24.8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.4337, allocations: 24.31 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008278/0.4345, allocations: 380.6 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4345, allocations: 4 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.4346, allocations: 8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.4346, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007601/0.4353, allocations: 217.5 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.4366, allocations: 0.5333 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.4374, allocations: 190.4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.4377, allocations: 96.77 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.4378, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000572/0.4383, allocations: 199.1 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.944e-06/0.4383, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001208/0.4395, allocations: 354.4 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.4396, allocations: 140.5 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.4399, allocations: 223.8 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.44, allocations: 37.7 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.4401, allocations: 168.6 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.4402, allocations: 55.61 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.4403, allocations: 69.97 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.4405, allocations: 330.8 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.441, allocations: 205.2 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.4416, allocations: 351 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/0.4424, allocations: 315 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4424, allocations: 0 / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001092/0.4435, allocations: 0.5169 MB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/0.4436, allocations: 98.81 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4436, allocations: 0 / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.4436, allocations: 12.09 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.4439, allocations: 43.89 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4439, allocations: 4 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.4443, allocations: 67.72 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.4443, allocations: 12 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (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,antFre.errAndSetOn.y,antFre.ySetOn.y,$PRE.antFre.ySetOn.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 (34): * Single equations (assignments): 31 * 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.0001999/0.4445, allocations: 156.4 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.4445, allocations: 27.84 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008578/0.4454, allocations: 284.5 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4454, allocations: 0 / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4454, allocations: 7.938 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.4454, allocations: 19.86 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.4455, allocations: 11.98 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.4458, allocations: 47.94 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.446, allocations: 51.86 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001027/0.447, allocations: 362.2 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00089/0.4479, allocations: 443.9 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003777/0.4482, allocations: 111.9 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001546/0.4484, allocations: 156.6 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of Backend: time 6.12e-07/0.4484, allocations: 0 / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.4495, allocations: 0.4913 MB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of SimCode: time 0.001098/0.4506, allocations: 0.8147 MB / 1.339 GB, free: 3.883 MB / 1.029 GB Notification: Performance of Templates: time 0.009924/0.4605, allocations: 4.673 MB / 1.344 GB, free: 15.28 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.697168575999967]