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.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.001836/0.001836, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002168/0.002168, allocations: 164.3 kB / 23.01 MB, free: 4.598 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.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.654/2.654, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002207/0.002207, allocations: 67.89 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3104, allocations: 169.9 MB / 1.117 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004237/0.3147, allocations: 2.062 MB / 1.119 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3162, allocations: 0.565 MB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.3164, allocations: 3.938 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.3166, allocations: 31.72 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.3167, allocations: 39.59 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.3171, allocations: 87.89 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.3176, allocations: 259.4 kB / 1.12 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.3179, allocations: 83.59 kB / 1.121 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.3182, allocations: 111.7 kB / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.3184, allocations: 111.4 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.3185, allocations: 27.94 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.908e-05/0.3185, allocations: 31.94 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/0.3186, allocations: 55.83 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3188, allocations: 95.56 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.3192, allocations: 270.9 kB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.3193, allocations: 7.938 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3193, allocations: 4 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.3193, allocations: 0 / 1.121 GB, free: 14.73 MB / 1.076 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.001454/0.3207, allocations: 0.5733 MB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3208, allocations: 12.03 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.437e-05/0.3208, allocations: 24.8 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.3213, allocations: 194.7 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.3213, allocations: 16.75 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.3213, allocations: 28.36 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.322, allocations: 321.5 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.322, allocations: 0 / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.3221, allocations: 4 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3221, allocations: 7.938 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006972/0.3228, allocations: 199.8 kB / 1.123 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3239, allocations: 0.4957 MB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008528/0.3247, allocations: 210.5 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.3251, allocations: 88.78 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3251, allocations: 0 / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/0.3256, allocations: 193.9 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.3256, allocations: 0 / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.001108/0.3267, allocations: 329.2 kB / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.3268, allocations: 114.7 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.327, allocations: 209.2 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.327, allocations: 41.7 kB / 1.124 GB, free: 11.51 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3271, allocations: 152.4 kB / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.3272, allocations: 55.62 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3273, allocations: 61.69 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3274, allocations: 334.8 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.3279, allocations: 193.3 kB / 1.125 GB, free: 10.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.3284, allocations: 319.6 kB / 1.125 GB, free: 10.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.3291, allocations: 306.9 kB / 1.126 GB, free: 9.984 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3291, allocations: 4 kB / 1.126 GB, free: 9.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001011/0.3301, allocations: 0.4976 MB / 1.126 GB, free: 9.441 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.3302, allocations: 93.09 kB / 1.126 GB, free: 9.332 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3302, allocations: 4 kB / 1.126 GB, free: 9.328 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3302, allocations: 3.938 kB / 1.126 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.3304, allocations: 55.98 kB / 1.126 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3304, allocations: 3.984 kB / 1.126 GB, free: 9.266 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.3308, allocations: 63.77 kB / 1.126 GB, free: 9.203 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.3308, allocations: 12 kB / 1.126 GB, free: 9.191 MB / 1.076 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.0001584/0.331, allocations: 147.8 kB / 1.126 GB, free: 9.039 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.331, allocations: 27.84 kB / 1.126 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007837/0.3318, allocations: 253.9 kB / 1.127 GB, free: 8.758 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.3318, allocations: 7.938 kB / 1.127 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3318, allocations: 4 kB / 1.127 GB, free: 8.746 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3318, allocations: 0 / 1.127 GB, free: 8.746 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.3328, allocations: 0.494 MB / 1.127 GB, free: 8.215 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3328, allocations: 0 / 1.127 GB, free: 8.215 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.3329, allocations: 31.95 kB / 1.127 GB, free: 8.184 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3329, allocations: 0 / 1.127 GB, free: 8.184 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.333, allocations: 3.938 kB / 1.127 GB, free: 8.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.333, allocations: 7.938 kB / 1.127 GB, free: 8.172 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.333, allocations: 4 kB / 1.127 GB, free: 8.168 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/0.3338, allocations: 347.2 kB / 1.128 GB, free: 7.812 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.3338, allocations: 19.84 kB / 1.128 GB, free: 7.793 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.3338, allocations: 11.94 kB / 1.128 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.3341, allocations: 43.94 kB / 1.128 GB, free: 7.738 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3343, allocations: 43.92 kB / 1.128 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3343, allocations: 4 kB / 1.128 GB, free: 7.691 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001405/0.3344, allocations: 151.2 kB / 1.128 GB, free: 7.543 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3344, allocations: 0 / 1.128 GB, free: 7.543 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000327/0.3348, allocations: 55.89 kB / 1.128 GB, free: 7.488 MB / 1.076 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.0001518/0.3349, allocations: 117 kB / 1.128 GB, free: 7.367 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009959/0.3359, allocations: 488.9 kB / 1.128 GB, free: 6.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3359, allocations: 0 / 1.128 GB, free: 6.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.3363, allocations: 116.1 kB / 1.129 GB, free: 6.727 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3367, allocations: 34.02 kB / 1.129 GB, free: 6.695 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008854/0.3376, allocations: 363.8 kB / 1.129 GB, free: 6.309 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3377, allocations: 133.2 kB / 1.129 GB, free: 6.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.814e-05/0.3378, allocations: 17.64 kB / 1.129 GB, free: 6.145 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.3379, allocations: 24.48 kB / 1.129 GB, free: 6.121 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.3379, allocations: 0 / 1.129 GB, free: 6.121 MB / 1.076 GB Notification: Performance of Templates: time 0.007932/0.3459, allocations: 3.412 MB / 1.132 GB, free: 2.766 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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 [Calling sys.exit(0), Time elapsed: 8.344324312056415]