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.002046/0.002046, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002737/0.002737, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.586 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 2.992/2.992, allocations: 377.8 MB / 0.6232 GB, free: 8.535 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 1.523e-06/1.523e-06, allocations: 0 / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.976e-05, allocations: 3.25 kB / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004301/0.004331, allocations: 2.133 MB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.005876, allocations: 0.5906 MB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.006036, allocations: 7.938 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.006184, allocations: 29.23 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.006311, allocations: 40.81 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.006653, allocations: 99.86 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.007073, allocations: 299.2 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.007357, allocations: 93.17 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.007633, allocations: 179.6 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.007819, allocations: 103.7 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.007883, allocations: 28 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.023e-05/0.007934, allocations: 34.5 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.008018, allocations: 63.8 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.008156, allocations: 95.73 kB / 0.8146 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.008645, allocations: 338.9 kB / 0.8149 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008649, allocations: 0 / 0.8149 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.372e-06/0.00865, allocations: 0 / 0.8149 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.008655, allocations: 0 / 0.8149 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.001432/0.01009, allocations: 0.6074 MB / 0.8155 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.01013, allocations: 8.031 kB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.01025, allocations: 45.45 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.01069, allocations: 215.6 kB / 0.8157 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.01072, allocations: 20.88 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.01077, allocations: 24.38 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.01158, allocations: 376.6 kB / 0.8161 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.01159, allocations: 192 / 0.8161 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.01163, allocations: 16.06 kB / 0.8161 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.01164, allocations: 4 kB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007763/0.01242, allocations: 212.3 kB / 0.8164 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.01374, allocations: 0.5447 MB / 0.8169 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.0145, allocations: 201.5 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.01487, allocations: 84.78 kB / 0.8172 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.01489, allocations: 0 / 0.8172 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005771/0.01547, allocations: 201.3 kB / 0.8174 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.01547, allocations: 0 / 0.8174 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.001321/0.01679, allocations: 358.3 kB / 0.8177 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.01691, allocations: 132.5 kB / 0.8178 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.0172, allocations: 239.7 kB / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.01725, allocations: 37.7 kB / 0.8181 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.01741, allocations: 165 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.01749, allocations: 59.25 kB / 0.8183 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.01764, allocations: 73.91 kB / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.01784, allocations: 334.8 kB / 0.8187 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.01834, allocations: 201.3 kB / 0.8189 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.01897, allocations: 346.6 kB / 0.8192 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008517/0.01982, allocations: 319.9 kB / 0.8195 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01983, allocations: 4 kB / 0.8195 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001224/0.02105, allocations: 0.5244 MB / 0.82 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.02115, allocations: 93.09 kB / 0.8201 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.02116, allocations: 0 / 0.8201 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.02119, allocations: 4 kB / 0.8201 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.02163, allocations: 49.73 kB / 0.8202 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.02164, allocations: 7.875 kB / 0.8202 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.02202, allocations: 69.12 kB / 0.8202 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.02206, allocations: 15.97 kB / 0.8203 GB, free: 8.047 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.0002055/0.02226, allocations: 163.5 kB / 0.8204 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.02233, allocations: 23.86 kB / 0.8204 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009236/0.02325, allocations: 283.2 kB / 0.8207 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.02325, allocations: 0 / 0.8207 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.02326, allocations: 3.938 kB / 0.8207 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.02326, allocations: 0 / 0.8207 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.02451, allocations: 0.5298 MB / 0.8212 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.02452, allocations: 0 / 0.8212 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.0247, allocations: 39.95 kB / 0.8213 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.0247, allocations: 0 / 0.8213 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.02473, allocations: 7.938 kB / 0.8213 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.02473, allocations: 0 / 0.8213 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.02473, allocations: 7.984 kB / 0.8213 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/0.02569, allocations: 373.1 kB / 0.8216 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.02574, allocations: 31.78 kB / 0.8217 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.0258, allocations: 11.94 kB / 0.8217 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.02614, allocations: 47.94 kB / 0.8217 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.0263, allocations: 55.91 kB / 0.8218 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.02633, allocations: 4 kB / 0.8218 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001771/0.02651, allocations: 152.6 kB / 0.8219 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02651, allocations: 3.938 kB / 0.8219 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003873/0.0269, allocations: 63.89 kB / 0.822 GB, free: 6.215 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.0002041/0.0271, allocations: 115.2 kB / 0.8221 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.02825, allocations: 0.4956 MB / 0.8226 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02825, allocations: 0 / 0.8226 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.02867, allocations: 116.2 kB / 0.8227 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.0291, allocations: 41.83 kB / 0.8227 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.03029, allocations: 404.1 kB / 0.8231 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.03047, allocations: 130.2 kB / 0.8232 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.03061, allocations: 29.92 kB / 0.8233 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.03073, allocations: 32.48 kB / 0.8233 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of SimCode: time 1.142e-06/0.03073, allocations: 0 / 0.8233 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of Templates: time 0.009748/0.04048, allocations: 3.92 MB / 0.8271 GB, free: 0.918 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 400] 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: 8.469739238033071]