Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001665/0.001665, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002047/0.002047, allocations: 222.6 kB / 23 MB, free: 4.914 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.764/2.764, allocations: 476 MB / 0.7707 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_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.00217/0.00217, allocations: 72 kB / 1.118 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3231, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004581/0.3276, allocations: 2.197 MB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002847/0.3305, allocations: 1.359 MB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.3308, allocations: 11.88 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.3314, allocations: 175.3 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007335/0.3321, allocations: 223 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.3327, allocations: 183.6 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007001/0.3334, allocations: 434.8 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.3336, allocations: 73.47 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.334, allocations: 183.3 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.3343, allocations: 187.2 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.026e-05/0.3344, allocations: 24 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.3346, allocations: 67.98 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.3348, allocations: 123.6 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.335, allocations: 127.1 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.3357, allocations: 0.5096 MB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3357, allocations: 0 / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3357, allocations: 0 / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.3357, allocations: 0 / 1.289 GB, free: 6.129 MB / 0.9825 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.001258/0.3369, allocations: 0.6633 MB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.337, allocations: 8.031 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3371, allocations: 52.61 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006389/0.3377, allocations: 356.8 kB / 1.291 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.3378, allocations: 16.38 kB / 1.291 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.3378, allocations: 15.94 kB / 1.291 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.3382, allocations: 207 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3382, allocations: 4 kB / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.3382, allocations: 4 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3382, allocations: 4 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.3385, allocations: 95.83 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.3396, allocations: 0.6799 MB / 1.292 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.34, allocations: 137.3 kB / 1.292 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3401, allocations: 57.69 kB / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3401, allocations: 3.938 kB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.3404, allocations: 125 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3404, allocations: 4 kB / 1.292 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005771/0.341, allocations: 229.3 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.341, allocations: 106.8 kB / 1.292 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000753/0.3418, allocations: 0.5838 MB / 1.293 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.3418, allocations: 29.7 kB / 1.293 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.342, allocations: 204.5 kB / 1.293 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.3421, allocations: 39.73 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.3422, allocations: 81.62 kB / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002168/0.3424, allocations: 350.8 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.3426, allocations: 115.9 kB / 1.294 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.3429, allocations: 254.8 kB / 1.294 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.3433, allocations: 198.2 kB / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3433, allocations: 0 / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006005/0.3439, allocations: 345.2 kB / 1.294 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3439, allocations: 8.094 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3439, allocations: 4.5 kB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3439, allocations: 7.938 kB / 1.294 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.3441, allocations: 47.97 kB / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3441, allocations: 4.047 kB / 1.294 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.3444, allocations: 47.8 kB / 1.294 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.3444, allocations: 12 kB / 1.294 GB, free: 0.8047 MB / 0.9825 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.0002233/0.3446, allocations: 203.5 kB / 1.295 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.3447, allocations: 47.72 kB / 1.295 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.3451, allocations: 200.9 kB / 1.295 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3451, allocations: 4 kB / 1.295 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3451, allocations: 0 / 1.295 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3451, allocations: 3.984 kB / 1.295 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.3454, allocations: 253.1 kB / 1.295 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3454, allocations: 3.984 kB / 1.295 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.3455, allocations: 12 kB / 1.295 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3455, allocations: 0 / 1.295 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3455, allocations: 4 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3455, allocations: 4 kB / 1.295 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3455, allocations: 0 / 1.295 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.3459, allocations: 234.3 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.346, allocations: 51.64 kB / 1.295 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.3461, allocations: 4 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.3462, allocations: 15.98 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.3463, allocations: 23.95 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3463, allocations: 4 kB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004148/0.3467, allocations: 363.1 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3467, allocations: 4 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003259/0.347, allocations: 71.89 kB / 1.296 GB, free: 15.27 MB / 0.9981 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.001703/0.3487, allocations: 456.1 kB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.3492, allocations: 210.6 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3492, allocations: 0 / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.3494, allocations: 60.09 kB / 1.297 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.3499, allocations: 107.3 kB / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.351, allocations: 0.6742 MB / 1.297 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.3512, allocations: 208.5 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.3513, allocations: 43.36 kB / 1.298 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3513, allocations: 0 / 1.298 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of Templates: time 0.008722/0.36, allocations: 5.367 MB / 1.303 GB, free: 8.316 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.025933225173503]