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.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.001058/0.001058, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.002005/0.002005, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 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 1.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.113/2.113, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.323e-06/1.323e-06, allocations: 0 / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.788e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002741/0.002769, allocations: 2.199 MB / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.003901, allocations: 0.6016 MB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.004006, allocations: 0.5312 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.00414, allocations: 31.36 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.004229, allocations: 55.5 kB / 0.8811 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.004517, allocations: 91.81 kB / 0.8811 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.004785, allocations: 291.2 kB / 0.8814 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.005018, allocations: 91.58 kB / 0.8815 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.005192, allocations: 171.7 kB / 0.8817 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.005312, allocations: 95.72 kB / 0.8818 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.005356, allocations: 29.78 kB / 0.8818 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.115e-05/0.005387, allocations: 32 kB / 0.8818 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.005441, allocations: 67.73 kB / 0.8819 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.00552, allocations: 79.81 kB / 0.882 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.005758, allocations: 220 kB / 0.8822 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.00576, allocations: 0 / 0.8822 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005761, allocations: 4 kB / 0.8822 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.005766, allocations: 1.125 kB / 0.8822 GB, free: 2.211 MB / 0.8386 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.0008064/0.006573, allocations: 0.6705 MB / 0.8828 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.006618, allocations: 13.05 kB / 0.8828 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.984e-05/0.006708, allocations: 52.78 kB / 0.8829 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.007007, allocations: 212.1 kB / 0.8831 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.007037, allocations: 16.88 kB / 0.8831 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.007071, allocations: 24.38 kB / 0.8831 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.007462, allocations: 342 kB / 0.8835 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.007474, allocations: 192 / 0.8835 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.007497, allocations: 16.11 kB / 0.8835 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.007506, allocations: 6.062 kB / 0.8835 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.007647, allocations: 66.95 kB / 0.8836 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.008377, allocations: 0.557 MB / 0.8841 GB, free: 100 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.008568, allocations: 100.7 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.008629, allocations: 35.56 kB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.008656, allocations: 0 / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.008852, allocations: 146.8 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.008854, allocations: 0.5 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003413/0.009195, allocations: 186.6 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.009258, allocations: 122.7 kB / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.009418, allocations: 273.7 kB / 0.8849 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.009444, allocations: 35.3 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.00954, allocations: 203.2 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.009575, allocations: 55.56 kB / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.009657, allocations: 79.56 kB / 0.8853 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.009785, allocations: 0.5079 MB / 0.8858 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.009903, allocations: 129.3 kB / 0.8859 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.01006, allocations: 256.3 kB / 0.8861 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.01023, allocations: 227.5 kB / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01023, allocations: 0 / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003426/0.01058, allocations: 402.1 kB / 0.8867 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.01063, allocations: 93.09 kB / 0.8868 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01063, allocations: 0 / 0.8868 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01065, allocations: 4 kB / 0.8868 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.0108, allocations: 43.91 kB / 0.8869 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.01081, allocations: 7.938 kB / 0.8869 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.01094, allocations: 55.8 kB / 0.8869 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.01096, allocations: 12 kB / 0.8869 GB, free: 12.88 MB / 0.8542 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,ySetOn.y,$PRE.ySetOn.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,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.0001044/0.01107, allocations: 182.8 kB / 0.8871 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.0111, allocations: 31.88 kB / 0.8872 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.01134, allocations: 169.2 kB / 0.8873 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01134, allocations: 4 kB / 0.8873 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.01134, allocations: 3.938 kB / 0.8873 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01135, allocations: 0 / 0.8873 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006893/0.01204, allocations: 491 kB / 0.8878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01204, allocations: 0 / 0.8878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.01211, allocations: 27.98 kB / 0.8878 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01211, allocations: 3.938 kB / 0.8878 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.01213, allocations: 7.922 kB / 0.8878 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01213, allocations: 4 kB / 0.8878 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01213, allocations: 0 / 0.8878 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.01236, allocations: 311.7 kB / 0.8881 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.01238, allocations: 23.8 kB / 0.8882 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.01241, allocations: 11.94 kB / 0.8882 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.01253, allocations: 39.95 kB / 0.8882 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.01262, allocations: 43.92 kB / 0.8882 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.01264, allocations: 7.984 kB / 0.8883 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.755e-05/0.01273, allocations: 176.5 kB / 0.8884 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01273, allocations: 0 / 0.8884 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002157/0.01295, allocations: 59.89 kB / 0.8885 GB, free: 11.25 MB / 0.8542 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.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.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 0.0001195/0.01307, allocations: 116.2 kB / 0.8886 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.01341, allocations: 398.1 kB / 0.889 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01342, allocations: 0 / 0.889 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.01352, allocations: 63.59 kB / 0.889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.01379, allocations: 47.91 kB / 0.8891 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007712/0.01456, allocations: 383.4 kB / 0.8894 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.14e-05/0.01462, allocations: 76.33 kB / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.883e-05/0.01469, allocations: 25.94 kB / 0.8895 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.01476, allocations: 24.5 kB / 0.8896 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/0.01476, allocations: 0 / 0.8896 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.005417/0.02018, allocations: 3.703 MB / 0.8932 GB, free: 6.391 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.727181057911366]