Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.002578/0.002578, allocations: 87.67 kB / 20.24 MB, free: 4.168 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.003046/0.003046, allocations: 161.8 kB / 23.55 MB, free: 0.8594 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.599/1.599, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3/3, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.216e-05, allocations: 3.297 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004942/0.004975, allocations: 2.231 MB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.008181, allocations: 1.379 MB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.008497, allocations: 7.938 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.009107, allocations: 173.1 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007766/0.009883, allocations: 233.3 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.01047, allocations: 183.5 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007858/0.01125, allocations: 438.8 kB / 0.8153 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.01151, allocations: 65.48 kB / 0.8154 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/0.01205, allocations: 235.3 kB / 0.8156 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.01242, allocations: 167.5 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.265e-05/0.0125, allocations: 29.53 kB / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.01274, allocations: 75.92 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.01293, allocations: 119.6 kB / 0.816 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.01309, allocations: 95.64 kB / 0.8161 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008414/0.01394, allocations: 0.4958 MB / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01394, allocations: 0 / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.243e-06/0.01394, allocations: 0 / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.01395, allocations: 0 / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001398/0.01535, allocations: 0.7917 MB / 0.8173 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.01539, allocations: 12.03 kB / 0.8173 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.01552, allocations: 57.77 kB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/0.01618, allocations: 338.8 kB / 0.8177 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.01621, allocations: 12.91 kB / 0.8177 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.01624, allocations: 16.89 kB / 0.8177 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.01663, allocations: 202.7 kB / 0.8179 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01664, allocations: 4.844 kB / 0.8179 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.01667, allocations: 8 kB / 0.8179 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.01667, allocations: 0.7812 kB / 0.818 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.01688, allocations: 79.84 kB / 0.818 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.01831, allocations: 0.8739 MB / 0.8189 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.01866, allocations: 142.4 kB / 0.819 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.01877, allocations: 44.52 kB / 0.8191 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.0188, allocations: 4.844 kB / 0.8191 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.01911, allocations: 156.1 kB / 0.8192 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.01911, allocations: 0.5312 kB / 0.8192 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0005958/0.0197, allocations: 205.3 kB / 0.8194 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.01979, allocations: 107.6 kB / 0.8195 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000797/0.02059, allocations: 0.5924 MB / 0.8201 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.02063, allocations: 30.86 kB / 0.8201 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.02091, allocations: 295.2 kB / 0.8204 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.02097, allocations: 39.73 kB / 0.8204 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.02113, allocations: 92.19 kB / 0.8205 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003601/0.02149, allocations: 0.5587 MB / 0.8211 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.02167, allocations: 77.23 kB / 0.8211 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.02199, allocations: 240.2 kB / 0.8214 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.02234, allocations: 181.1 kB / 0.8215 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02234, allocations: 0.875 kB / 0.8215 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005976/0.02294, allocations: 309.3 kB / 0.8218 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.02297, allocations: 4.109 kB / 0.8218 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.02298, allocations: 7.938 kB / 0.8219 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.02299, allocations: 0 / 0.8219 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.0232, allocations: 45.02 kB / 0.8219 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.02322, allocations: 7.938 kB / 0.8219 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.02342, allocations: 39.11 kB / 0.8219 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.02346, allocations: 16 kB / 0.822 GB, free: 6.34 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0002101/0.02367, allocations: 194.5 kB / 0.8221 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.02376, allocations: 55.64 kB / 0.8222 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.02419, allocations: 189 kB / 0.8224 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.0242, allocations: 0 / 0.8224 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.0242, allocations: 0 / 0.8224 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.0242, allocations: 4.5 kB / 0.8224 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.02463, allocations: 334.3 kB / 0.8227 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.02464, allocations: 0 / 0.8227 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.02469, allocations: 12 kB / 0.8227 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.0247, allocations: 3.938 kB / 0.8227 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.02471, allocations: 8 kB / 0.8227 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.02472, allocations: 4.891 kB / 0.8227 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02472, allocations: 0 / 0.8227 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.02515, allocations: 235.8 kB / 0.823 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.02525, allocations: 44.36 kB / 0.823 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.0253, allocations: 11.94 kB / 0.823 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.02542, allocations: 14.36 kB / 0.823 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.02551, allocations: 23.95 kB / 0.823 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.02553, allocations: 12 kB / 0.8231 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004389/0.02597, allocations: 351 kB / 0.8234 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02597, allocations: 0 / 0.8234 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003368/0.0263, allocations: 78.91 kB / 0.8235 GB, free: 4.734 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002968/0.02927, allocations: 446.1 kB / 0.8239 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004927/0.02976, allocations: 183.1 kB / 0.8241 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.02977, allocations: 0 / 0.8241 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.02994, allocations: 64.69 kB / 0.8241 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.03052, allocations: 116.9 kB / 0.8242 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.03173, allocations: 0.5724 MB / 0.8248 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.03198, allocations: 201.5 kB / 0.825 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.03214, allocations: 50.94 kB / 0.825 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.03225, allocations: 36.48 kB / 0.8251 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of SimCode: time 1.222e-06/0.03225, allocations: 0 / 0.8251 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.01197/0.04422, allocations: 5.079 MB / 0.83 GB, free: 14.25 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.342510625021532]