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.001843/0.001843, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.001976/0.001976, allocations: 165.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.532/1.532, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.898/2.898, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.927e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003977/0.004006, allocations: 2.107 MB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.005323, allocations: 0.5798 MB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.005427, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.005585, allocations: 31.67 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.005692, allocations: 41.44 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.005988, allocations: 91.81 kB / 0.7892 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.006378, allocations: 263.3 kB / 0.7895 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.006628, allocations: 79.64 kB / 0.7895 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.006877, allocations: 156.2 kB / 0.7897 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.00704, allocations: 93.17 kB / 0.7898 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.007102, allocations: 28 kB / 0.7898 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.007151, allocations: 24 kB / 0.7898 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.007228, allocations: 55.81 kB / 0.7899 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.007351, allocations: 81.12 kB / 0.79 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.007807, allocations: 299 kB / 0.7903 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.00781, allocations: 0 / 0.7903 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.007812, allocations: 0 / 0.7903 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.00782, allocations: 9.688 kB / 0.7903 GB, free: 8.848 MB / 0.7448 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.001427/0.009247, allocations: 0.6546 MB / 0.7909 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.00929, allocations: 12.03 kB / 0.7909 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.009403, allocations: 48.73 kB / 0.791 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.009792, allocations: 201.2 kB / 0.7911 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.009827, allocations: 22.69 kB / 0.7912 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.009879, allocations: 24.36 kB / 0.7912 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.01053, allocations: 318.7 kB / 0.7915 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01054, allocations: 192 / 0.7915 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.01058, allocations: 18.7 kB / 0.7915 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.01059, allocations: 7.984 kB / 0.7915 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.01113, allocations: 155.8 kB / 0.7917 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.01228, allocations: 0.5676 MB / 0.7922 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007106/0.01299, allocations: 184.7 kB / 0.7924 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.01324, allocations: 72.17 kB / 0.7925 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.01327, allocations: 4.531 kB / 0.7925 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004738/0.01374, allocations: 197.6 kB / 0.7927 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.01374, allocations: 1.156 kB / 0.7927 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0009516/0.0147, allocations: 292.5 kB / 0.7929 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.01479, allocations: 107.7 kB / 0.793 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.0151, allocations: 285.8 kB / 0.7933 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.01514, allocations: 38.98 kB / 0.7934 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.01533, allocations: 207.1 kB / 0.7936 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.0154, allocations: 59.62 kB / 0.7936 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.01554, allocations: 83.3 kB / 0.7937 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005139/0.01606, allocations: 0.5126 MB / 0.7942 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.01645, allocations: 182.5 kB / 0.7944 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.01693, allocations: 322.4 kB / 0.7947 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006241/0.01755, allocations: 299.6 kB / 0.795 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01755, allocations: 0 / 0.795 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009561/0.01851, allocations: 488.2 kB / 0.7954 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.513e-05/0.0186, allocations: 89.11 kB / 0.7955 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.0186, allocations: 0 / 0.7955 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.01862, allocations: 4.5 kB / 0.7955 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.01885, allocations: 57.23 kB / 0.7956 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.01886, allocations: 0 / 0.7956 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.01914, allocations: 48.91 kB / 0.7956 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.01917, allocations: 15.94 kB / 0.7956 GB, free: 2.93 MB / 0.7448 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.0002193/0.01939, allocations: 195.8 kB / 0.7958 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.01944, allocations: 23.89 kB / 0.7958 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006691/0.02011, allocations: 236.4 kB / 0.7961 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.02012, allocations: 0 / 0.7961 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.02012, allocations: 4 kB / 0.7961 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.02013, allocations: 0 / 0.7961 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009625/0.02109, allocations: 0.5382 MB / 0.7966 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.02109, allocations: 0 / 0.7966 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.02124, allocations: 27.92 kB / 0.7966 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.02124, allocations: 0 / 0.7966 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.02126, allocations: 4.922 kB / 0.7966 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.02127, allocations: 4 kB / 0.7966 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.02127, allocations: 7.922 kB / 0.7966 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.02198, allocations: 379.2 kB / 0.797 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.02201, allocations: 16.94 kB / 0.797 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.02206, allocations: 11.98 kB / 0.797 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.02233, allocations: 37.17 kB / 0.7971 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.02246, allocations: 47.88 kB / 0.7971 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.02249, allocations: 9.766 kB / 0.7971 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001811/0.02267, allocations: 194.8 kB / 0.7973 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.02267, allocations: 0 / 0.7973 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003203/0.02299, allocations: 55.95 kB / 0.7974 GB, free: 1.102 MB / 0.7448 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.0001804/0.02317, allocations: 117.4 kB / 0.7975 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000885/0.02406, allocations: 474.8 kB / 0.7979 GB, free: 468 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02406, allocations: 0 / 0.7979 GB, free: 468 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.02439, allocations: 107.6 kB / 0.798 GB, free: 356 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.02481, allocations: 50.84 kB / 0.7981 GB, free: 308 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009007/0.02571, allocations: 378.1 kB / 0.7984 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.02586, allocations: 125.2 kB / 0.7986 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.902e-05/0.02596, allocations: 17.64 kB / 0.7986 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.02607, allocations: 24.5 kB / 0.7986 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of SimCode: time 7.91e-07/0.02607, allocations: 4 kB / 0.7986 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of Templates: time 0.008721/0.03479, allocations: 3.433 MB / 0.8019 GB, free: 12.36 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] 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/jenkins/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: 7.997447301051579]