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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002303/0.002303, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 249.9 MB, free: 13.47 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.713/2.713, allocations: 476.7 MB / 0.7634 GB, free: 10.99 MB / 0.6231 GB [Timeout remaining time 87] 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.001931/0.001931, allocations: 67.89 kB / 1.108 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8911, allocations: 168.7 MB / 1.272 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004263/0.8954, allocations: 2.098 MB / 1.274 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.8965, allocations: 0.565 MB / 1.275 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.8966, allocations: 3.938 kB / 1.275 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.8967, allocations: 23.73 kB / 1.275 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.8968, allocations: 43.59 kB / 1.275 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.8971, allocations: 87.89 kB / 1.275 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000362/0.8975, allocations: 267.3 kB / 1.275 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.8978, allocations: 97.47 kB / 1.276 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.8979, allocations: 103.7 kB / 1.276 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.8981, allocations: 123.5 kB / 1.276 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.969e-05/0.8981, allocations: 28 kB / 1.276 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.443e-05/0.8982, allocations: 24 kB / 1.276 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.8983, allocations: 59.77 kB / 1.276 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.8984, allocations: 119.4 kB / 1.276 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.8988, allocations: 266.7 kB / 1.276 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8988, allocations: 0 / 1.276 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8988, allocations: 0 / 1.276 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8988, allocations: 0 / 1.276 GB, free: 0.8281 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.001227/0.9, allocations: 0.6485 MB / 1.277 GB, free: 112 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.9, allocations: 8.031 kB / 1.277 GB, free: 104 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.9001, allocations: 32.75 kB / 1.277 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.9005, allocations: 257 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.9005, allocations: 24.73 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.9006, allocations: 16.38 kB / 1.277 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/0.9012, allocations: 274.3 kB / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.9012, allocations: 0 / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.9013, allocations: 8 kB / 1.277 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.9013, allocations: 7.938 kB / 1.277 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.902, allocations: 203.8 kB / 1.278 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.9032, allocations: 0.6093 MB / 1.278 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.9041, allocations: 218.4 kB / 1.278 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.9044, allocations: 88.78 kB / 1.279 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.9044, allocations: 0 / 1.279 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004841/0.9049, allocations: 183.2 kB / 1.279 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.9049, allocations: 0 / 1.279 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.00115/0.906, allocations: 331.2 kB / 1.279 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.9061, allocations: 114.8 kB / 1.279 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.9064, allocations: 200.3 kB / 1.279 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.9064, allocations: 45.69 kB / 1.279 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.9065, allocations: 156.4 kB / 1.28 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.9066, allocations: 51.62 kB / 1.28 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.9067, allocations: 61.69 kB / 1.28 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.9069, allocations: 326.8 kB / 1.28 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.9073, allocations: 108.2 kB / 1.28 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.9077, allocations: 183.7 kB / 1.28 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.9084, allocations: 300.4 kB / 1.281 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9084, allocations: 4 kB / 1.281 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009477/0.9093, allocations: 421.1 kB / 1.281 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.871e-05/0.9094, allocations: 97.03 kB / 1.281 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9094, allocations: 0 / 1.281 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.9094, allocations: 12.09 kB / 1.281 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.9096, allocations: 43.89 kB / 1.281 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.9097, allocations: 4 kB / 1.281 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.91, allocations: 59.73 kB / 1.281 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.91, allocations: 15.98 kB / 1.281 GB, free: 11.43 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.0001711/0.9102, allocations: 152 kB / 1.281 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.9102, allocations: 15.91 kB / 1.281 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007483/0.9109, allocations: 257.5 kB / 1.282 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.9109, allocations: 3.938 kB / 1.282 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-06/0.9109, allocations: 8 kB / 1.282 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.911, allocations: 0 / 1.282 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.912, allocations: 0.5763 MB / 1.282 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.912, allocations: 0 / 1.282 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.9122, allocations: 39.89 kB / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.9122, allocations: 0 / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.9122, allocations: 4 kB / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.9122, allocations: 4 kB / 1.282 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.9122, allocations: 7.922 kB / 1.282 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007213/0.9129, allocations: 341 kB / 1.283 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.913, allocations: 104.8 kB / 1.283 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.913, allocations: 8 kB / 1.283 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.9133, allocations: 43.94 kB / 1.283 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.9135, allocations: 43.94 kB / 1.283 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.9135, allocations: 8 kB / 1.283 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001338/0.9136, allocations: 144.2 kB / 1.283 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9136, allocations: 0 / 1.283 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003154/0.9139, allocations: 59.89 kB / 1.283 GB, free: 9.535 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.0002213/0.9142, allocations: 123.1 kB / 1.283 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009727/0.9151, allocations: 400.4 kB / 1.283 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9151, allocations: 0 / 1.283 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.9155, allocations: 103.9 kB / 1.283 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.9159, allocations: 36.28 kB / 1.284 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008953/0.9168, allocations: 395.1 kB / 1.284 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.9172, allocations: 0.7398 MB / 1.285 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/0.9172, allocations: 31.36 kB / 1.285 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.9172, allocations: 0 / 1.285 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of Templates: time 0.005523/0.9228, allocations: 2.879 MB / 1.287 GB, free: 4.75 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 -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/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