Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001586/0.001586, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001828/0.001828, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.459/1.459, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.207/3.207, allocations: 497.2 MB / 0.7845 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 61.81 kB / 1.139 GB, free: 33.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3173, allocations: 173.9 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003768/0.3211, allocations: 2.108 MB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3222, allocations: 0.5766 MB / 1.312 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3223, allocations: 3.938 kB / 1.312 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.3225, allocations: 23.73 kB / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.94e-05/0.3226, allocations: 35.66 kB / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.3229, allocations: 87.81 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.3232, allocations: 263.4 kB / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.3234, allocations: 90.88 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.3236, allocations: 111.5 kB / 1.313 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.3238, allocations: 123.5 kB / 1.313 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.3238, allocations: 28 kB / 1.313 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.858e-05/0.3238, allocations: 27.94 kB / 1.313 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.3239, allocations: 55.83 kB / 1.313 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.324, allocations: 119.4 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.3244, allocations: 270.9 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3244, allocations: 4 kB / 1.313 GB, free: 12.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3244, allocations: 0 / 1.313 GB, free: 12.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3244, allocations: 0 / 1.313 GB, free: 12.01 MB / 1.014 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.001282/0.3257, allocations: 0.6447 MB / 1.314 GB, free: 11.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3257, allocations: 12.62 kB / 1.314 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.3258, allocations: 24.8 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.3262, allocations: 260.5 kB / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.3262, allocations: 24.73 kB / 1.314 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.3263, allocations: 20.38 kB / 1.314 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.3269, allocations: 266.6 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3269, allocations: 0 / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.3269, allocations: 4 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.327, allocations: 4 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.3277, allocations: 203.8 kB / 1.315 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.329, allocations: 0.617 MB / 1.315 GB, free: 9.777 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/0.3299, allocations: 226.4 kB / 1.315 GB, free: 9.547 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.3302, allocations: 84.78 kB / 1.315 GB, free: 9.461 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3302, allocations: 0 / 1.315 GB, free: 9.461 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005264/0.3307, allocations: 196.7 kB / 1.316 GB, free: 9.258 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/0.3307, allocations: 0 / 1.316 GB, free: 9.258 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001261/0.332, allocations: 330.7 kB / 1.316 GB, free: 8.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.3321, allocations: 110.8 kB / 1.316 GB, free: 8.797 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3323, allocations: 212.4 kB / 1.316 GB, free: 8.578 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.3324, allocations: 37.69 kB / 1.316 GB, free: 8.535 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3325, allocations: 152.4 kB / 1.316 GB, free: 8.383 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.3325, allocations: 51.62 kB / 1.316 GB, free: 8.332 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3326, allocations: 61.69 kB / 1.317 GB, free: 8.266 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3328, allocations: 330.8 kB / 1.317 GB, free: 7.934 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.3332, allocations: 112.2 kB / 1.317 GB, free: 7.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.3337, allocations: 175.3 kB / 1.317 GB, free: 7.625 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007777/0.3344, allocations: 312.5 kB / 1.317 GB, free: 7.285 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.3344, allocations: 4 kB / 1.317 GB, free: 7.281 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001025/0.3355, allocations: 415.8 kB / 1.318 GB, free: 6.852 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.068e-05/0.3355, allocations: 93.09 kB / 1.318 GB, free: 6.742 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3355, allocations: 4 kB / 1.318 GB, free: 6.738 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3356, allocations: 7.875 kB / 1.318 GB, free: 6.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.3358, allocations: 47.89 kB / 1.318 GB, free: 6.684 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3358, allocations: 0 / 1.318 GB, free: 6.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.3362, allocations: 59.92 kB / 1.318 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.3362, allocations: 19.98 kB / 1.318 GB, free: 6.605 MB / 1.014 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.0001734/0.3364, allocations: 144 kB / 1.318 GB, free: 6.453 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.3364, allocations: 15.91 kB / 1.318 GB, free: 6.438 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008455/0.3373, allocations: 255.4 kB / 1.318 GB, free: 6.184 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3373, allocations: 3.938 kB / 1.318 GB, free: 6.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3373, allocations: 0 / 1.318 GB, free: 6.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3373, allocations: 7.938 kB / 1.318 GB, free: 6.172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.3384, allocations: 0.5821 MB / 1.319 GB, free: 5.535 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3384, allocations: 0 / 1.319 GB, free: 5.535 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.3386, allocations: 35.89 kB / 1.319 GB, free: 5.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3386, allocations: 0 / 1.319 GB, free: 5.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.3387, allocations: 8 kB / 1.319 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3387, allocations: 0 / 1.319 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3387, allocations: 3.984 kB / 1.319 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.3395, allocations: 341.3 kB / 1.319 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.3396, allocations: 104.9 kB / 1.319 GB, free: 5.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.3396, allocations: 4 kB / 1.32 GB, free: 5.016 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.34, allocations: 47.94 kB / 1.32 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.3401, allocations: 47.94 kB / 1.32 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3401, allocations: 4 kB / 1.32 GB, free: 4.918 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001502/0.3403, allocations: 139.2 kB / 1.32 GB, free: 4.781 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3403, allocations: 0 / 1.32 GB, free: 4.781 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003307/0.3406, allocations: 55.89 kB / 1.32 GB, free: 4.727 MB / 1.014 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.0001892/0.3408, allocations: 119.2 kB / 1.32 GB, free: 4.602 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009956/0.3418, allocations: 398 kB / 1.32 GB, free: 4.176 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3418, allocations: 320 / 1.32 GB, free: 4.176 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.3422, allocations: 111.8 kB / 1.32 GB, free: 4.066 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.3426, allocations: 39.89 kB / 1.32 GB, free: 4.027 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.3435, allocations: 371.7 kB / 1.321 GB, free: 3.637 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.3439, allocations: 0.7398 MB / 1.321 GB, free: 2.871 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.136e-05/0.344, allocations: 17.55 kB / 1.322 GB, free: 2.852 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.3441, allocations: 27.42 kB / 1.322 GB, free: 2.824 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.3441, allocations: 0 / 1.322 GB, free: 2.824 MB / 1.014 GB Notification: Performance of Templates: time 0.007577/0.3517, allocations: 3.226 MB / 1.325 GB, free: 15.65 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.733781084883958]