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.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.001717/0.001717, 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.002351/0.002351, 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.556/1.556, 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 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.286/3.286, allocations: 496 MB / 0.7835 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.003248/0.003248, allocations: 66.98 kB / 1.138 GB, free: 33.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4462, allocations: 173.6 MB / 1.307 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003867/0.4501, allocations: 2.117 MB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.4512, allocations: 0.5767 MB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.4514, allocations: 0 / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.4515, allocations: 27.67 kB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.4516, allocations: 35.66 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.452, allocations: 91.81 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.4524, allocations: 263.4 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.4526, allocations: 95.97 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.4528, allocations: 115.6 kB / 1.311 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.453, allocations: 119.5 kB / 1.311 GB, free: 14.47 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.826e-05/0.453, allocations: 24 kB / 1.311 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.4531, allocations: 28 kB / 1.311 GB, free: 14.42 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.4531, allocations: 63.7 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.4533, allocations: 115.4 kB / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.4536, allocations: 270.9 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4536, allocations: 8 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.654e-06/0.4536, allocations: 0 / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4536, allocations: 0 / 1.311 GB, free: 13.97 MB / 1.014 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.001286/0.4549, allocations: 0.5693 MB / 1.312 GB, free: 13.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.455, allocations: 8.922 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.455, allocations: 32.75 kB / 1.312 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.4554, allocations: 187.6 kB / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.4555, allocations: 20.73 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.4555, allocations: 20.38 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.4562, allocations: 270.2 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4562, allocations: 4 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.4562, allocations: 12 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.4563, allocations: 4 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.4569, allocations: 195.8 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.4581, allocations: 0.581 MB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.4589, allocations: 226.4 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.4592, allocations: 80.78 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4592, allocations: 0 / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004841/0.4597, allocations: 193.4 kB / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.4597, allocations: 0 / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001028/0.4607, allocations: 337.1 kB / 1.314 GB, free: 11.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4608, allocations: 106.8 kB / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.4611, allocations: 199.7 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.4611, allocations: 37.7 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.4613, allocations: 152.4 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.4613, allocations: 55.62 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.4614, allocations: 65.67 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4616, allocations: 334.8 kB / 1.315 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.4619, allocations: 108.2 kB / 1.315 GB, free: 10 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.4623, allocations: 172.4 kB / 1.315 GB, free: 9.812 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.4629, allocations: 301.4 kB / 1.315 GB, free: 9.484 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4629, allocations: 7.938 kB / 1.315 GB, free: 9.477 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009213/0.4639, allocations: 424.4 kB / 1.316 GB, free: 9.039 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/0.4639, allocations: 91.08 kB / 1.316 GB, free: 8.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4639, allocations: 4 kB / 1.316 GB, free: 8.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.464, allocations: 7.922 kB / 1.316 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.4642, allocations: 52.06 kB / 1.316 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.4642, allocations: 7.938 kB / 1.316 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.4645, allocations: 63.78 kB / 1.316 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.4645, allocations: 8 kB / 1.316 GB, free: 8.793 MB / 1.014 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.0001588/0.4647, allocations: 148 kB / 1.316 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.4647, allocations: 19.89 kB / 1.316 GB, free: 8.617 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.4655, allocations: 267.1 kB / 1.316 GB, free: 8.352 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4655, allocations: 3.938 kB / 1.316 GB, free: 8.348 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4655, allocations: 4 kB / 1.316 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4655, allocations: 0 / 1.316 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.4665, allocations: 0.55 MB / 1.317 GB, free: 7.746 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4665, allocations: 0 / 1.317 GB, free: 7.746 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.4666, allocations: 31.91 kB / 1.317 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.4667, allocations: 0 / 1.317 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.4667, allocations: 11.98 kB / 1.317 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4667, allocations: 0 / 1.317 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4667, allocations: 0 / 1.317 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.4674, allocations: 347.1 kB / 1.317 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.4675, allocations: 27.73 kB / 1.317 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.4675, allocations: 11.98 kB / 1.317 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.4678, allocations: 31.95 kB / 1.317 GB, free: 7.277 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.4679, allocations: 47.92 kB / 1.317 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.468, allocations: 7.984 kB / 1.317 GB, free: 7.223 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001441/0.4681, allocations: 145.2 kB / 1.317 GB, free: 7.082 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4681, allocations: 0 / 1.317 GB, free: 7.082 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003217/0.4684, allocations: 59.94 kB / 1.318 GB, free: 7.023 MB / 1.014 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.0001504/0.4686, allocations: 111.9 kB / 1.318 GB, free: 6.902 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008856/0.4695, allocations: 407.7 kB / 1.318 GB, free: 6.469 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4695, allocations: 0 / 1.318 GB, free: 6.469 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.4698, allocations: 110 kB / 1.318 GB, free: 6.363 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.4702, allocations: 39.89 kB / 1.318 GB, free: 6.324 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.4711, allocations: 367.9 kB / 1.319 GB, free: 5.941 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.4715, allocations: 0.732 MB / 1.319 GB, free: 5.184 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.751e-05/0.4716, allocations: 25.58 kB / 1.319 GB, free: 5.156 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.4716, allocations: 23.44 kB / 1.319 GB, free: 5.133 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.4716, allocations: 0 / 1.319 GB, free: 5.133 MB / 1.014 GB Notification: Performance of Templates: time 0.007476/0.4791, allocations: 3.286 MB / 1.323 GB, free: 1.871 MB / 1.014 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/jenkins/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.787917211651802]