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.001457/0.001457, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002254/0.002254, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.781 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.829/2.829, allocations: 475.9 MB / 0.7699 GB, free: 4.754 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.002132/0.002132, allocations: 67.92 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3468, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004265/0.3511, allocations: 2.181 MB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002607/0.3537, allocations: 1.368 MB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.3539, allocations: 11.94 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.3544, allocations: 167.3 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.3549, allocations: 227 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.3553, allocations: 179.6 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.3559, allocations: 438.8 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.3561, allocations: 65.48 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.3563, allocations: 183.3 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.3566, allocations: 187.2 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.3567, allocations: 24 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.3568, allocations: 75.98 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.357, allocations: 127.5 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.3571, allocations: 115.2 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.3578, allocations: 0.5057 MB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3578, allocations: 7.938 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3578, allocations: 0 / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3578, allocations: 0 / 1.289 GB, free: 6.121 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.001248/0.3591, allocations: 0.6673 MB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3591, allocations: 11.97 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.3592, allocations: 56.55 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.3599, allocations: 352.8 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.3599, allocations: 12.38 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.3599, allocations: 15.94 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.3603, allocations: 215 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3604, allocations: 4 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3604, allocations: 4 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3604, allocations: 4 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.3606, allocations: 91.89 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.3618, allocations: 0.676 MB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.3622, allocations: 141.3 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.3623, allocations: 53.69 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3623, allocations: 0 / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.3626, allocations: 137 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.3626, allocations: 0 / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005928/0.3632, allocations: 229.3 kB / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.3633, allocations: 106.8 kB / 1.291 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008457/0.3641, allocations: 0.5877 MB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.3641, allocations: 33.7 kB / 1.292 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3643, allocations: 200.5 kB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.3644, allocations: 43.72 kB / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3645, allocations: 77.64 kB / 1.292 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002422/0.3648, allocations: 350.8 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.365, allocations: 108 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.3653, allocations: 250.8 kB / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.3656, allocations: 202.1 kB / 1.293 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3656, allocations: 0 / 1.293 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006127/0.3662, allocations: 352.1 kB / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3663, allocations: 8 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3663, allocations: 0 / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3663, allocations: 4 kB / 1.294 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.3665, allocations: 51.91 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.3665, allocations: 8.031 kB / 1.294 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.3667, allocations: 39.86 kB / 1.294 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.3667, allocations: 8 kB / 1.294 GB, free: 0.8008 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.000234/0.367, allocations: 208.5 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.367, allocations: 43.72 kB / 1.294 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.3675, allocations: 201 kB / 1.294 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3675, allocations: 7.938 kB / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3675, allocations: 4 kB / 1.294 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3675, allocations: 7.922 kB / 1.294 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.3678, allocations: 253.1 kB / 1.294 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3678, allocations: 0 / 1.294 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.3678, allocations: 12 kB / 1.294 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3678, allocations: 0 / 1.294 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3679, allocations: 8.5 kB / 1.294 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3679, allocations: 0 / 1.294 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3679, allocations: 7.922 kB / 1.294 GB, free: 20 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.3683, allocations: 232.8 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.3684, allocations: 55.64 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.3684, allocations: 8 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.3686, allocations: 15.98 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.3686, allocations: 23.95 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3687, allocations: 4 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004208/0.3691, allocations: 359.1 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3691, allocations: 0 / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003106/0.3694, allocations: 71.89 kB / 1.295 GB, free: 15.25 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.001712/0.3711, allocations: 451.8 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004558/0.3716, allocations: 198.8 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3716, allocations: 0 / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.3717, allocations: 63.91 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.3722, allocations: 108.4 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3734, allocations: 0.6346 MB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3737, allocations: 212.4 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000144/0.3738, allocations: 51.25 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/0.3739, allocations: 39.42 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3739, allocations: 0 / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of Templates: time 0.01189/0.3858, allocations: 5.501 MB / 1.302 GB, free: 8.234 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/jenkins/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: 9.075398022308946]