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.0009745/0.0009745, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001623/0.001623, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9914/0.9914, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.922/1.922, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] 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.924e-06/1.924e-06, allocations: 0 / 0.8116 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.927e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004029/0.004059, allocations: 2.208 MB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.005357, allocations: 0.6026 MB / 0.8143 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.005508, allocations: 4 kB / 0.8143 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.005677, allocations: 31.66 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.005806, allocations: 48.94 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.006144, allocations: 97.38 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000396/0.00654, allocations: 307.2 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.006815, allocations: 83.59 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.007075, allocations: 180.3 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.007269, allocations: 111.6 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.01e-05/0.007329, allocations: 29.09 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.007374, allocations: 32 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.007437, allocations: 63.75 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.007549, allocations: 92.52 kB / 0.8154 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.007856, allocations: 215.2 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.007859, allocations: 1.344 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00786, allocations: 0 / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.007867, allocations: 0 / 0.8156 GB, free: 13.48 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.001033/0.008899, allocations: 0.6984 MB / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.008944, allocations: 8.781 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.00905, allocations: 44.8 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.009367, allocations: 210.1 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.009397, allocations: 16.88 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.009446, allocations: 33.59 kB / 0.8166 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.009978, allocations: 334.1 kB / 0.8169 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.009992, allocations: 2.094 kB / 0.8169 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.01002, allocations: 12.12 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.01004, allocations: 8 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.01026, allocations: 66.95 kB / 0.817 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.0113, allocations: 0.5655 MB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.01154, allocations: 106.3 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.0117, allocations: 35.61 kB / 0.8177 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.01173, allocations: 7.984 kB / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.01199, allocations: 136.9 kB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.01199, allocations: 0 / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.000487/0.01248, allocations: 191.8 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.01254, allocations: 136.5 kB / 0.8181 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.01276, allocations: 278.3 kB / 0.8184 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.0128, allocations: 42.41 kB / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.01292, allocations: 207.4 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.01297, allocations: 52.09 kB / 0.8187 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.01308, allocations: 76.19 kB / 0.8187 GB, free: 10 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.01324, allocations: 0.5079 MB / 0.8192 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.01339, allocations: 125.9 kB / 0.8193 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.01363, allocations: 302 kB / 0.8196 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.01387, allocations: 221.9 kB / 0.8198 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01388, allocations: 0 / 0.8198 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005049/0.01438, allocations: 403.9 kB / 0.8202 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.01444, allocations: 89.09 kB / 0.8203 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01444, allocations: 0 / 0.8203 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.01447, allocations: 4.531 kB / 0.8203 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.01466, allocations: 52.72 kB / 0.8204 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.01467, allocations: 7.938 kB / 0.8204 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.01488, allocations: 58.02 kB / 0.8204 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.01491, allocations: 23.98 kB / 0.8205 GB, free: 8.039 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.0001472/0.01505, allocations: 184.1 kB / 0.8206 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.01511, allocations: 35.84 kB / 0.8207 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.01544, allocations: 165.7 kB / 0.8208 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.01545, allocations: 4 kB / 0.8208 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01546, allocations: 3.938 kB / 0.8208 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01546, allocations: 0 / 0.8208 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007624/0.01622, allocations: 487.6 kB / 0.8213 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01623, allocations: 3.938 kB / 0.8213 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.01632, allocations: 28.94 kB / 0.8213 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01632, allocations: 0 / 0.8213 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.01635, allocations: 17.05 kB / 0.8213 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01635, allocations: 0 / 0.8213 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01635, allocations: 0 / 0.8213 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.0167, allocations: 311.5 kB / 0.8216 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.01674, allocations: 28.84 kB / 0.8217 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.01678, allocations: 15.88 kB / 0.8217 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.01699, allocations: 36.92 kB / 0.8217 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.01713, allocations: 48.45 kB / 0.8218 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.01715, allocations: 8.484 kB / 0.8218 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000132/0.01729, allocations: 184.5 kB / 0.8219 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01729, allocations: 0.5312 kB / 0.8219 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004075/0.01769, allocations: 65.31 kB / 0.822 GB, free: 6.387 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.0001368/0.01783, allocations: 114.1 kB / 0.8221 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.01827, allocations: 388.9 kB / 0.8225 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01827, allocations: 1.094 kB / 0.8225 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.01841, allocations: 69.64 kB / 0.8226 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.01881, allocations: 49.89 kB / 0.8226 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.01979, allocations: 381.8 kB / 0.823 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.585e-05/0.01987, allocations: 92.08 kB / 0.8231 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.01997, allocations: 26.38 kB / 0.8231 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.02006, allocations: 28.48 kB / 0.8231 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.02006, allocations: 0 / 0.8231 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of Templates: time 0.007971/0.02804, allocations: 3.924 MB / 0.8269 GB, free: 1.293 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: 5.581217511091381]