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.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.0009132/0.0009132, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008254/0.0008254, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8952/0.8952, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.345e-06/2.345e-06, allocations: 0 / 0.9518 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.243e-05/3.478e-05, allocations: 5.094 kB / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002381/0.002416, allocations: 2.065 MB / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000769/0.003185, allocations: 0.5648 MB / 0.9544 GB, free: 292 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.003284, allocations: 4 kB / 0.9544 GB, free: 288 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.003396, allocations: 23.67 kB / 0.9544 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.003465, allocations: 39.66 kB / 0.9544 GB, free: 224 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.003701, allocations: 95.75 kB / 0.9545 GB, free: 128 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.003956, allocations: 267.2 kB / 0.9548 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.004171, allocations: 83.64 kB / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.004319, allocations: 151.7 kB / 0.955 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.004427, allocations: 95.67 kB / 0.9551 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.004463, allocations: 24 kB / 0.9551 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.004488, allocations: 28 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.004535, allocations: 63.81 kB / 0.9552 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.004605, allocations: 75.81 kB / 0.9553 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.004889, allocations: 299 kB / 0.9556 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004891, allocations: 0 / 0.9556 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004892, allocations: 0 / 0.9556 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.004897, allocations: 0 / 0.9556 GB, free: 15.05 MB / 0.9167 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.0007551/0.005652, allocations: 0.5733 MB / 0.9561 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.005689, allocations: 8.031 kB / 0.9561 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.005748, allocations: 28.8 kB / 0.9561 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.006003, allocations: 197.9 kB / 0.9563 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.006028, allocations: 20.73 kB / 0.9564 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.006057, allocations: 20.38 kB / 0.9564 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.006461, allocations: 322.1 kB / 0.9567 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.006471, allocations: 8.188 kB / 0.9567 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.006494, allocations: 12.12 kB / 0.9567 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.0065, allocations: 4 kB / 0.9567 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.006851, allocations: 191.8 kB / 0.9569 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.007542, allocations: 0.4919 MB / 0.9574 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.008002, allocations: 218.5 kB / 0.9576 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.008154, allocations: 84.77 kB / 0.9577 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.008174, allocations: 4 kB / 0.9577 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.008456, allocations: 183.2 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.008458, allocations: 4 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0005952/0.009053, allocations: 335.5 kB / 0.9582 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.009108, allocations: 110.8 kB / 0.9583 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.009509, allocations: 212.3 kB / 0.9585 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.009532, allocations: 37.64 kB / 0.9585 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.009613, allocations: 156.4 kB / 0.9587 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.009643, allocations: 55.61 kB / 0.9587 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.009715, allocations: 65.69 kB / 0.9588 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.009799, allocations: 330.8 kB / 0.9591 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.01002, allocations: 197.3 kB / 0.9593 GB, free: 11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.01027, allocations: 308.6 kB / 0.9596 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.01061, allocations: 315 kB / 0.9599 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01062, allocations: 0 / 0.9599 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005169/0.01113, allocations: 0.4975 MB / 0.9604 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.01118, allocations: 97.08 kB / 0.9604 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01118, allocations: 0 / 0.9604 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.0112, allocations: 4 kB / 0.9604 GB, free: 9.645 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.0113, allocations: 43.95 kB / 0.9605 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.01131, allocations: 3.938 kB / 0.9605 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.01146, allocations: 63.78 kB / 0.9606 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.01148, allocations: 19.94 kB / 0.9606 GB, free: 9.516 MB / 0.9167 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.0001105/0.01159, allocations: 147.8 kB / 0.9607 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.01161, allocations: 15.91 kB / 0.9607 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/0.01201, allocations: 262 kB / 0.961 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01201, allocations: 4 kB / 0.961 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.01202, allocations: 4 kB / 0.961 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.01203, allocations: 3.984 kB / 0.961 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.01254, allocations: 497.8 kB / 0.9615 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01254, allocations: 4 kB / 0.9615 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.01261, allocations: 31.95 kB / 0.9615 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01261, allocations: 0 / 0.9615 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.01263, allocations: 8 kB / 0.9615 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01263, allocations: 3.984 kB / 0.9615 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01263, allocations: 0 / 0.9615 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.01301, allocations: 347.1 kB / 0.9618 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.01303, allocations: 19.86 kB / 0.9619 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.01305, allocations: 4 kB / 0.9619 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.01318, allocations: 43.88 kB / 0.9619 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.01327, allocations: 51.86 kB / 0.962 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.01329, allocations: 4 kB / 0.962 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.617e-05/0.01336, allocations: 143 kB / 0.9621 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01336, allocations: 0 / 0.9621 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001956/0.01356, allocations: 59.89 kB / 0.9622 GB, free: 7.832 MB / 0.9167 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.000127/0.01369, allocations: 117 kB / 0.9623 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005062/0.01419, allocations: 497.7 kB / 0.9627 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01419, allocations: 0 / 0.9627 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.01437, allocations: 111.8 kB / 0.9628 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.01462, allocations: 44.97 kB / 0.9629 GB, free: 7.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.01514, allocations: 388.3 kB / 0.9633 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.495e-05/0.01522, allocations: 125.2 kB / 0.9634 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.01528, allocations: 24.5 kB / 0.9634 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.01528, allocations: 4 kB / 0.9634 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of Templates: time 0.00344/0.01872, allocations: 2.947 MB / 0.9663 GB, free: 3.5 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.761168964207172]