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.001312/0.001312, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001543/0.001543, allocations: 161 kB / 24.16 MB, free: 332 kB / 18.57 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 0.9659/0.9659, allocations: 177.1 MB / 204.6 MB, free: 5.344 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.855/1.855, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.226e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00228/0.002293, allocations: 2.188 MB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.003079, allocations: 0.6219 MB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.003174, allocations: 7.938 kB / 0.7628 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.003279, allocations: 25.47 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.741e-05/0.003366, allocations: 51.08 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.003571, allocations: 95.88 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.003812, allocations: 315.1 kB / 0.7633 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.003981, allocations: 98.86 kB / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.004137, allocations: 179.6 kB / 0.7636 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.004237, allocations: 100.9 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.004275, allocations: 32 kB / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.595e-05/0.004301, allocations: 28 kB / 0.7637 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.004348, allocations: 64.5 kB / 0.7638 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.004413, allocations: 91.73 kB / 0.7639 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.004605, allocations: 216.6 kB / 0.7641 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004607, allocations: 0 / 0.7641 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004608, allocations: 0 / 0.7641 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.004611, allocations: 0 / 0.7641 GB, free: 2.508 MB / 0.7136 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.0005877/0.005199, allocations: 0.5661 MB / 0.7646 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.005226, allocations: 13.81 kB / 0.7646 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.005279, allocations: 36.91 kB / 0.7647 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.005457, allocations: 181.9 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.005476, allocations: 16.88 kB / 0.7649 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.005504, allocations: 25.72 kB / 0.7649 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.005786, allocations: 314.7 kB / 0.7652 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005794, allocations: 1.438 kB / 0.7652 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.005811, allocations: 8.375 kB / 0.7652 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.005818, allocations: 11.88 kB / 0.7652 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.005898, allocations: 51.47 kB / 0.7652 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.006402, allocations: 398.7 kB / 0.7656 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.006519, allocations: 82.05 kB / 0.7657 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.006552, allocations: 20.84 kB / 0.7657 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.006568, allocations: 4 kB / 0.7657 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.006717, allocations: 147 kB / 0.7659 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.006718, allocations: 0 / 0.7659 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.000175/0.006893, allocations: 118 kB / 0.766 GB, free: 416 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.006948, allocations: 140.5 kB / 0.7661 GB, free: 244 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.007058, allocations: 219 kB / 0.7663 GB, free: 12 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.007093, allocations: 37.7 kB / 0.7664 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.007157, allocations: 152.5 kB / 0.7665 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.00719, allocations: 63.55 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.007255, allocations: 69.88 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.007333, allocations: 338.7 kB / 0.767 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.007406, allocations: 114.9 kB / 0.7671 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.007524, allocations: 262.7 kB / 0.7673 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.007651, allocations: 189.7 kB / 0.7675 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.007655, allocations: 4 kB / 0.7675 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000209/0.007864, allocations: 326.8 kB / 0.7678 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.007898, allocations: 93.03 kB / 0.7679 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.007904, allocations: 4 kB / 0.7679 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.007915, allocations: 0 / 0.7679 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.008025, allocations: 50.81 kB / 0.768 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.008031, allocations: 11.92 kB / 0.768 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.008154, allocations: 59.75 kB / 0.768 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.008169, allocations: 15.98 kB / 0.768 GB, free: 14.06 MB / 0.7292 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,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.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) * 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 8.406e-05/0.008253, allocations: 141 kB / 0.7682 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.008276, allocations: 21.22 kB / 0.7682 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.008406, allocations: 122 kB / 0.7683 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.008408, allocations: 0 / 0.7683 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.008409, allocations: 5.719 kB / 0.7683 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008412, allocations: 0 / 0.7683 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.00867, allocations: 314.4 kB / 0.7686 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.008671, allocations: 0 / 0.7686 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.008723, allocations: 23.98 kB / 0.7686 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.008725, allocations: 2.438 kB / 0.7686 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.008734, allocations: 3.984 kB / 0.7686 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008736, allocations: 4 kB / 0.7686 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.008737, allocations: 0 / 0.7686 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.008861, allocations: 209.9 kB / 0.7688 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.008877, allocations: 19.89 kB / 0.7689 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.008905, allocations: 14.05 kB / 0.7689 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.009011, allocations: 35.97 kB / 0.7689 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.009082, allocations: 47.91 kB / 0.769 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.009096, allocations: 13.33 kB / 0.769 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.492e-05/0.009141, allocations: 58.23 kB / 0.769 GB, free: 13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009141, allocations: 3.938 kB / 0.769 GB, free: 13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001712/0.009312, allocations: 67.84 kB / 0.7691 GB, free: 12.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.ySetOn.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,antFre.ySetOn.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * 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 7.827e-05/0.00939, allocations: 94.39 kB / 0.7692 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.009622, allocations: 362.2 kB / 0.7695 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.009626, allocations: 0.7188 kB / 0.7695 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.009699, allocations: 64.75 kB / 0.7696 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.009873, allocations: 41.22 kB / 0.7696 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.01042, allocations: 383.8 kB / 0.77 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01046, allocations: 84.84 kB / 0.7701 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.627e-05/0.01053, allocations: 21.23 kB / 0.7701 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.01066, allocations: 112.4 kB / 0.7702 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.01066, allocations: 0 / 0.7702 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.005095/0.01576, allocations: 3.965 MB / 0.7741 GB, free: 7.922 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.937710037920624]