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.002084/0.002084, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002746/0.002746, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.977 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.79/2.79, allocations: 476.7 MB / 0.7706 GB, free: 4.281 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.002086/0.002086, allocations: 67.94 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3116, allocations: 170 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004315/0.3159, allocations: 2.304 MB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.3188, allocations: 1.442 MB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.3191, allocations: 7.938 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.3196, allocations: 175.2 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006288/0.3202, allocations: 227 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.3207, allocations: 179.6 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006081/0.3213, allocations: 434.8 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.3215, allocations: 61.56 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.3218, allocations: 195.2 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.3221, allocations: 195.2 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.796e-05/0.3221, allocations: 28 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3223, allocations: 75.97 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3225, allocations: 123.6 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.3227, allocations: 170.8 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.3233, allocations: 0.5057 MB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3233, allocations: 0 / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3233, allocations: 0 / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.3234, allocations: 0 / 1.29 GB, free: 5.066 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.001244/0.3246, allocations: 0.6615 MB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3246, allocations: 8.031 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.3247, allocations: 48.61 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.3254, allocations: 368.7 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.3254, allocations: 12.38 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.3255, allocations: 19.94 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.3258, allocations: 173.3 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3258, allocations: 0 / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.3259, allocations: 8 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3259, allocations: 8 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.3261, allocations: 91.83 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.3274, allocations: 0.7534 MB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.3277, allocations: 133.4 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.3278, allocations: 45.7 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.3279, allocations: 8 kB / 1.292 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.3281, allocations: 125 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 2.083e-06/0.3281, allocations: 0 / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005579/0.3287, allocations: 217.3 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.3288, allocations: 110.8 kB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.3295, allocations: 0.6032 MB / 1.293 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.3295, allocations: 29.7 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3297, allocations: 208.4 kB / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.3298, allocations: 39.73 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3299, allocations: 69.64 kB / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.3301, allocations: 362.7 kB / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3303, allocations: 108 kB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.3306, allocations: 169.8 kB / 1.294 GB, free: 500 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.3309, allocations: 195.6 kB / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3309, allocations: 0 / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006516/0.3316, allocations: 352.2 kB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3316, allocations: 4 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3316, allocations: 7.984 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3316, allocations: 0 / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.3319, allocations: 47.91 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3319, allocations: 7.938 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.3321, allocations: 47.89 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.3321, allocations: 12 kB / 1.295 GB, free: 15.81 MB / 0.9981 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.0002355/0.3324, allocations: 199.4 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.3324, allocations: 39.72 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.3328, allocations: 193.1 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3329, allocations: 4 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3329, allocations: 4.625 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3329, allocations: 0 / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.3332, allocations: 316.3 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3332, allocations: 0 / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.3333, allocations: 12 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3333, allocations: 0 / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3333, allocations: 3.984 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3333, allocations: 4 kB / 1.295 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3333, allocations: 3.984 kB / 1.295 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.3337, allocations: 217.6 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3338, allocations: 51.64 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.3338, allocations: 8 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.334, allocations: 11.98 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.334, allocations: 23.95 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3341, allocations: 4 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004583/0.3345, allocations: 375.1 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3345, allocations: 0 / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003633/0.3349, allocations: 71.89 kB / 1.296 GB, free: 14.22 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 (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.001614/0.3365, allocations: 438.5 kB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004835/0.337, allocations: 181.8 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.337, allocations: 4.188 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.3371, allocations: 51.92 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.3377, allocations: 107.5 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3389, allocations: 0.6227 MB / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.3394, allocations: 0.8107 MB / 1.298 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.3396, allocations: 55.19 kB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.924e-05/0.3397, allocations: 39.42 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.3397, allocations: 3.938 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of Templates: time 0.01105/0.3507, allocations: 4.93 MB / 1.303 GB, free: 7.141 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: 8.997980006970465]