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.001932/0.001932, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002101/0.002101, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.202/3.202, allocations: 0.49 GB / 0.7958 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002071/0.002071, allocations: 78.06 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3825, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004129/0.3866, allocations: 2.279 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.3893, allocations: 1.442 MB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.3895, allocations: 11.88 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.39, allocations: 171.3 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.3906, allocations: 223 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.391, allocations: 187.5 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.3915, allocations: 430.8 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.3917, allocations: 69.47 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.392, allocations: 191.3 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.3923, allocations: 191.2 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.3923, allocations: 28 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.3925, allocations: 75.97 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.3927, allocations: 123.5 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.3928, allocations: 170.9 kB / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006337/0.3935, allocations: 0.494 MB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3935, allocations: 0 / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3935, allocations: 0 / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.3935, allocations: 4 kB / 1.333 GB, free: 11.39 MB / 1.029 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.001207/0.3947, allocations: 0.6555 MB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3947, allocations: 8.031 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3948, allocations: 52.61 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.3954, allocations: 368.7 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.3954, allocations: 16.38 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.3955, allocations: 15.94 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.3958, allocations: 176.2 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3958, allocations: 3.938 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.3959, allocations: 8 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3959, allocations: 4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.3961, allocations: 83.95 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.3973, allocations: 0.7534 MB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.3976, allocations: 129.4 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3977, allocations: 49.69 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.3978, allocations: 8 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.398, allocations: 133 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.398, allocations: 0 / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.000551/0.3986, allocations: 221.3 kB / 1.336 GB, free: 8.562 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.3986, allocations: 106.8 kB / 1.336 GB, free: 8.434 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/0.3994, allocations: 0.5993 MB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.3994, allocations: 33.7 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.3996, allocations: 212.4 kB / 1.337 GB, free: 7.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.3996, allocations: 31.78 kB / 1.337 GB, free: 7.539 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3998, allocations: 77.64 kB / 1.337 GB, free: 7.457 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3999, allocations: 362.7 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.4002, allocations: 104 kB / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.4004, allocations: 177.8 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.4007, allocations: 183.3 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4007, allocations: 0 / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005943/0.4013, allocations: 348 kB / 1.338 GB, free: 6.262 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4014, allocations: 10.03 kB / 1.338 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4014, allocations: 0 / 1.338 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.4014, allocations: 4 kB / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.4016, allocations: 51.91 kB / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4016, allocations: 0 / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.4018, allocations: 43.95 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.4019, allocations: 12 kB / 1.338 GB, free: 6.145 MB / 1.029 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.0002277/0.4021, allocations: 200 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.4021, allocations: 43.72 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.4026, allocations: 193 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4026, allocations: 4 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4026, allocations: 48 / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4026, allocations: 3.984 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.4029, allocations: 317 kB / 1.339 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4029, allocations: 0 / 1.339 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.403, allocations: 15.92 kB / 1.339 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.403, allocations: 3.938 kB / 1.339 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.403, allocations: 8 kB / 1.339 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.403, allocations: 0 / 1.339 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.403, allocations: 0 / 1.339 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.4033, allocations: 213.6 kB / 1.339 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.4034, allocations: 47.7 kB / 1.339 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.4035, allocations: 4 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.4036, allocations: 15.98 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.4037, allocations: 27.89 kB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.4037, allocations: 8 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004428/0.4041, allocations: 371.1 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4041, allocations: 0 / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000327/0.4045, allocations: 71.88 kB / 1.339 GB, free: 4.547 MB / 1.029 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 (12): * Single equations (assignments): 8 * 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.00154/0.406, allocations: 425.5 kB / 1.34 GB, free: 4.281 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.4065, allocations: 191.8 kB / 1.34 GB, free: 4.094 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4065, allocations: 4.188 kB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.4066, allocations: 47.97 kB / 1.34 GB, free: 4.043 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.4071, allocations: 106.5 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.4083, allocations: 0.6673 MB / 1.341 GB, free: 3.242 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.4088, allocations: 0.8184 MB / 1.342 GB, free: 2.395 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.4089, allocations: 35.42 kB / 1.342 GB, free: 2.363 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.4089, allocations: 0 / 1.342 GB, free: 2.363 MB / 1.029 GB Notification: Performance of Templates: time 0.008958/0.4178, allocations: 5.211 MB / 1.347 GB, free: 13.17 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 12.87835066599655]