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.001797/0.001797, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001972/0.001972, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.961/2.961, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",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.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_12_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.002087/0.002087, allocations: 71.83 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 176.1 MB / 1.322 GB, free: 24.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003443/1.015, allocations: 2.259 MB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002143/1.017, allocations: 1.434 MB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/1.018, allocations: 9.156 kB / 1.326 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004759/1.018, allocations: 175 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004524/1.018, allocations: 232.4 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/1.019, allocations: 176.8 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004064/1.019, allocations: 433.1 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/1.019, allocations: 70.55 kB / 1.327 GB, free: 21.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/1.02, allocations: 188.1 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/1.02, allocations: 202.5 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.162e-05/1.02, allocations: 25 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/1.02, allocations: 74.69 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/1.02, allocations: 113.4 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/1.021, allocations: 162.5 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000621/1.021, allocations: 0.5077 MB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.021, allocations: 1.344 kB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/1.021, allocations: 0 / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.976e-06/1.021, allocations: 0 / 1.328 GB, free: 21.36 MB / 1.061 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.001224/1.022, allocations: 0.7413 MB / 1.329 GB, free: 20.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.022, allocations: 13.05 kB / 1.329 GB, free: 20.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/1.023, allocations: 50.33 kB / 1.329 GB, free: 20.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/1.023, allocations: 420 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/1.023, allocations: 14.44 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/1.023, allocations: 18.28 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/1.024, allocations: 173.8 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/1.024, allocations: 0 / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/1.024, allocations: 5.781 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/1.024, allocations: 3.938 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/1.024, allocations: 89.91 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/1.025, allocations: 0.7909 MB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/1.025, allocations: 135 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/1.026, allocations: 50.08 kB / 1.33 GB, free: 19.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/1.026, allocations: 6.969 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/1.026, allocations: 133.5 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/1.026, allocations: 0 / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.000619/1.027, allocations: 213.3 kB / 1.331 GB, free: 19.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/1.027, allocations: 109.5 kB / 1.331 GB, free: 19.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008535/1.027, allocations: 0.594 MB / 1.331 GB, free: 18.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/1.027, allocations: 33.75 kB / 1.331 GB, free: 18.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/1.028, allocations: 209.3 kB / 1.332 GB, free: 18.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/1.028, allocations: 38.45 kB / 1.332 GB, free: 18.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/1.028, allocations: 77.38 kB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.028, allocations: 360.5 kB / 1.332 GB, free: 18.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/1.028, allocations: 108.8 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/1.028, allocations: 170.1 kB / 1.332 GB, free: 18.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/1.029, allocations: 187.7 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.029, allocations: 0 / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006539/1.029, allocations: 345.4 kB / 1.333 GB, free: 17.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/1.029, allocations: 12.89 kB / 1.333 GB, free: 17.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.029, allocations: 1.281 kB / 1.333 GB, free: 17.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.029, allocations: 2.438 kB / 1.333 GB, free: 17.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/1.03, allocations: 50.73 kB / 1.333 GB, free: 17.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.03, allocations: 3.156 kB / 1.333 GB, free: 17.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/1.03, allocations: 37.45 kB / 1.333 GB, free: 17.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/1.03, allocations: 14.92 kB / 1.333 GB, free: 17.96 MB / 1.061 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.0002326/1.03, allocations: 207.7 kB / 1.333 GB, free: 17.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/1.03, allocations: 42.84 kB / 1.333 GB, free: 17.78 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/1.03, allocations: 43.31 kB / 1.333 GB, free: 17.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.03, allocations: 1.781 kB / 1.333 GB, free: 17.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.03, allocations: 1.125 kB / 1.333 GB, free: 17.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/1.03, allocations: 5.938 kB / 1.333 GB, free: 17.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/1.031, allocations: 339.2 kB / 1.333 GB, free: 17.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.031, allocations: 0.5 kB / 1.333 GB, free: 17.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/1.031, allocations: 12 kB / 1.333 GB, free: 17.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.031, allocations: 1.188 kB / 1.333 GB, free: 17.49 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.031, allocations: 16.12 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.031, allocations: 1.125 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.031, allocations: 1.031 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/1.031, allocations: 205.9 kB / 1.334 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/1.031, allocations: 123.1 kB / 1.334 GB, free: 17.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/1.031, allocations: 8.797 kB / 1.334 GB, free: 17.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/1.032, allocations: 17.31 kB / 1.334 GB, free: 17.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/1.032, allocations: 20.75 kB / 1.334 GB, free: 17.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/1.032, allocations: 11.08 kB / 1.334 GB, free: 17.22 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004946/1.032, allocations: 366.2 kB / 1.334 GB, free: 17.06 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.032, allocations: 4.875 kB / 1.334 GB, free: 17.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004033/1.033, allocations: 71.3 kB / 1.334 GB, free: 17.04 MB / 1.061 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 (TTanTop.tab.nextTimeEventScaled,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent) * 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.001609/1.034, allocations: 437.8 kB / 1.335 GB, free: 16.83 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006647/1.035, allocations: 189.2 kB / 1.335 GB, free: 16.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.035, allocations: 0.5 kB / 1.335 GB, free: 16.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/1.035, allocations: 51.92 kB / 1.335 GB, free: 16.76 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/1.036, allocations: 97.97 kB / 1.335 GB, free: 16.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/1.037, allocations: 0.6778 MB / 1.336 GB, free: 16.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/1.037, allocations: 0.8103 MB / 1.336 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/1.037, allocations: 38.28 kB / 1.337 GB, free: 15.6 MB / 1.061 GB Notification: Performance of SimCode: time 6.42e-07/1.037, allocations: 0 / 1.337 GB, free: 15.6 MB / 1.061 GB Notification: Performance of Templates: time 0.01162/1.049, allocations: 5.205 MB / 1.342 GB, free: 14.97 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.02102972099965]