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.0009418/0.0009418, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008615/0.0008615, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8876/0.8876, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.643/1.643, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.723e-06/1.723e-06, allocations: 0 / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.067e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002406/0.002426, allocations: 2.205 MB / 0.9539 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.003986, allocations: 1.352 MB / 0.9552 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.004101, allocations: 7.938 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.004479, allocations: 175.2 kB / 0.9554 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.004838, allocations: 234.8 kB / 0.9556 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.005052, allocations: 183.5 kB / 0.9558 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.005376, allocations: 442.6 kB / 0.9562 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.005543, allocations: 65.48 kB / 0.9563 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.005734, allocations: 235.4 kB / 0.9565 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.005899, allocations: 167.5 kB / 0.9566 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.005935, allocations: 28 kB / 0.9567 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.006048, allocations: 71.98 kB / 0.9567 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/0.006146, allocations: 119.5 kB / 0.9568 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.006224, allocations: 103.7 kB / 0.9569 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.006629, allocations: 0.5022 MB / 0.9574 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.006631, allocations: 0 / 0.9574 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006632, allocations: 0 / 0.9574 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.006638, allocations: 0 / 0.9574 GB, free: 13.1 MB / 0.9167 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.0007592/0.007397, allocations: 0.6616 MB / 0.9581 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.007432, allocations: 11.97 kB / 0.9581 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.007501, allocations: 44.66 kB / 0.9581 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.007883, allocations: 360 kB / 0.9585 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.007901, allocations: 8.375 kB / 0.9585 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.007921, allocations: 20.31 kB / 0.9585 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.008167, allocations: 206.2 kB / 0.9587 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.008177, allocations: 0 / 0.9587 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.008192, allocations: 8 kB / 0.9587 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.008196, allocations: 0 / 0.9587 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.008327, allocations: 103.9 kB / 0.9588 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/0.009, allocations: 0.676 MB / 0.9595 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.009201, allocations: 141.4 kB / 0.9596 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.009262, allocations: 49.7 kB / 0.9597 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.009275, allocations: 4.109 kB / 0.9597 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.009448, allocations: 136.9 kB / 0.9598 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.009449, allocations: 0 / 0.9598 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0003388/0.009787, allocations: 233.3 kB / 0.96 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.009836, allocations: 102.8 kB / 0.9601 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.01026, allocations: 0.5799 MB / 0.9607 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.01028, allocations: 33.7 kB / 0.9607 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.01039, allocations: 204.5 kB / 0.9609 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.01042, allocations: 39.72 kB / 0.9609 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.01049, allocations: 77.64 kB / 0.961 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.01059, allocations: 350.8 kB / 0.9613 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.01071, allocations: 119.8 kB / 0.9615 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.01087, allocations: 247.1 kB / 0.9617 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.01106, allocations: 195.6 kB / 0.9619 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01107, allocations: 0 / 0.9619 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003385/0.0114, allocations: 356.5 kB / 0.9622 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.01142, allocations: 8.094 kB / 0.9622 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01142, allocations: 4 kB / 0.9622 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01143, allocations: 0 / 0.9622 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.01155, allocations: 51.91 kB / 0.9623 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01156, allocations: 4 kB / 0.9623 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01166, allocations: 39.86 kB / 0.9623 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.01169, allocations: 19.98 kB / 0.9623 GB, free: 7.793 MB / 0.9167 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.000134/0.01182, allocations: 195.8 kB / 0.9625 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.01186, allocations: 43.66 kB / 0.9626 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.01211, allocations: 209 kB / 0.9628 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01212, allocations: 0 / 0.9628 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01212, allocations: 7.938 kB / 0.9628 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01212, allocations: 0 / 0.9628 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.01229, allocations: 253.1 kB / 0.963 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01229, allocations: 3.938 kB / 0.963 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.01232, allocations: 8 kB / 0.963 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01232, allocations: 3.938 kB / 0.963 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.01234, allocations: 11.98 kB / 0.9631 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01234, allocations: 0 / 0.9631 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.01235, allocations: 4 kB / 0.9631 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.01255, allocations: 225.6 kB / 0.9633 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.0126, allocations: 43.75 kB / 0.9633 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.01263, allocations: 11.94 kB / 0.9633 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.113e-05/0.01269, allocations: 19.97 kB / 0.9633 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.01274, allocations: 19.97 kB / 0.9634 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.01275, allocations: 12.03 kB / 0.9634 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002462/0.013, allocations: 359.1 kB / 0.9637 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.013, allocations: 0 / 0.9637 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001997/0.0132, allocations: 71.89 kB / 0.9638 GB, free: 6.258 MB / 0.9167 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.0007735/0.01397, allocations: 469.7 kB / 0.9642 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.01426, allocations: 187.9 kB / 0.9644 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01426, allocations: 7.938 kB / 0.9644 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.748e-05/0.01435, allocations: 68.08 kB / 0.9645 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01465, allocations: 96.56 kB / 0.9646 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.01534, allocations: 0.6776 MB / 0.9652 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.01547, allocations: 216.3 kB / 0.9654 GB, free: 4.684 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.01553, allocations: 32.48 kB / 0.9655 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of SimCode: time 7.41e-07/0.01554, allocations: 0 / 0.9655 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of Templates: time 0.004948/0.02048, allocations: 5.385 MB / 0.9707 GB, free: 15.28 MB / 0.9323 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.291430735960603]