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.0009806/0.0009806, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001021/0.001021, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9137/0.9137, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.114/2.114, allocations: 429.5 MB / 0.6736 GB, free: 4.023 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.763e-06/1.763e-06, allocations: 0 / 0.8783 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.048e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004163/0.004194, allocations: 2.196 MB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.005476, allocations: 0.6021 MB / 0.881 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.005644, allocations: 4 kB / 0.881 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.005798, allocations: 24.55 kB / 0.881 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.005932, allocations: 44.69 kB / 0.8811 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.006303, allocations: 96.92 kB / 0.8811 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.006725, allocations: 295.2 kB / 0.8814 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.00701, allocations: 95.45 kB / 0.8815 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.007284, allocations: 169.2 kB / 0.8817 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.007461, allocations: 103.7 kB / 0.8818 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.007519, allocations: 28 kB / 0.8818 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.266e-05/0.007561, allocations: 28 kB / 0.8818 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.132e-05/0.007633, allocations: 64.72 kB / 0.8819 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.007748, allocations: 87.8 kB / 0.882 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.008095, allocations: 212 kB / 0.8822 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.0081, allocations: 0 / 0.8822 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/0.008101, allocations: 4.438 kB / 0.8822 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.008109, allocations: 0 / 0.8822 GB, free: 2.555 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.001142/0.009251, allocations: 0.6728 MB / 0.8828 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.009292, allocations: 12.03 kB / 0.8829 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.009384, allocations: 44.8 kB / 0.8829 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.009674, allocations: 213.6 kB / 0.8831 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.009701, allocations: 25.48 kB / 0.8831 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.009732, allocations: 20.38 kB / 0.8831 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.01012, allocations: 338.7 kB / 0.8835 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.01013, allocations: 4.188 kB / 0.8835 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.01015, allocations: 16.11 kB / 0.8835 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.01016, allocations: 4 kB / 0.8835 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.01031, allocations: 74.88 kB / 0.8836 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.01106, allocations: 0.5602 MB / 0.8841 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.01124, allocations: 95.02 kB / 0.8842 GB, free: 332 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.614e-05/0.01131, allocations: 35.67 kB / 0.8842 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.01133, allocations: 4 kB / 0.8842 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.01155, allocations: 140.9 kB / 0.8844 GB, free: 132 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 2.865e-06/0.01155, allocations: 0 / 0.8844 GB, free: 132 kB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003734/0.01192, allocations: 184.9 kB / 0.8846 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.01199, allocations: 110.8 kB / 0.8847 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.01217, allocations: 273.7 kB / 0.8849 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.01219, allocations: 33.7 kB / 0.8849 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.01229, allocations: 211.1 kB / 0.8852 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.01233, allocations: 59.56 kB / 0.8852 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.01241, allocations: 83.58 kB / 0.8853 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.01253, allocations: 0.5001 MB / 0.8858 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.01265, allocations: 133.2 kB / 0.8859 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.01281, allocations: 262.8 kB / 0.8862 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.01299, allocations: 219.6 kB / 0.8864 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01299, allocations: 0 / 0.8864 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00034/0.01333, allocations: 402.1 kB / 0.8867 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.01339, allocations: 93.09 kB / 0.8868 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01339, allocations: 0 / 0.8868 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01341, allocations: 4 kB / 0.8868 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.01356, allocations: 47.91 kB / 0.8869 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01357, allocations: 3.938 kB / 0.8869 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.01371, allocations: 55.91 kB / 0.8869 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.01373, allocations: 23.98 kB / 0.887 GB, free: 13.21 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.000111/0.01384, allocations: 178.7 kB / 0.8871 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.01387, allocations: 27.91 kB / 0.8872 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.01411, allocations: 163.4 kB / 0.8873 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.01412, allocations: 4 kB / 0.8873 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01412, allocations: 3.938 kB / 0.8873 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01413, allocations: 3.984 kB / 0.8873 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.01457, allocations: 491 kB / 0.8878 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01457, allocations: 4 kB / 0.8878 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/0.01465, allocations: 23.97 kB / 0.8878 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.01465, allocations: 0 / 0.8878 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.01467, allocations: 11.92 kB / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01467, allocations: 0 / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.01468, allocations: 0 / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.01502, allocations: 311.7 kB / 0.8881 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.01505, allocations: 27.78 kB / 0.8882 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.01509, allocations: 11.94 kB / 0.8882 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.01527, allocations: 35.97 kB / 0.8882 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.0154, allocations: 47.91 kB / 0.8882 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.01542, allocations: 7.984 kB / 0.8883 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001049/0.01552, allocations: 176.5 kB / 0.8884 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01552, allocations: 0 / 0.8884 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003165/0.01584, allocations: 63.89 kB / 0.8885 GB, free: 11.57 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.000136/0.01598, allocations: 108 kB / 0.8886 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.0164, allocations: 398.7 kB / 0.889 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.0164, allocations: 3.938 kB / 0.889 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.01654, allocations: 71.59 kB / 0.889 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.01689, allocations: 34.22 kB / 0.8891 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.0178, allocations: 381.5 kB / 0.8894 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.01812, allocations: 76.33 kB / 0.8895 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.766e-05/0.01822, allocations: 25.89 kB / 0.8895 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.0183, allocations: 32.48 kB / 0.8896 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of SimCode: time 1.402e-06/0.01831, allocations: 0 / 0.8896 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of Templates: time 0.006795/0.0251, allocations: 3.707 MB / 0.8932 GB, free: 6.73 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.366578739136457]