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.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.001621/0.001621, allocations: 111.2 kB / 17.08 MB, free: 5.82 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.001639/0.001639, allocations: 194.2 kB / 20.03 MB, free: 2.949 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.41/1.41, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.947/2.947, allocations: 489.3 MB / 0.7687 GB, free: 3.816 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001928/0.001928, allocations: 71.89 kB / 1.103 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9918/0.9938, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003315/0.9971, allocations: 2.083 MB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.9982, allocations: 0.5531 MB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.9983, allocations: 6.281 kB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.9984, allocations: 21.31 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.84e-05/0.9985, allocations: 40.16 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.9988, allocations: 85.41 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.9992, allocations: 274.6 kB / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.9994, allocations: 112.4 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.9996, allocations: 109.6 kB / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.9998, allocations: 127.2 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.9998, allocations: 25.41 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.023e-05/0.9999, allocations: 26.5 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/1, allocations: 58.17 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/1, allocations: 112.7 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004069/1.001, allocations: 275.1 kB / 1.266 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.001, allocations: 4.812 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/1.001, allocations: 0 / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.421e-05/1.001, allocations: 0 / 1.266 GB, free: 5.539 MB / 0.9981 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.001182/1.002, allocations: 0.6448 MB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.002, allocations: 13.5 kB / 1.267 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/1.002, allocations: 27.02 kB / 1.267 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/1.002, allocations: 258.3 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/1.002, allocations: 14.58 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/1.002, allocations: 24.39 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/1.003, allocations: 276.2 kB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.003, allocations: 0 / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/1.003, allocations: 7.156 kB / 1.268 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.003, allocations: 4.062 kB / 1.268 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007198/1.004, allocations: 198.1 kB / 1.268 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/1.005, allocations: 0.6203 MB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/1.006, allocations: 222.7 kB / 1.269 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/1.006, allocations: 85.34 kB / 1.269 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/1.006, allocations: 6.844 kB / 1.269 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005224/1.007, allocations: 201.2 kB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.784e-06/1.007, allocations: 0 / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001146/1.008, allocations: 328.8 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/1.008, allocations: 115 kB / 1.269 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/1.008, allocations: 202.3 kB / 1.27 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/1.008, allocations: 38.58 kB / 1.27 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/1.008, allocations: 157.3 kB / 1.27 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/1.008, allocations: 49.05 kB / 1.27 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/1.009, allocations: 63 kB / 1.27 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/1.009, allocations: 332 kB / 1.27 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/1.009, allocations: 113.1 kB / 1.27 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/1.009, allocations: 168.4 kB / 1.27 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/1.01, allocations: 306.9 kB / 1.271 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.01, allocations: 0.75 kB / 1.271 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009174/1.011, allocations: 428.3 kB / 1.271 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/1.011, allocations: 89.52 kB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.011, allocations: 1.375 kB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.011, allocations: 6.719 kB / 1.271 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/1.011, allocations: 47.77 kB / 1.271 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/1.011, allocations: 5.109 kB / 1.271 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/1.012, allocations: 59.83 kB / 1.271 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/1.012, allocations: 13.42 kB / 1.271 GB, free: 2.324 MB / 0.9981 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.0001325/1.012, allocations: 146.1 kB / 1.271 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/1.012, allocations: 18.17 kB / 1.272 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/1.013, allocations: 266.2 kB / 1.272 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.013, allocations: 5.781 kB / 1.272 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.013, allocations: 4.812 kB / 1.272 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.013, allocations: 5.156 kB / 1.272 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009628/1.014, allocations: 0.5693 MB / 1.272 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/1.014, allocations: 0.5938 kB / 1.272 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/1.014, allocations: 40.34 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.014, allocations: 1.375 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/1.014, allocations: 5.266 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.014, allocations: 0.9062 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.014, allocations: 0.5625 kB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/1.015, allocations: 339 kB / 1.273 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/1.015, allocations: 106.7 kB / 1.273 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/1.015, allocations: 9.266 kB / 1.273 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/1.015, allocations: 44.55 kB / 1.273 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.015, allocations: 45.09 kB / 1.273 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/1.015, allocations: 6.766 kB / 1.273 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001019/1.015, allocations: 146 kB / 1.273 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.015, allocations: 0 / 1.273 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003261/1.016, allocations: 55.42 kB / 1.273 GB, free: 1.262 MB / 0.9981 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.0001353/1.016, allocations: 119.1 kB / 1.273 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008817/1.017, allocations: 420.9 kB / 1.274 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.017, allocations: 0.8438 kB / 1.274 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003699/1.017, allocations: 113.9 kB / 1.274 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/1.017, allocations: 29.72 kB / 1.274 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/1.018, allocations: 386.6 kB / 1.274 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/1.018, allocations: 0.7383 MB / 1.275 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/1.019, allocations: 23.06 kB / 1.275 GB, free: 15.89 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.019, allocations: 0 / 1.275 GB, free: 15.89 MB / 1.014 GB Notification: Performance of Templates: time 0.006467/1.025, allocations: 2.897 MB / 1.278 GB, free: 15.59 MB / 1.014 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.26069283601828]