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.0009395/0.0009395, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009441/0.0009441, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9901/0.9901, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.878/1.878, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.412e-06/1.412e-06, allocations: 0 / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.905e-05, allocations: 7.125 kB / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002324/0.002343, allocations: 2.199 MB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000894/0.003237, allocations: 0.6107 MB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.003334, allocations: 4 kB / 0.8143 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.003443, allocations: 23.67 kB / 0.8144 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.706e-05/0.00352, allocations: 49.23 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.00374, allocations: 99.81 kB / 0.8145 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.003988, allocations: 303.8 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.004177, allocations: 88.27 kB / 0.8149 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.004324, allocations: 179.6 kB / 0.815 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.004433, allocations: 104.4 kB / 0.8151 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.004475, allocations: 32 kB / 0.8152 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.004502, allocations: 28.91 kB / 0.8152 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.004551, allocations: 67.73 kB / 0.8153 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.004627, allocations: 89.12 kB / 0.8154 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.004846, allocations: 223.2 kB / 0.8156 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004848, allocations: 0 / 0.8156 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004849, allocations: 0 / 0.8156 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.004853, allocations: 1.75 kB / 0.8156 GB, free: 13.93 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.0007128/0.005566, allocations: 0.6821 MB / 0.8162 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.005598, allocations: 12.02 kB / 0.8162 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/0.005674, allocations: 48.8 kB / 0.8163 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.005905, allocations: 218.4 kB / 0.8165 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.005927, allocations: 16.88 kB / 0.8165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.005957, allocations: 29.16 kB / 0.8165 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.006305, allocations: 335.2 kB / 0.8169 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.006314, allocations: 192 / 0.8169 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.006334, allocations: 12.12 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.006344, allocations: 14.48 kB / 0.8169 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.006483, allocations: 66.95 kB / 0.817 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.007143, allocations: 0.5642 MB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.007309, allocations: 109.9 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.007367, allocations: 36.39 kB / 0.8176 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.007386, allocations: 0 / 0.8176 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.007561, allocations: 141.4 kB / 0.8178 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.007562, allocations: 1.625 kB / 0.8178 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003076/0.00787, allocations: 187.8 kB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.007925, allocations: 140.5 kB / 0.8181 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.008084, allocations: 278.3 kB / 0.8184 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.008108, allocations: 38.52 kB / 0.8184 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.008197, allocations: 207.4 kB / 0.8186 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.008232, allocations: 60.5 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.008321, allocations: 71.62 kB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.008431, allocations: 0.504 MB / 0.8192 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.008539, allocations: 126.6 kB / 0.8193 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.008703, allocations: 302.3 kB / 0.8196 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.008871, allocations: 223.7 kB / 0.8198 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008873, allocations: 0 / 0.8198 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003271/0.009201, allocations: 409 kB / 0.8202 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.009244, allocations: 89.09 kB / 0.8203 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.009249, allocations: 4 kB / 0.8203 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.00926, allocations: 0 / 0.8203 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.009395, allocations: 55.84 kB / 0.8204 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.009402, allocations: 7.938 kB / 0.8204 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.009537, allocations: 57.06 kB / 0.8204 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.009557, allocations: 19.97 kB / 0.8204 GB, free: 8.496 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.0001013/0.009659, allocations: 180.7 kB / 0.8206 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.009841, allocations: 31.86 kB / 0.8206 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.01006, allocations: 167.3 kB / 0.8208 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01006, allocations: 4.656 kB / 0.8208 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01006, allocations: 3.938 kB / 0.8208 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01007, allocations: 1.75 kB / 0.8208 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.01045, allocations: 487.1 kB / 0.8213 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01046, allocations: 4 kB / 0.8213 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.01052, allocations: 23.92 kB / 0.8213 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.01052, allocations: 9.172 kB / 0.8213 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01053, allocations: 7.938 kB / 0.8213 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.01054, allocations: 0 / 0.8213 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01054, allocations: 1.094 kB / 0.8213 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.01075, allocations: 316.8 kB / 0.8216 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.01077, allocations: 27.8 kB / 0.8217 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.0108, allocations: 16.58 kB / 0.8217 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.01092, allocations: 32.69 kB / 0.8217 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.01101, allocations: 49.09 kB / 0.8217 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.01102, allocations: 16.03 kB / 0.8218 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.539e-05/0.01111, allocations: 184.5 kB / 0.8219 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01111, allocations: 1.031 kB / 0.8219 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002028/0.01131, allocations: 59.89 kB / 0.822 GB, free: 6.848 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 8.986e-05/0.0114, allocations: 121.5 kB / 0.8221 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.01171, allocations: 387.3 kB / 0.8225 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01171, allocations: 3.125 kB / 0.8225 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.439e-05/0.01181, allocations: 65.31 kB / 0.8225 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.01204, allocations: 39.97 kB / 0.8226 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.0127, allocations: 384.9 kB / 0.823 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.766e-05/0.01275, allocations: 88.09 kB / 0.823 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.023e-05/0.01282, allocations: 26.41 kB / 0.8231 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.01289, allocations: 28.48 kB / 0.8231 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/0.01289, allocations: 0 / 0.8231 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of Templates: time 0.004998/0.01789, allocations: 3.934 MB / 0.8269 GB, free: 1.746 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.995593247003853]