Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008255/0.0008255, 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.0007817/0.0007817, 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.8399/0.8399, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.679/1.679, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.691e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002126/0.002143, allocations: 2.114 MB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006914/0.002835, allocations: 0.5804 MB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.002925, allocations: 0 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.003026, allocations: 35.66 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.895e-05/0.003095, allocations: 39.59 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.003304, allocations: 99.8 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.003525, allocations: 291.2 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.003716, allocations: 95.56 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.00386, allocations: 171.7 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.003966, allocations: 95.72 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.004002, allocations: 36 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.456e-05/0.004026, allocations: 28 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.00407, allocations: 63.75 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.603e-05/0.004136, allocations: 83.8 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.004394, allocations: 322.9 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004395, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004396, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.0044, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 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.0008284/0.005228, allocations: 0.5991 MB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.005262, allocations: 12.03 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.005316, allocations: 36.73 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.00557, allocations: 206.8 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.00559, allocations: 16.88 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.005616, allocations: 24.38 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.006066, allocations: 370.1 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006075, allocations: 192 / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.006096, allocations: 20.11 kB / 1.006 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.006101, allocations: 4 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.006447, allocations: 209.8 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.007102, allocations: 0.518 MB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.007444, allocations: 198.4 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.007595, allocations: 88.72 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.007614, allocations: 4 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.007891, allocations: 203.2 kB / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.007892, allocations: 0 / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0007067/0.008599, allocations: 347.2 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.008645, allocations: 110.8 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.008776, allocations: 218.9 kB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.0088, allocations: 37.7 kB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.008878, allocations: 164.6 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.008909, allocations: 55.62 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.008976, allocations: 69.91 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.009054, allocations: 334.8 kB / 1.009 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.009268, allocations: 193.3 kB / 1.009 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.009516, allocations: 324.1 kB / 1.009 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.009866, allocations: 314.5 kB / 1.009 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009868, allocations: 0 / 1.009 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005054/0.01037, allocations: 0.5092 MB / 1.01 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.01042, allocations: 93.09 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01042, allocations: 4 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.01043, allocations: 0 / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01055, allocations: 47.89 kB / 1.01 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.01056, allocations: 7.938 kB / 1.01 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.01072, allocations: 67.84 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.01073, allocations: 16 kB / 1.01 GB, free: 3.156 MB / 0.9636 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,ySetOn.y,$PRE.ySetOn.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,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 9.922e-05/0.01083, allocations: 152.4 kB / 1.01 GB, free: 3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.01085, allocations: 23.86 kB / 1.01 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.01125, allocations: 275.2 kB / 1.011 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01125, allocations: 0 / 1.011 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01126, allocations: 3.938 kB / 1.011 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01126, allocations: 3.938 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007821/0.01204, allocations: 0.5313 MB / 1.011 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01204, allocations: 4 kB / 1.011 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.01211, allocations: 39.89 kB / 1.011 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01212, allocations: 0 / 1.011 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01213, allocations: 3.938 kB / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01213, allocations: 0 / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01213, allocations: 4 kB / 1.011 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.01249, allocations: 355.2 kB / 1.011 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.01251, allocations: 19.86 kB / 1.011 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.01254, allocations: 15.92 kB / 1.011 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.01267, allocations: 43.94 kB / 1.012 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.01276, allocations: 51.86 kB / 1.012 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.01278, allocations: 7.984 kB / 1.012 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.358e-05/0.01285, allocations: 152.4 kB / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01285, allocations: 0 / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001899/0.01304, allocations: 59.89 kB / 1.012 GB, free: 1.367 MB / 0.9636 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.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.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.409e-05/0.01312, allocations: 119.1 kB / 1.012 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005009/0.01362, allocations: 0.4958 MB / 1.012 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01363, allocations: 4 kB / 1.012 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.0138, allocations: 117.5 kB / 1.013 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.01403, allocations: 32.23 kB / 1.013 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.01453, allocations: 412.9 kB / 1.013 GB, free: 112 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.277e-05/0.01462, allocations: 134.2 kB / 1.013 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.01468, allocations: 32.48 kB / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/0.01468, allocations: 0 / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of Templates: time 0.003018/0.0177, allocations: 3.16 MB / 1.016 GB, free: 12.78 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.18307682685554]