Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001189/0.001189, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001872/0.003061, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001245/0.001245, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001797/0.003041, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9276/0.9276, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08087/1.009, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.399/2.399, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2788/2.678, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.512e-05, allocations: 9.125 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004227/0.004252, allocations: 2.294 MB / 0.8212 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002589/0.00684, allocations: 1.43 MB / 0.8226 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.007094, allocations: 7.938 kB / 0.8226 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.007539, allocations: 163.2 kB / 0.8227 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.008088, allocations: 234.7 kB / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.00858, allocations: 195.4 kB / 0.8231 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005861/0.009166, allocations: 422.8 kB / 0.8235 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.009359, allocations: 63.52 kB / 0.8236 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.01046, allocations: 392 kB / 0.824 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.01074, allocations: 147.6 kB / 0.8241 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.01079, allocations: 24 kB / 0.8241 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.01099, allocations: 79.84 kB / 0.8242 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.01112, allocations: 103.6 kB / 0.8243 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/0.01122, allocations: 71.75 kB / 0.8244 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.01174, allocations: 306.8 kB / 0.8247 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.01175, allocations: 0 / 0.8247 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.673e-06/0.01176, allocations: 0 / 0.8247 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.097e-05/0.01178, allocations: 0 / 0.8247 GB, free: 12.64 MB / 0.8073 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.001025/0.0128, allocations: 0.685 MB / 0.8253 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.01284, allocations: 16.02 kB / 0.8254 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.01293, allocations: 36.91 kB / 0.8254 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.01336, allocations: 295.8 kB / 0.8257 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.01339, allocations: 20.31 kB / 0.8257 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.01342, allocations: 12.38 kB / 0.8257 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.01369, allocations: 177.9 kB / 0.8259 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.0137, allocations: 7.938 kB / 0.8259 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.01371, allocations: 4 kB / 0.8259 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.01372, allocations: 4 kB / 0.8259 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.01381, allocations: 41.56 kB / 0.8259 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.01454, allocations: 0.4928 MB / 0.8264 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.01473, allocations: 170.6 kB / 0.8266 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.01478, allocations: 29.8 kB / 0.8266 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.01479, allocations: 3.938 kB / 0.8266 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.01496, allocations: 107.8 kB / 0.8267 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 2.103e-06/0.01496, allocations: 112 / 0.8267 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0002352/0.0152, allocations: 123.1 kB / 0.8268 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.01524, allocations: 81.09 kB / 0.8269 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.01563, allocations: 406 kB / 0.8273 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.01566, allocations: 33.7 kB / 0.8273 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01576, allocations: 153.5 kB / 0.8275 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.0158, allocations: 47.7 kB / 0.8275 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.817e-05/0.0159, allocations: 69.61 kB / 0.8276 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.01602, allocations: 358.7 kB / 0.8279 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-05/0.01609, allocations: 30.81 kB / 0.8279 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.01621, allocations: 159 kB / 0.8281 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.01638, allocations: 135.4 kB / 0.8282 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01639, allocations: 0 / 0.8282 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002579/0.01664, allocations: 171.1 kB / 0.8284 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01666, allocations: 4 kB / 0.8284 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01667, allocations: 3.938 kB / 0.8284 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01669, allocations: 4 kB / 0.8284 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.01688, allocations: 56 kB / 0.8285 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.01688, allocations: 4 kB / 0.8285 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.01702, allocations: 36.36 kB / 0.8285 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.01705, allocations: 8 kB / 0.8285 GB, free: 8.426 MB / 0.8073 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,tanSta.gre.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.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.0001219/0.01717, allocations: 130.7 kB / 0.8286 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.01721, allocations: 31.95 kB / 0.8287 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.01743, allocations: 117 kB / 0.8288 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01743, allocations: 4 kB / 0.8288 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01744, allocations: 8 kB / 0.8288 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01744, allocations: 0 / 0.8288 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.01764, allocations: 161.7 kB / 0.8289 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01764, allocations: 0 / 0.8289 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.01769, allocations: 19.92 kB / 0.829 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.01774, allocations: 39.7 kB / 0.829 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01774, allocations: 0 / 0.829 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.01776, allocations: 7.984 kB / 0.829 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01776, allocations: 3.938 kB / 0.829 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01776, allocations: 0 / 0.829 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.01793, allocations: 134.9 kB / 0.8291 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.01797, allocations: 15.98 kB / 0.8291 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.01805, allocations: 4 kB / 0.8291 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.01811, allocations: 27.89 kB / 0.8292 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.01812, allocations: 7.984 kB / 0.8292 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002093/0.01833, allocations: 160.7 kB / 0.8293 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.2e-07/0.01833, allocations: 0 / 0.8293 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003387/0.01867, allocations: 67.89 kB / 0.8294 GB, free: 7.441 MB / 0.8073 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.00181/0.02048, allocations: 0.5745 MB / 0.83 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.02073, allocations: 109.3 kB / 0.8301 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.02075, allocations: 4 kB / 0.8301 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.02084, allocations: 52.7 kB / 0.8301 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.02143, allocations: 0.5757 MB / 0.8307 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.02357, allocations: 0.5611 MB / 0.8312 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.02366, allocations: 116.5 kB / 0.8313 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.0238, allocations: 51.42 kB / 0.8314 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.02401, allocations: 115.3 kB / 0.8315 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of SimCode: time 1.322e-06/0.02401, allocations: 0 / 0.8315 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of Templates: time 0.01081/0.03482, allocations: 5.588 MB / 0.837 GB, free: 15.93 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2952532060444355]