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.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.001645/0.001645, allocations: 113.5 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001732/0.001732, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.905/2.905, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 63.89 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.103, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002977/1.106, allocations: 2.182 MB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009474/1.107, allocations: 0.623 MB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/1.107, allocations: 6.75 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/1.107, allocations: 25.58 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.615e-05/1.107, allocations: 48.91 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/1.107, allocations: 87.36 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00026/1.108, allocations: 298.1 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/1.108, allocations: 106.7 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/1.108, allocations: 126.3 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/1.108, allocations: 138.6 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/1.108, allocations: 31.22 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.354e-05/1.108, allocations: 30.72 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/1.108, allocations: 61.92 kB / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.777e-05/1.108, allocations: 136 kB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/1.109, allocations: 316.2 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/1.109, allocations: 0 / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/1.109, allocations: 0 / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.452e-06/1.109, allocations: 0 / 1.326 GB, free: 22.36 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001076/1.11, allocations: 0.6857 MB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/1.11, allocations: 8.125 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/1.11, allocations: 33.28 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/1.11, allocations: 264.7 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/1.11, allocations: 22.97 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/1.11, allocations: 32.5 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/1.111, allocations: 291.9 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.111, allocations: 3.703 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/1.111, allocations: 10.47 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/1.111, allocations: 4.906 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/1.112, allocations: 211.9 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/1.113, allocations: 0.6734 MB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/1.114, allocations: 201.8 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/1.114, allocations: 84.5 kB / 1.329 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/1.114, allocations: 2.25 kB / 1.329 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005695/1.114, allocations: 202.6 kB / 1.329 GB, free: 20.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 2.505e-06/1.114, allocations: 0.8438 kB / 1.329 GB, free: 20.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.001257/1.116, allocations: 348.7 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/1.116, allocations: 143.2 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/1.116, allocations: 219 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/1.116, allocations: 40.22 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/1.116, allocations: 164.2 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/1.116, allocations: 53.17 kB / 1.33 GB, free: 20.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/1.116, allocations: 70.09 kB / 1.33 GB, free: 20.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.819e-05/1.116, allocations: 331.2 kB / 1.33 GB, free: 19.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/1.117, allocations: 123.2 kB / 1.33 GB, free: 19.67 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/1.117, allocations: 187.6 kB / 1.33 GB, free: 19.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/1.118, allocations: 318 kB / 1.331 GB, free: 19.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.118, allocations: 0.875 kB / 1.331 GB, free: 19.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009842/1.119, allocations: 440.8 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/1.119, allocations: 93.06 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.119, allocations: 1.406 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.119, allocations: 3.094 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/1.119, allocations: 48.62 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.119, allocations: 3.594 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/1.12, allocations: 73.5 kB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/1.12, allocations: 13.78 kB / 1.331 GB, free: 19 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: 28 (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,antFre.errAndSetOn.y,antFre.ySetOn.y,$PRE.antFre.ySetOn.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 0.0001419/1.12, allocations: 157.7 kB / 1.331 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/1.12, allocations: 26.77 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008412/1.121, allocations: 280.4 kB / 1.332 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/1.121, allocations: 1.625 kB / 1.332 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.121, allocations: 0.5312 kB / 1.332 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.121, allocations: 2.266 kB / 1.332 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/1.122, allocations: 0.634 MB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.122, allocations: 0 / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/1.122, allocations: 32.66 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/1.122, allocations: 1.062 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/1.122, allocations: 9.219 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.122, allocations: 1.219 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.122, allocations: 0.5625 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007905/1.123, allocations: 362.6 kB / 1.333 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/1.123, allocations: 99.72 kB / 1.333 GB, free: 18.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/1.123, allocations: 12.02 kB / 1.333 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/1.123, allocations: 54.91 kB / 1.333 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.123, allocations: 47.61 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/1.124, allocations: 7.359 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001293/1.124, allocations: 155 kB / 1.333 GB, free: 17.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.124, allocations: 0 / 1.333 GB, free: 17.9 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003667/1.124, allocations: 61.5 kB / 1.333 GB, free: 17.89 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: 15 (antFre.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.ySetOn.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,antFre.ySetOn.y,hys.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 0.0001633/1.124, allocations: 118.8 kB / 1.333 GB, free: 17.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009635/1.125, allocations: 420.3 kB / 1.334 GB, free: 17.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.125, allocations: 4.062 kB / 1.334 GB, free: 17.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/1.126, allocations: 114.7 kB / 1.334 GB, free: 17.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/1.126, allocations: 40.66 kB / 1.334 GB, free: 17.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/1.127, allocations: 426.7 kB / 1.334 GB, free: 17.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/1.127, allocations: 0.7436 MB / 1.335 GB, free: 16.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.127, allocations: 33.48 kB / 1.335 GB, free: 16.49 MB / 1.061 GB Notification: Performance of SimCode: time 1.052e-06/1.127, allocations: 0 / 1.335 GB, free: 16.49 MB / 1.061 GB Notification: Performance of Templates: time 0.006856/1.134, allocations: 3.208 MB / 1.338 GB, free: 16.16 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/jenkins1/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: 11.77511839500221]