Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002409/0.002409, allocations: 193.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.89 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.828/0.83, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004139/0.8342, allocations: 2.112 MB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.8354, allocations: 0.5689 MB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.8356, allocations: 7.938 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.8358, allocations: 19.73 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.8359, allocations: 35.66 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.8362, allocations: 95.81 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004497/0.8367, allocations: 263.3 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.837, allocations: 89.55 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.8372, allocations: 119.6 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.8374, allocations: 119.5 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.328e-05/0.8374, allocations: 24 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.249e-05/0.8375, allocations: 28 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.8376, allocations: 63.75 kB / 1.278 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.8377, allocations: 111.4 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.8381, allocations: 274.9 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8381, allocations: 4 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8381, allocations: 0 / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.012e-05/0.8382, allocations: 0 / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001395/0.8395, allocations: 0.6409 MB / 1.279 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.8396, allocations: 8.031 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.8397, allocations: 36.69 kB / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.8401, allocations: 257 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.8401, allocations: 12.75 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.8402, allocations: 32.36 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.8408, allocations: 266.3 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8408, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.8409, allocations: 8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.8409, allocations: 4 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/0.8416, allocations: 195.8 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.8429, allocations: 0.617 MB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009111/0.8438, allocations: 218.5 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.8441, allocations: 84.78 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.8442, allocations: 4 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005137/0.8447, allocations: 191.2 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.8447, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001195/0.8459, allocations: 338.5 kB / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.846, allocations: 106.8 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.8462, allocations: 200.3 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.8462, allocations: 37.7 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.8464, allocations: 156.3 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.8465, allocations: 51.62 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.8466, allocations: 61.7 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.8467, allocations: 334.8 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.8471, allocations: 108.2 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.8476, allocations: 179.3 kB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007608/0.8483, allocations: 308.8 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8483, allocations: 0 / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001086/0.8494, allocations: 427.8 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.8495, allocations: 89.05 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.8495, allocations: 3.984 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.8495, allocations: 11.88 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.8498, allocations: 43.91 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.8498, allocations: 7.984 kB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.8502, allocations: 59.92 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.8502, allocations: 8 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (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,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 (31): * Single equations (assignments): 28 * 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.0001758/0.8504, allocations: 155.9 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.8504, allocations: 19.91 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008196/0.8512, allocations: 257.2 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.8512, allocations: 7.938 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8512, allocations: 0 / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.8512, allocations: 0 / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.8524, allocations: 0.5762 MB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8524, allocations: 4 kB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.8526, allocations: 35.89 kB / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.8526, allocations: 4 kB / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.8526, allocations: 0 / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8526, allocations: 0 / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8526, allocations: 0 / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/0.8535, allocations: 349.2 kB / 1.284 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.8536, allocations: 100.8 kB / 1.284 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.8537, allocations: 11.98 kB / 1.284 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.854, allocations: 43.95 kB / 1.284 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.8542, allocations: 43.94 kB / 1.284 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.8542, allocations: 7.984 kB / 1.284 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001366/0.8543, allocations: 144.2 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8543, allocations: 0 / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003267/0.8546, allocations: 55.89 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * 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.0001659/0.8548, allocations: 117.9 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.8558, allocations: 405.9 kB / 1.285 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8558, allocations: 0 / 1.285 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.8562, allocations: 112.1 kB / 1.285 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.8566, allocations: 41.78 kB / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/0.8576, allocations: 371.8 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.858, allocations: 0.7359 MB / 1.286 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.8581, allocations: 21.55 kB / 1.286 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.8582, allocations: 23.44 kB / 1.286 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.8582, allocations: 3.938 kB / 1.286 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of Templates: time 0.007812/0.866, allocations: 3.228 MB / 1.289 GB, free: 4.242 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.738881023135036]