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.0009403/0.0009403, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009901/0.0009901, allocations: 166 kB / 24.87 MB, free: 9.266 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.952/0.952, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.78/1.78, allocations: 377.9 MB / 0.6247 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.573e-06/1.573e-06, allocations: 0 / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.852e-05, allocations: 3.312 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002769/0.002787, allocations: 2.238 MB / 0.815 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.004769, allocations: 1.385 MB / 0.8163 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.004916, allocations: 9.094 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.005296, allocations: 172 kB / 0.8165 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.005676, allocations: 224.1 kB / 0.8167 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.005988, allocations: 191.4 kB / 0.8169 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.006386, allocations: 444.1 kB / 0.8173 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.006531, allocations: 65.53 kB / 0.8174 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006731/0.007204, allocations: 305.1 kB / 0.8176 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.007388, allocations: 161.1 kB / 0.8178 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.007421, allocations: 24 kB / 0.8178 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.007543, allocations: 75.91 kB / 0.8179 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.145e-05/0.007635, allocations: 123.5 kB / 0.818 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.422e-05/0.007709, allocations: 97.48 kB / 0.8181 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.00804, allocations: 318.7 kB / 0.8184 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.008043, allocations: 3.984 kB / 0.8184 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.11e-07/0.008043, allocations: 0 / 0.8184 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.008048, allocations: 0 / 0.8184 GB, free: 11.72 MB / 0.7761 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.0006779/0.008726, allocations: 0.7529 MB / 0.8192 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.00876, allocations: 8.031 kB / 0.8192 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.008833, allocations: 57.97 kB / 0.8192 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.009163, allocations: 337.3 kB / 0.8195 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.009182, allocations: 16.94 kB / 0.8196 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.009199, allocations: 12.97 kB / 0.8196 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.00938, allocations: 179.5 kB / 0.8197 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.009388, allocations: 5.938 kB / 0.8197 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.0094, allocations: 4 kB / 0.8197 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.009406, allocations: 4 kB / 0.8197 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.335e-05/0.009499, allocations: 39.89 kB / 0.8198 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.0101, allocations: 0.7253 MB / 0.8205 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.01023, allocations: 115.8 kB / 0.8206 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.01034, allocations: 31.98 kB / 0.8206 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.01035, allocations: 4 kB / 0.8206 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.01047, allocations: 117.4 kB / 0.8208 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.01047, allocations: 3.938 kB / 0.8208 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0002411/0.01071, allocations: 166.1 kB / 0.8209 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.01076, allocations: 111.5 kB / 0.821 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.01105, allocations: 474.4 kB / 0.8215 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.01107, allocations: 34.98 kB / 0.8215 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.0112, allocations: 271.1 kB / 0.8218 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.01123, allocations: 39.72 kB / 0.8218 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.01131, allocations: 80.12 kB / 0.8219 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002708/0.01158, allocations: 0.5429 MB / 0.8224 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.786e-05/0.01163, allocations: 32.91 kB / 0.8224 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.01173, allocations: 184.3 kB / 0.8226 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.01184, allocations: 122.2 kB / 0.8227 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01185, allocations: 3.938 kB / 0.8227 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002459/0.01209, allocations: 226.1 kB / 0.823 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.01211, allocations: 13.02 kB / 0.823 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.01212, allocations: 4.047 kB / 0.823 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.01213, allocations: 3.984 kB / 0.823 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01224, allocations: 47.92 kB / 0.823 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.01224, allocations: 4 kB / 0.823 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.01233, allocations: 35.3 kB / 0.8231 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.01235, allocations: 8 kB / 0.8231 GB, free: 6.648 MB / 0.7761 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.000104/0.01246, allocations: 174.5 kB / 0.8232 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.0125, allocations: 47.72 kB / 0.8233 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.01269, allocations: 164.9 kB / 0.8234 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01269, allocations: 0 / 0.8234 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01269, allocations: 0 / 0.8234 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.0127, allocations: 0.7812 kB / 0.8234 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.01286, allocations: 213.5 kB / 0.8236 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01287, allocations: 0.5 kB / 0.8236 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.01289, allocations: 8.562 kB / 0.8236 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01289, allocations: 8.5 kB / 0.8237 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01291, allocations: 7.984 kB / 0.8237 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01291, allocations: 0.5 kB / 0.8237 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.01291, allocations: 8.781 kB / 0.8237 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.01307, allocations: 195.8 kB / 0.8239 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.01311, allocations: 48.73 kB / 0.8239 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.01314, allocations: 8 kB / 0.8239 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.01319, allocations: 11.98 kB / 0.8239 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.01324, allocations: 28.39 kB / 0.824 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.01325, allocations: 4.656 kB / 0.824 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001477/0.0134, allocations: 283 kB / 0.8242 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0134, allocations: 1.25 kB / 0.8242 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002149/0.01361, allocations: 71.88 kB / 0.8243 GB, free: 5.332 MB / 0.7761 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.0007749/0.01439, allocations: 415.8 kB / 0.8247 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.01455, allocations: 112.1 kB / 0.8248 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01455, allocations: 4 kB / 0.8248 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.245e-05/0.01461, allocations: 44.41 kB / 0.8248 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01491, allocations: 104.9 kB / 0.8249 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/0.01557, allocations: 0.5527 MB / 0.8255 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.002e-05/0.01563, allocations: 117.1 kB / 0.8256 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.523e-05/0.01572, allocations: 52.44 kB / 0.8256 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.01587, allocations: 142.2 kB / 0.8258 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.01587, allocations: 288 / 0.8258 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of Templates: time 0.007101/0.02297, allocations: 5.581 MB / 0.8312 GB, free: 14.43 MB / 0.7917 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 -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: 4.969393763225526]