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.001696/0.001696, 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.001948/0.001948, allocations: 194.3 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.439/1.439, 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.791/2.791, allocations: 476.7 MB / 0.7645 GB, free: 10.07 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.002028/0.002028, allocations: 63.89 kB / 1.109 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7054/0.7074, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003453/0.7109, allocations: 2.116 MB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.7119, allocations: 0.5689 MB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.712, allocations: 0 / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.7121, allocations: 27.66 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.799e-05/0.7122, allocations: 43.66 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.7125, allocations: 87.83 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.7128, allocations: 263.4 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.713, allocations: 93.53 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.7132, allocations: 107.6 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.7133, allocations: 127.4 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.7134, allocations: 28 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.784e-05/0.7134, allocations: 24 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.7135, allocations: 59.77 kB / 1.278 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.7136, allocations: 111.4 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.7139, allocations: 274.9 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.7139, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7139, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.7139, allocations: 4 kB / 1.278 GB, free: 0.5977 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.001274/0.7152, allocations: 0.6408 MB / 1.279 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.7152, allocations: 12.03 kB / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.7153, allocations: 40.67 kB / 1.279 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.7157, allocations: 249.1 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.7157, allocations: 16.75 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.7157, allocations: 20.38 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.7164, allocations: 274.2 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7164, allocations: 4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.7165, allocations: 11.98 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.7165, allocations: 4 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007278/0.7172, allocations: 195.8 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.7184, allocations: 0.6131 MB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/0.7192, allocations: 214.5 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.7196, allocations: 88.72 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.7196, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/0.7201, allocations: 191.2 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.804e-06/0.7201, allocations: 4 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001147/0.7212, allocations: 330.7 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.7213, allocations: 110.8 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.7215, allocations: 204.3 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.7216, allocations: 33.7 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.7217, allocations: 160.4 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.7217, allocations: 51.62 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.7218, allocations: 61.69 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.722, allocations: 326.8 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.7224, allocations: 112.2 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.7228, allocations: 175.3 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.7236, allocations: 304.9 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.7236, allocations: 0 / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000968/0.7245, allocations: 419.7 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.809e-05/0.7246, allocations: 101 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7246, allocations: 0 / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.7246, allocations: 11.88 kB / 1.283 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.7249, allocations: 52.11 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.7249, allocations: 3.938 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.7252, allocations: 55.8 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.7252, allocations: 11.98 kB / 1.283 GB, free: 11.21 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.0001622/0.7254, allocations: 160 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.7254, allocations: 15.91 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000793/0.7262, allocations: 257.1 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.7262, allocations: 3.938 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7262, allocations: 0 / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.7263, allocations: 3.984 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.7273, allocations: 0.5802 MB / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7273, allocations: 0 / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.7275, allocations: 35.91 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.7275, allocations: 4 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.7275, allocations: 3.984 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.7275, allocations: 4 kB / 1.284 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7275, allocations: 0 / 1.284 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/0.7283, allocations: 345.2 kB / 1.284 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.7284, allocations: 100.8 kB / 1.284 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.7284, allocations: 12 kB / 1.284 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.7288, allocations: 43.94 kB / 1.284 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.7289, allocations: 43.94 kB / 1.284 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.7289, allocations: 8 kB / 1.284 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001283/0.729, allocations: 144.2 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.729, allocations: 4 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003105/0.7294, allocations: 55.89 kB / 1.285 GB, free: 9.309 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.0001503/0.7295, allocations: 113.9 kB / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009393/0.7304, allocations: 406.2 kB / 1.285 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7304, allocations: 4 kB / 1.285 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.7308, allocations: 103.8 kB / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.7312, allocations: 41.8 kB / 1.285 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/0.7321, allocations: 375.7 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.7324, allocations: 0.7398 MB / 1.286 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.685e-05/0.7325, allocations: 13.55 kB / 1.286 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.7326, allocations: 27.42 kB / 1.286 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.7326, allocations: 7.938 kB / 1.286 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of Templates: time 0.00689/0.7395, allocations: 3.226 MB / 1.289 GB, free: 4.195 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 gbode -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.543995063751936]