Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001788/0.001788, allocations: 106 kB / 18.84 MB, free: 3.023 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.002221/0.002221, allocations: 192 kB / 22.1 MB, free: 4.223 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.504/1.504, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.059/3.059, allocations: 495.8 MB / 0.783 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.89 kB / 1.137 GB, free: 12.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.155, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003252/1.158, allocations: 2.107 MB / 1.309 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009655/1.159, allocations: 0.5735 MB / 1.309 GB, free: 31.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/1.159, allocations: 3.938 kB / 1.309 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/1.159, allocations: 24.81 kB / 1.309 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/1.159, allocations: 37.38 kB / 1.309 GB, free: 31.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/1.16, allocations: 94.14 kB / 1.31 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000286/1.16, allocations: 266 kB / 1.31 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/1.16, allocations: 96.23 kB / 1.31 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/1.16, allocations: 105.6 kB / 1.31 GB, free: 31.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/1.16, allocations: 119.5 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/1.16, allocations: 29.88 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.325e-05/1.161, allocations: 25.47 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/1.161, allocations: 58.62 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/1.161, allocations: 115.6 kB / 1.31 GB, free: 31.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/1.161, allocations: 277.4 kB / 1.311 GB, free: 31.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.161, allocations: 0 / 1.311 GB, free: 31.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.995e-06/1.161, allocations: 0 / 1.311 GB, free: 31.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.019e-05/1.161, allocations: 0 / 1.311 GB, free: 31.26 MB / 1.061 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.001178/1.162, allocations: 0.5719 MB / 1.311 GB, free: 30.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.162, allocations: 8.531 kB / 1.311 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/1.162, allocations: 32.88 kB / 1.311 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/1.163, allocations: 203.6 kB / 1.311 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/1.163, allocations: 26.77 kB / 1.311 GB, free: 30.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/1.163, allocations: 18.72 kB / 1.311 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/1.163, allocations: 276.2 kB / 1.312 GB, free: 30.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.163, allocations: 0 / 1.312 GB, free: 30.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/1.163, allocations: 10.78 kB / 1.312 GB, free: 30.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.163, allocations: 2.469 kB / 1.312 GB, free: 30.44 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/1.164, allocations: 194.3 kB / 1.312 GB, free: 30.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/1.166, allocations: 0.5796 MB / 1.312 GB, free: 30.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/1.166, allocations: 218.1 kB / 1.313 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/1.167, allocations: 78.78 kB / 1.313 GB, free: 29.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/1.167, allocations: 2.594 kB / 1.313 GB, free: 29.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004709/1.167, allocations: 195 kB / 1.313 GB, free: 29.85 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/1.167, allocations: 0 / 1.313 GB, free: 29.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001088/1.168, allocations: 328.3 kB / 1.313 GB, free: 29.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/1.168, allocations: 112.1 kB / 1.313 GB, free: 29.63 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/1.169, allocations: 199.1 kB / 1.314 GB, free: 29.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/1.169, allocations: 35.45 kB / 1.314 GB, free: 29.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/1.169, allocations: 162.1 kB / 1.314 GB, free: 29.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/1.169, allocations: 47.89 kB / 1.314 GB, free: 29.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/1.169, allocations: 63.77 kB / 1.314 GB, free: 29.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.946e-05/1.169, allocations: 335.1 kB / 1.314 GB, free: 28.92 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/1.169, allocations: 105.8 kB / 1.314 GB, free: 28.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/1.17, allocations: 174.8 kB / 1.314 GB, free: 28.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/1.17, allocations: 302.1 kB / 1.315 GB, free: 28.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.17, allocations: 2.75 kB / 1.315 GB, free: 28.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008887/1.171, allocations: 429.2 kB / 1.315 GB, free: 28.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/1.171, allocations: 93.03 kB / 1.315 GB, free: 28.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/1.171, allocations: 0 / 1.315 GB, free: 28.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.171, allocations: 6.656 kB / 1.315 GB, free: 28.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/1.171, allocations: 44.95 kB / 1.315 GB, free: 28.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.171, allocations: 6.719 kB / 1.315 GB, free: 28.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/1.172, allocations: 70.81 kB / 1.315 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/1.172, allocations: 13.06 kB / 1.315 GB, free: 28.24 MB / 1.061 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.0001305/1.172, allocations: 149.2 kB / 1.316 GB, free: 28.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/1.172, allocations: 16.44 kB / 1.316 GB, free: 28.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007444/1.173, allocations: 266.1 kB / 1.316 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.173, allocations: 6.562 kB / 1.316 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.173, allocations: 0 / 1.316 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.173, allocations: 3.328 kB / 1.316 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/1.174, allocations: 0.5522 MB / 1.316 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.174, allocations: 2.625 kB / 1.316 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/1.174, allocations: 36.42 kB / 1.316 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/1.174, allocations: 0 / 1.316 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/1.174, allocations: 6.047 kB / 1.316 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.174, allocations: 0 / 1.316 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.174, allocations: 3.984 kB / 1.316 GB, free: 27.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007291/1.175, allocations: 348.1 kB / 1.317 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/1.175, allocations: 25.3 kB / 1.317 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/1.175, allocations: 9.969 kB / 1.317 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/1.175, allocations: 39.45 kB / 1.317 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.175, allocations: 48.69 kB / 1.317 GB, free: 27.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/1.175, allocations: 10 kB / 1.317 GB, free: 27.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.696e-05/1.175, allocations: 141.9 kB / 1.317 GB, free: 27.31 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.175, allocations: 0 / 1.317 GB, free: 27.31 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003073/1.176, allocations: 58.58 kB / 1.317 GB, free: 27.3 MB / 1.061 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.0001316/1.176, allocations: 118.1 kB / 1.317 GB, free: 27.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008461/1.177, allocations: 399.8 kB / 1.318 GB, free: 26.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.177, allocations: 320 / 1.318 GB, free: 26.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/1.177, allocations: 113.8 kB / 1.318 GB, free: 26.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/1.177, allocations: 29.91 kB / 1.318 GB, free: 26.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008244/1.178, allocations: 373.3 kB / 1.318 GB, free: 26.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/1.178, allocations: 0.7338 MB / 1.319 GB, free: 25.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.923e-05/1.178, allocations: 25.12 kB / 1.319 GB, free: 25.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/1.178, allocations: 25.53 kB / 1.319 GB, free: 25.96 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/1.178, allocations: 0 / 1.319 GB, free: 25.96 MB / 1.061 GB Notification: Performance of Templates: time 0.00692/1.185, allocations: 3.294 MB / 1.322 GB, free: 25.7 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.986877047456801]