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.0009761/0.0009761, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001017/0.001017, allocations: 165 kB / 23.82 MB, free: 0.7422 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.8864/0.8864, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 1.785/1.785, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.222e-06/1.222e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.739e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002381/0.002398, allocations: 2.21 MB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.00322, allocations: 0.6102 MB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.003323, allocations: 0 / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.003435, allocations: 29.17 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.348e-05/0.003519, allocations: 44.12 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.003759, allocations: 108.5 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.004008, allocations: 295.2 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.004202, allocations: 100 kB / 0.8149 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.004364, allocations: 171.7 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.004472, allocations: 105.2 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.004513, allocations: 32 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.913e-05/0.004542, allocations: 31.94 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.00459, allocations: 63.8 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.004669, allocations: 88.38 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.004887, allocations: 216 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004889, allocations: 0 / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004889, allocations: 0.625 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.004894, allocations: 4 kB / 0.8156 GB, free: 13.59 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.000764/0.005658, allocations: 0.6914 MB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.005694, allocations: 12.03 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.115e-05/0.005776, allocations: 40.8 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.006008, allocations: 214.4 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.006031, allocations: 16.88 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.006061, allocations: 24.38 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.006424, allocations: 344.2 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.006434, allocations: 4.188 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.006452, allocations: 4.375 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.006462, allocations: 7.938 kB / 0.8169 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.006596, allocations: 70.95 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.007271, allocations: 0.5712 MB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.007431, allocations: 98.91 kB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.007487, allocations: 31.67 kB / 0.8177 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.007508, allocations: 7.984 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.007684, allocations: 140.9 kB / 0.8178 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.007686, allocations: 1.125 kB / 0.8178 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003037/0.007989, allocations: 195.6 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.008041, allocations: 132.5 kB / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.008191, allocations: 274.8 kB / 0.8184 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.008217, allocations: 46.22 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.008307, allocations: 203.4 kB / 0.8186 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.008342, allocations: 60.14 kB / 0.8187 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.008419, allocations: 72.59 kB / 0.8187 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.008546, allocations: 0.5079 MB / 0.8192 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.008676, allocations: 125.3 kB / 0.8194 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.008858, allocations: 301.6 kB / 0.8196 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.009028, allocations: 231 kB / 0.8199 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.00903, allocations: 0 / 0.8199 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000376/0.009406, allocations: 397.5 kB / 0.8202 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.009447, allocations: 94.03 kB / 0.8203 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.009451, allocations: 0 / 0.8203 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.009465, allocations: 4 kB / 0.8203 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.009604, allocations: 49.12 kB / 0.8204 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.009609, allocations: 0 / 0.8204 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.009743, allocations: 64.64 kB / 0.8204 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.009761, allocations: 20.89 kB / 0.8205 GB, free: 8.152 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 9.643e-05/0.009857, allocations: 180.2 kB / 0.8206 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.009888, allocations: 31.84 kB / 0.8207 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.01016, allocations: 168.4 kB / 0.8208 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01016, allocations: 4 kB / 0.8208 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01017, allocations: 1.094 kB / 0.8208 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01017, allocations: 3.938 kB / 0.8208 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.01054, allocations: 487.5 kB / 0.8213 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01054, allocations: 1.062 kB / 0.8213 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.0106, allocations: 31.91 kB / 0.8213 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01061, allocations: 0 / 0.8213 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.01062, allocations: 13.02 kB / 0.8213 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01062, allocations: 3.938 kB / 0.8213 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01062, allocations: 0.5938 kB / 0.8213 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.01084, allocations: 319.5 kB / 0.8216 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.01086, allocations: 29.41 kB / 0.8217 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.01089, allocations: 8 kB / 0.8217 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.01101, allocations: 45.08 kB / 0.8217 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.01109, allocations: 47.86 kB / 0.8218 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.01111, allocations: 7.984 kB / 0.8218 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.385e-05/0.0112, allocations: 180.5 kB / 0.822 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0112, allocations: 5.094 kB / 0.822 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002086/0.01141, allocations: 63.89 kB / 0.822 GB, free: 6.496 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 9.766e-05/0.0115, allocations: 115.2 kB / 0.8221 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.01196, allocations: 385.5 kB / 0.8225 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01196, allocations: 4 kB / 0.8225 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.838e-05/0.01206, allocations: 73.25 kB / 0.8226 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.0123, allocations: 40.86 kB / 0.8226 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.01296, allocations: 388.5 kB / 0.823 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/0.01301, allocations: 88.08 kB / 0.8231 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.722e-05/0.01308, allocations: 17.95 kB / 0.8231 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.01315, allocations: 32.48 kB / 0.8231 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of SimCode: time 6.12e-07/0.01315, allocations: 4 kB / 0.8231 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of Templates: time 0.005515/0.01866, allocations: 4.152 MB / 0.8272 GB, free: 1.168 MB / 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","",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.8140260726213455]