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.001093/0.001093, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001647/0.00274, allocations: 449.8 kB / 10.44 MB, free: 252 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.001026/0.001026, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002371, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8857/0.8857, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08176/0.9675, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.761/1.761, allocations: 378.3 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5147/2.276, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",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.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.742e-05, allocations: 2.859 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003469/0.003486, allocations: 2.298 MB / 0.7319 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.005663, allocations: 1.427 MB / 0.7333 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.005801, allocations: 9.25 kB / 0.7333 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.006152, allocations: 174.4 kB / 0.7334 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.006533, allocations: 229.6 kB / 0.7337 GB, free: 360 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.006843, allocations: 191.8 kB / 0.7338 GB, free: 168 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004465/0.007289, allocations: 434.7 kB / 0.7343 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.007451, allocations: 64.41 kB / 0.7343 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008919/0.008343, allocations: 372.2 kB / 0.7347 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.008547, allocations: 147.6 kB / 0.7348 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.008589, allocations: 24 kB / 0.7348 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.008748, allocations: 75.91 kB / 0.7349 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.008857, allocations: 101.2 kB / 0.735 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.008944, allocations: 71.75 kB / 0.7351 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.009363, allocations: 310.7 kB / 0.7354 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.009377, allocations: 0 / 0.7354 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.009378, allocations: 0.75 kB / 0.7354 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.009393, allocations: 0 / 0.7354 GB, free: 14.63 MB / 0.7136 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.0009067/0.0103, allocations: 0.6821 MB / 0.736 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.01033, allocations: 13 kB / 0.7361 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.01041, allocations: 32.91 kB / 0.7361 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.0108, allocations: 304.8 kB / 0.7364 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.01082, allocations: 12.38 kB / 0.7364 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.01085, allocations: 13.81 kB / 0.7364 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.01108, allocations: 177.9 kB / 0.7366 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.01109, allocations: 7.922 kB / 0.7366 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.01111, allocations: 4 kB / 0.7366 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.01111, allocations: 9.062 kB / 0.7366 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.343e-05/0.01119, allocations: 41.56 kB / 0.7366 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.01181, allocations: 0.4945 MB / 0.7371 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.01198, allocations: 175.3 kB / 0.7373 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.01202, allocations: 27.36 kB / 0.7373 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.01203, allocations: 4 kB / 0.7373 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.01218, allocations: 103.9 kB / 0.7374 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.01218, allocations: 0.8125 kB / 0.7374 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0002078/0.01239, allocations: 117.7 kB / 0.7375 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.01243, allocations: 85.09 kB / 0.7376 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.01277, allocations: 401.9 kB / 0.738 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.01279, allocations: 33.7 kB / 0.738 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.01291, allocations: 161.4 kB / 0.7382 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.01294, allocations: 39.72 kB / 0.7382 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.01301, allocations: 78.25 kB / 0.7383 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.0131, allocations: 350.7 kB / 0.7386 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.01315, allocations: 31.56 kB / 0.7387 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.331e-05/0.01325, allocations: 173.5 kB / 0.7388 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.01336, allocations: 125.1 kB / 0.7389 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01336, allocations: 112 / 0.7389 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001669/0.01353, allocations: 172.3 kB / 0.7391 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.01354, allocations: 7.5 kB / 0.7391 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01355, allocations: 7.938 kB / 0.7391 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.01356, allocations: 0 / 0.7391 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.01369, allocations: 59.91 kB / 0.7392 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.01369, allocations: 1.25 kB / 0.7392 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.01377, allocations: 35.86 kB / 0.7392 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.01379, allocations: 9.25 kB / 0.7392 GB, free: 10.44 MB / 0.7136 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 9.888e-05/0.01389, allocations: 130.6 kB / 0.7393 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.01392, allocations: 31 kB / 0.7394 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.01405, allocations: 116.9 kB / 0.7395 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01405, allocations: 4 kB / 0.7395 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.01405, allocations: 0 / 0.7395 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01405, allocations: 0 / 0.7395 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.01419, allocations: 161.7 kB / 0.7396 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01419, allocations: 7.984 kB / 0.7396 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.01422, allocations: 8 kB / 0.7397 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.01425, allocations: 38.45 kB / 0.7397 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01426, allocations: 12.02 kB / 0.7397 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01427, allocations: 4 kB / 0.7397 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01427, allocations: 3.938 kB / 0.7397 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01427, allocations: 3.938 kB / 0.7397 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.01438, allocations: 138.5 kB / 0.7398 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.01441, allocations: 11.98 kB / 0.7399 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.01446, allocations: 16.55 kB / 0.7399 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.0145, allocations: 20.53 kB / 0.7399 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.01451, allocations: 11.23 kB / 0.7399 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001403/0.01465, allocations: 160.7 kB / 0.7401 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01465, allocations: 0 / 0.7401 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001769/0.01483, allocations: 67.89 kB / 0.7401 GB, free: 9.465 MB / 0.7136 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.001293/0.01612, allocations: 0.5731 MB / 0.7407 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.01627, allocations: 102.6 kB / 0.7408 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.01628, allocations: 8 kB / 0.7408 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.578e-05/0.01634, allocations: 40.78 kB / 0.7408 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.01675, allocations: 0.5795 MB / 0.7414 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.01803, allocations: 0.5671 MB / 0.7419 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.703e-05/0.01809, allocations: 108.6 kB / 0.742 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.351e-05/0.01817, allocations: 44.83 kB / 0.7421 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.01832, allocations: 123.3 kB / 0.7422 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.01832, allocations: 0.6875 kB / 0.7422 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of Templates: time 0.007164/0.02548, allocations: 5.586 MB / 0.7477 GB, free: 2.129 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus/Buildings_12_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: 4.718495512381196]