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.001452/0.001452, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001604/0.001604, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.648/2.648, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.423e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003736/0.00376, allocations: 2.2 MB / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002641/0.006401, allocations: 1.356 MB / 0.9544 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.006558, allocations: 7.938 kB / 0.9544 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.007047, allocations: 179.1 kB / 0.9546 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005091/0.007556, allocations: 223 kB / 0.9548 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.007956, allocations: 191.4 kB / 0.955 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005508/0.008507, allocations: 442.7 kB / 0.9554 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.008699, allocations: 57.56 kB / 0.9555 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.009031, allocations: 231.4 kB / 0.9557 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.0093, allocations: 171.5 kB / 0.9559 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.919e-05/0.009369, allocations: 28 kB / 0.9559 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.009557, allocations: 71.92 kB / 0.956 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.009729, allocations: 123.5 kB / 0.9561 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.009882, allocations: 103.7 kB / 0.9562 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006879/0.01057, allocations: 0.4983 MB / 0.9567 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01057, allocations: 3.938 kB / 0.9567 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01057, allocations: 0 / 0.9567 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.01058, allocations: 0 / 0.9567 GB, free: 5.668 MB / 0.8575 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.001266/0.01185, allocations: 0.6594 MB / 0.9573 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.01189, allocations: 8.031 kB / 0.9573 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.01199, allocations: 48.66 kB / 0.9574 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007007/0.01269, allocations: 360 kB / 0.9577 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.01271, allocations: 8.375 kB / 0.9577 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.01275, allocations: 20.36 kB / 0.9577 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.01316, allocations: 202.7 kB / 0.9579 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01317, allocations: 3.938 kB / 0.9579 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.01319, allocations: 8 kB / 0.9579 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.0132, allocations: 0 / 0.9579 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.01343, allocations: 95.94 kB / 0.958 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.01471, allocations: 0.676 MB / 0.9587 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.01507, allocations: 137.4 kB / 0.9588 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.0152, allocations: 49.69 kB / 0.9589 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.01522, allocations: 8 kB / 0.9589 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.01551, allocations: 145 kB / 0.959 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.01551, allocations: 3.938 kB / 0.959 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0006069/0.01612, allocations: 229.7 kB / 0.9592 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.01621, allocations: 106.8 kB / 0.9593 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/0.01698, allocations: 0.576 MB / 0.9599 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.01702, allocations: 33.7 kB / 0.9599 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.01721, allocations: 204.5 kB / 0.9601 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.01725, allocations: 39.72 kB / 0.9602 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.01738, allocations: 81.64 kB / 0.9603 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.01756, allocations: 350.8 kB / 0.9606 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.01779, allocations: 111.9 kB / 0.9607 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.01811, allocations: 243.1 kB / 0.9609 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.01848, allocations: 198.8 kB / 0.9611 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.01848, allocations: 4.062 kB / 0.9611 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000667/0.01915, allocations: 358.3 kB / 0.9615 GB, free: 496 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.01917, allocations: 6.188 kB / 0.9615 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01918, allocations: 0 / 0.9615 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.0192, allocations: 4 kB / 0.9615 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.01943, allocations: 51.91 kB / 0.9615 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.01944, allocations: 4 kB / 0.9615 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.01968, allocations: 35.86 kB / 0.9616 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.01972, allocations: 12 kB / 0.9616 GB, free: 384 kB / 0.8575 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.0002533/0.01997, allocations: 203.8 kB / 0.9618 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.02004, allocations: 43.7 kB / 0.9618 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/0.02055, allocations: 212.9 kB / 0.962 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.02055, allocations: 0 / 0.962 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.02056, allocations: 0 / 0.962 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.02056, allocations: 4 kB / 0.962 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.02088, allocations: 249.2 kB / 0.9622 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.02089, allocations: 0 / 0.9622 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.02094, allocations: 11.98 kB / 0.9623 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.02095, allocations: 11.92 kB / 0.9623 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.02097, allocations: 7.984 kB / 0.9623 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.02097, allocations: 0 / 0.9623 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.02097, allocations: 0 / 0.9623 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.0214, allocations: 228.8 kB / 0.9625 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.0215, allocations: 47.69 kB / 0.9625 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.02155, allocations: 15.88 kB / 0.9626 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.02171, allocations: 15.98 kB / 0.9626 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.02179, allocations: 23.95 kB / 0.9626 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.02181, allocations: 15.94 kB / 0.9626 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004571/0.02227, allocations: 355.1 kB / 0.9629 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.02227, allocations: 4 kB / 0.963 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003583/0.02263, allocations: 67.89 kB / 0.963 GB, free: 14.83 MB / 0.8731 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.001774/0.0244, allocations: 463 kB / 0.9635 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004868/0.02489, allocations: 193.8 kB / 0.9636 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.02489, allocations: 8.062 kB / 0.9637 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.02506, allocations: 63.89 kB / 0.9637 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.02561, allocations: 98.12 kB / 0.9638 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.02677, allocations: 0.6334 MB / 0.9644 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.02701, allocations: 212.5 kB / 0.9646 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.02717, allocations: 63.23 kB / 0.9647 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.02729, allocations: 44.48 kB / 0.9647 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.02729, allocations: 3.938 kB / 0.9647 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.01169/0.03898, allocations: 5.167 MB / 0.9698 GB, free: 8.133 MB / 0.8731 GB " [Timeout remaining time 300] 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: 7.852055788040161]