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.00208/0.00208, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.002126/0.002126, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.713/1.713, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.328/3.328, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.385e-06/2.385e-06, allocations: 0 / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.354e-05, allocations: 8.5 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004428/0.004461, allocations: 2.179 MB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.006011, allocations: 0.5991 MB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.006154, allocations: 0 / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.006319, allocations: 27.66 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.006444, allocations: 52.53 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.006768, allocations: 96.39 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000409/0.007177, allocations: 304.8 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.007426, allocations: 91.58 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.007696, allocations: 175.7 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.007872, allocations: 103.7 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.00794, allocations: 34.53 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-05/0.007996, allocations: 32 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.008079, allocations: 67.73 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.008205, allocations: 79.81 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.008688, allocations: 346.9 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.008692, allocations: 0 / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.008693, allocations: 4 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.008699, allocations: 0.5312 kB / 0.8149 GB, free: 13.87 MB / 0.7761 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.001343/0.01004, allocations: 0.703 MB / 0.8156 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.01009, allocations: 12.03 kB / 0.8156 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.01021, allocations: 44.8 kB / 0.8157 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.01063, allocations: 213.4 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.01067, allocations: 21.5 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.01072, allocations: 24.38 kB / 0.8159 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.01146, allocations: 378.7 kB / 0.8163 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01147, allocations: 192 / 0.8163 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.01151, allocations: 17.05 kB / 0.8163 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.01152, allocations: 4 kB / 0.8163 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.0121, allocations: 179.3 kB / 0.8165 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.01345, allocations: 0.6258 MB / 0.8171 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.01402, allocations: 175.8 kB / 0.8172 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.01428, allocations: 76.58 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.01431, allocations: 4 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/0.01481, allocations: 196.2 kB / 0.8175 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.01481, allocations: 0.8438 kB / 0.8175 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.00101/0.01582, allocations: 304.9 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.01594, allocations: 144.5 kB / 0.8179 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.01632, allocations: 322.3 kB / 0.8183 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.01638, allocations: 41.62 kB / 0.8183 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.01656, allocations: 218.1 kB / 0.8185 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/0.01663, allocations: 59.62 kB / 0.8186 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.01679, allocations: 91.58 kB / 0.8186 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003063/0.0171, allocations: 0.5157 MB / 0.8191 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.0175, allocations: 181.3 kB / 0.8193 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005373/0.01804, allocations: 369.7 kB / 0.8197 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.01868, allocations: 307.1 kB / 0.82 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01868, allocations: 0.75 kB / 0.82 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001159/0.01984, allocations: 0.5024 MB / 0.8205 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.342e-05/0.01992, allocations: 89.81 kB / 0.8205 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01993, allocations: 0 / 0.8205 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.01995, allocations: 7.969 kB / 0.8205 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.02021, allocations: 47.91 kB / 0.8206 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.02022, allocations: 7.938 kB / 0.8206 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.02054, allocations: 55.8 kB / 0.8207 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.02057, allocations: 15.98 kB / 0.8207 GB, free: 7.551 MB / 0.7761 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,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,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.0002317/0.0208, allocations: 203.1 kB / 0.8209 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.02087, allocations: 33.08 kB / 0.8209 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006975/0.02156, allocations: 236.4 kB / 0.8211 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.02157, allocations: 4 kB / 0.8211 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.02158, allocations: 3.938 kB / 0.8211 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.02158, allocations: 1.125 kB / 0.8211 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.02267, allocations: 0.5897 MB / 0.8217 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02268, allocations: 0 / 0.8217 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.02281, allocations: 24.98 kB / 0.8217 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.02281, allocations: 0 / 0.8217 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.02284, allocations: 11.92 kB / 0.8217 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.02284, allocations: 0.6562 kB / 0.8217 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.02285, allocations: 3.938 kB / 0.8217 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.02361, allocations: 395.2 kB / 0.8221 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.02365, allocations: 21.58 kB / 0.8221 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.0237, allocations: 15.88 kB / 0.8222 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.02397, allocations: 41.14 kB / 0.8222 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.02414, allocations: 55.91 kB / 0.8223 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.02417, allocations: 4 kB / 0.8223 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002033/0.02438, allocations: 204.5 kB / 0.8224 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02438, allocations: 1.094 kB / 0.8225 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003293/0.02471, allocations: 63.88 kB / 0.8225 GB, free: 5.609 MB / 0.7761 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 0.0001853/0.02489, allocations: 124.4 kB / 0.8226 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000971/0.02586, allocations: 499.3 kB / 0.8231 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02587, allocations: 1.125 kB / 0.8231 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.02622, allocations: 119.6 kB / 0.8232 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.02663, allocations: 42.72 kB / 0.8233 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009791/0.02761, allocations: 408 kB / 0.8237 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.02778, allocations: 138.1 kB / 0.8238 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.02789, allocations: 17.95 kB / 0.8238 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.02799, allocations: 28.48 kB / 0.8238 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.02799, allocations: 4 kB / 0.8238 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of Templates: time 0.009528/0.03752, allocations: 3.92 MB / 0.8277 GB, free: 300 kB / 0.7761 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","/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.076814281987026]