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.001454/0.001454, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001164/0.001164, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.965/0.965, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.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.949/1.949, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 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.432e-06/1.432e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.464e-05, allocations: 6.25 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003114/0.003138, allocations: 2.296 MB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.005155, allocations: 1.411 MB / 0.7637 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.005347, allocations: 8.438 kB / 0.7637 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.005779, allocations: 174.4 kB / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.006225, allocations: 229.5 kB / 0.7641 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.006909, allocations: 183.4 kB / 0.7642 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.007378, allocations: 435.6 kB / 0.7647 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.007551, allocations: 67.47 kB / 0.7647 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008374/0.008389, allocations: 316.4 kB / 0.765 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.008605, allocations: 144.3 kB / 0.7652 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.00864, allocations: 27.94 kB / 0.7652 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.008813, allocations: 73.69 kB / 0.7653 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.008917, allocations: 119.6 kB / 0.7654 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.009, allocations: 91.64 kB / 0.7655 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.009436, allocations: 322.7 kB / 0.7658 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.009441, allocations: 0 / 0.7658 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.71e-07/0.009442, allocations: 1.219 kB / 0.7658 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.009449, allocations: 4 kB / 0.7658 GB, free: 0.8047 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.0006929/0.01014, allocations: 0.6198 MB / 0.7664 GB, free: 164 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.01018, allocations: 8.781 kB / 0.7664 GB, free: 156 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.01024, allocations: 36.91 kB / 0.7664 GB, free: 120 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.01061, allocations: 288.7 kB / 0.7667 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.01063, allocations: 18.03 kB / 0.7667 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.01065, allocations: 16.38 kB / 0.7667 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.01086, allocations: 173.9 kB / 0.7669 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.01087, allocations: 3.938 kB / 0.7669 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.01088, allocations: 8.938 kB / 0.7669 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.01089, allocations: 0 / 0.7669 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.964e-05/0.01095, allocations: 45.55 kB / 0.7669 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.01152, allocations: 0.4995 MB / 0.7674 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.01167, allocations: 170.6 kB / 0.7676 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.0117, allocations: 24.47 kB / 0.7676 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.01171, allocations: 12.02 kB / 0.7676 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.01184, allocations: 99.88 kB / 0.7677 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.01184, allocations: 0 / 0.7677 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001886/0.01203, allocations: 115.2 kB / 0.7678 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.01207, allocations: 106.8 kB / 0.7679 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.01236, allocations: 407.9 kB / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.01238, allocations: 33.7 kB / 0.7684 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.01246, allocations: 157.4 kB / 0.7685 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.01249, allocations: 39.72 kB / 0.7685 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.01256, allocations: 77.61 kB / 0.7686 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.01265, allocations: 363.6 kB / 0.769 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.0127, allocations: 26.81 kB / 0.769 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.27e-05/0.0128, allocations: 165.2 kB / 0.7691 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.01291, allocations: 119.1 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01291, allocations: 0 / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001807/0.01309, allocations: 170.2 kB / 0.7694 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.01311, allocations: 8 kB / 0.7694 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.01312, allocations: 4.781 kB / 0.7694 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01314, allocations: 4 kB / 0.7694 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.01326, allocations: 52.91 kB / 0.7695 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01327, allocations: 7.062 kB / 0.7695 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.01336, allocations: 27.88 kB / 0.7695 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.01338, allocations: 11.98 kB / 0.7695 GB, free: 12.68 MB / 0.7292 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 0.0001014/0.01348, allocations: 134.6 kB / 0.7697 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.01351, allocations: 27.97 kB / 0.7697 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.01367, allocations: 127.4 kB / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01367, allocations: 0 / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01367, allocations: 0 / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01368, allocations: 4 kB / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01382, allocations: 161.6 kB / 0.77 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01382, allocations: 0 / 0.77 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.01385, allocations: 15.98 kB / 0.77 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01386, allocations: 5.375 kB / 0.77 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.01386, allocations: 0 / 0.77 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.01387, allocations: 0 / 0.77 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.01387, allocations: 7.938 kB / 0.77 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.01399, allocations: 138.4 kB / 0.7701 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.01403, allocations: 35.75 kB / 0.7702 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.01406, allocations: 9.031 kB / 0.7702 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.01411, allocations: 15.98 kB / 0.7702 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.01416, allocations: 28.73 kB / 0.7702 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.01417, allocations: 4 kB / 0.7702 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001256/0.01429, allocations: 156.7 kB / 0.7704 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01429, allocations: 0.8438 kB / 0.7704 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001996/0.01449, allocations: 71.81 kB / 0.7704 GB, free: 11.7 MB / 0.7292 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.001105/0.0156, allocations: 0.5227 MB / 0.7709 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.01579, allocations: 109.2 kB / 0.7711 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.0158, allocations: 4 kB / 0.7711 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.505e-05/0.01585, allocations: 40.77 kB / 0.7711 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.01612, allocations: 104.9 kB / 0.7712 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.01693, allocations: 0.5549 MB / 0.7717 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.01e-05/0.017, allocations: 116.6 kB / 0.7718 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.0171, allocations: 47.94 kB / 0.7719 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.0173, allocations: 119.9 kB / 0.772 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of SimCode: time 1.202e-06/0.0173, allocations: 0.7188 kB / 0.772 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.008606/0.02591, allocations: 5.459 MB / 0.7773 GB, free: 5.062 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.132577680051327]