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.0009044/0.0009044, 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.0009339/0.0009339, allocations: 161.4 kB / 24.17 MB, free: 328 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.9372/0.9372, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.885/1.885, allocations: 377.9 MB / 0.624 GB, free: 8.348 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.152e-06/1.152e-06, allocations: 0 / 0.7601 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.542e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002476/0.002491, allocations: 2.237 MB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.003318, allocations: 0.6256 MB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.003418, allocations: 9.281 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.003525, allocations: 24.55 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.003611, allocations: 48.45 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.00383, allocations: 101.1 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.004077, allocations: 299.2 kB / 0.7634 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.004252, allocations: 102.1 kB / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.004416, allocations: 184.3 kB / 0.7636 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.00452, allocations: 95.73 kB / 0.7637 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.004557, allocations: 28.53 kB / 0.7638 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.745e-05/0.004585, allocations: 32 kB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.004636, allocations: 72.48 kB / 0.7639 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.004702, allocations: 87.75 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.0049, allocations: 216.4 kB / 0.7642 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.004902, allocations: 0 / 0.7642 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004903, allocations: 0 / 0.7642 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.004906, allocations: 1.219 kB / 0.7642 GB, free: 2.395 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.0006/0.005506, allocations: 0.5656 MB / 0.7647 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.005536, allocations: 15.95 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.005595, allocations: 41.66 kB / 0.7648 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.00578, allocations: 174.7 kB / 0.7649 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.005799, allocations: 16.86 kB / 0.7649 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.005825, allocations: 29.12 kB / 0.765 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.006106, allocations: 312.8 kB / 0.7653 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006114, allocations: 8.125 kB / 0.7653 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.00613, allocations: 8.359 kB / 0.7653 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.006137, allocations: 7.938 kB / 0.7653 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.225e-05/0.00622, allocations: 55.47 kB / 0.7653 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.006751, allocations: 395.8 kB / 0.7657 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.006864, allocations: 77.16 kB / 0.7658 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.0069, allocations: 28.83 kB / 0.7658 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.006916, allocations: 4 kB / 0.7658 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.007064, allocations: 133.4 kB / 0.766 GB, free: 424 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.007065, allocations: 0 / 0.766 GB, free: 424 kB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0001772/0.007242, allocations: 127 kB / 0.7661 GB, free: 296 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.00729, allocations: 136.5 kB / 0.7662 GB, free: 128 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.007413, allocations: 211.2 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.007438, allocations: 45.55 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.007503, allocations: 156.6 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.007537, allocations: 51.58 kB / 0.7666 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.007606, allocations: 69.92 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.875e-05/0.007685, allocations: 342.7 kB / 0.767 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.398e-05/0.007759, allocations: 115.1 kB / 0.7672 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.007882, allocations: 258.7 kB / 0.7674 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.008011, allocations: 202.9 kB / 0.7676 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.008013, allocations: 0 / 0.7676 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002165/0.00823, allocations: 328.3 kB / 0.7679 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.008271, allocations: 90.34 kB / 0.768 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.008275, allocations: 0 / 0.768 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.008288, allocations: 11 kB / 0.768 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.008416, allocations: 51.91 kB / 0.7681 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.008419, allocations: 4 kB / 0.7681 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.00855, allocations: 59.73 kB / 0.7681 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.008566, allocations: 12 kB / 0.7681 GB, free: 13.95 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.551e-05/0.008652, allocations: 145.7 kB / 0.7683 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.008674, allocations: 21.27 kB / 0.7683 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.008807, allocations: 115.4 kB / 0.7684 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.00881, allocations: 4 kB / 0.7684 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.008811, allocations: 0 / 0.7684 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.008815, allocations: 4.641 kB / 0.7684 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.009085, allocations: 319 kB / 0.7687 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009086, allocations: 0 / 0.7687 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.009146, allocations: 20.7 kB / 0.7687 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.009149, allocations: 4 kB / 0.7687 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.00916, allocations: 8.547 kB / 0.7687 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.009162, allocations: 0.5312 kB / 0.7687 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009163, allocations: 1.5 kB / 0.7687 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.009294, allocations: 209.5 kB / 0.7689 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.009312, allocations: 19.91 kB / 0.769 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.00934, allocations: 8 kB / 0.769 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.009453, allocations: 36.92 kB / 0.769 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.009532, allocations: 52.5 kB / 0.7691 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.009548, allocations: 12.52 kB / 0.7691 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.009589, allocations: 58.19 kB / 0.7691 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.009589, allocations: 0.5938 kB / 0.7691 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001752/0.009764, allocations: 71.83 kB / 0.7692 GB, free: 12.82 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.922e-05/0.009844, allocations: 94.73 kB / 0.7693 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.01011, allocations: 362.4 kB / 0.7696 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.01012, allocations: 4 kB / 0.7696 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.01024, allocations: 64.08 kB / 0.7697 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.01046, allocations: 41.81 kB / 0.7697 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.01103, allocations: 386.5 kB / 0.7701 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.441e-05/0.01107, allocations: 84.25 kB / 0.7702 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.898e-05/0.01114, allocations: 21.98 kB / 0.7702 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.01128, allocations: 103.3 kB / 0.7703 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.01128, allocations: 0 / 0.7703 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.005171/0.01645, allocations: 3.968 MB / 0.7742 GB, free: 7.805 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 -s gbode -gbm=radauIIA3 -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.761551612056792]