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.001304/0.001304, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001715/0.001715, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9205/0.9205, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.788/1.788, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.383e-06/1.383e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.512e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.00294/0.002965, allocations: 2.276 MB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.004798, allocations: 1.4 MB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.004979, allocations: 7.938 kB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.00539, allocations: 167.2 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004479/0.005838, allocations: 236.4 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.006177, allocations: 185.2 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.006603, allocations: 438.7 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.006766, allocations: 61.53 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008447/0.007611, allocations: 314.5 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.007843, allocations: 164.7 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.00788, allocations: 24 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.008036, allocations: 71.91 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.008145, allocations: 125.2 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.247e-05/0.008238, allocations: 87.7 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.008707, allocations: 326.6 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008711, allocations: 0 / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.008712, allocations: 2.594 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.008719, allocations: 0 / 0.8172 GB, free: 11.94 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.0008885/0.009607, allocations: 0.7595 MB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.009648, allocations: 8.031 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.009752, allocations: 56.66 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.01014, allocations: 346 kB / 0.8184 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.01017, allocations: 12.91 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.0102, allocations: 16.38 kB / 0.8184 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.01049, allocations: 185.2 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.0105, allocations: 3.938 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.01052, allocations: 11.98 kB / 0.8186 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01053, allocations: 4 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-05/0.01062, allocations: 52.42 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009018/0.01152, allocations: 0.8031 MB / 0.8194 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.01172, allocations: 107.5 kB / 0.8195 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.01178, allocations: 40.73 kB / 0.8196 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.01179, allocations: 0 / 0.8196 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.01198, allocations: 133.3 kB / 0.8197 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.01198, allocations: 0 / 0.8197 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0003463/0.01232, allocations: 174.2 kB / 0.8198 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.01238, allocations: 106.8 kB / 0.82 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.01278, allocations: 491.5 kB / 0.8204 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.01281, allocations: 33.7 kB / 0.8205 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.01297, allocations: 267.2 kB / 0.8207 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.01301, allocations: 41.84 kB / 0.8207 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.0131, allocations: 79.34 kB / 0.8208 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.01326, allocations: 0.5313 MB / 0.8213 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.01335, allocations: 39.97 kB / 0.8214 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.01349, allocations: 196.3 kB / 0.8216 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.01365, allocations: 140 kB / 0.8217 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01365, allocations: 0 / 0.8217 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003068/0.01396, allocations: 239.1 kB / 0.8219 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.01398, allocations: 11.94 kB / 0.8219 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.01398, allocations: 1.797 kB / 0.8219 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.014, allocations: 7.938 kB / 0.8219 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01415, allocations: 47.97 kB / 0.822 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.01415, allocations: 3.938 kB / 0.822 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.01426, allocations: 32.94 kB / 0.822 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.01429, allocations: 15.98 kB / 0.822 GB, free: 6.68 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,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.0001262/0.01442, allocations: 175.9 kB / 0.8222 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.01446, allocations: 47.66 kB / 0.8223 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.01471, allocations: 169.8 kB / 0.8224 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.01471, allocations: 0 / 0.8224 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01472, allocations: 0.6562 kB / 0.8224 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01472, allocations: 3.688 kB / 0.8224 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.01495, allocations: 276.9 kB / 0.8227 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01496, allocations: 0 / 0.8227 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.015, allocations: 12 kB / 0.8227 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.015, allocations: 0 / 0.8227 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.01502, allocations: 15.92 kB / 0.8227 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.01502, allocations: 0 / 0.8227 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01502, allocations: 0 / 0.8227 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.01525, allocations: 207.8 kB / 0.8229 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.0153, allocations: 51.64 kB / 0.823 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.01534, allocations: 13.77 kB / 0.823 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.0154, allocations: 15.97 kB / 0.823 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.01547, allocations: 23.95 kB / 0.823 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.01548, allocations: 4 kB / 0.823 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002236/0.0157, allocations: 304.1 kB / 0.8233 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0157, allocations: 0 / 0.8233 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003321/0.01604, allocations: 75.88 kB / 0.8234 GB, free: 5.246 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.001006/0.01704, allocations: 394.4 kB / 0.8238 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.01732, allocations: 138.4 kB / 0.8239 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01732, allocations: 3.938 kB / 0.8239 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.0174, allocations: 51.59 kB / 0.8239 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.01778, allocations: 98.22 kB / 0.824 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.01885, allocations: 0.5488 MB / 0.8246 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.659e-05/0.01892, allocations: 112.8 kB / 0.8247 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.01903, allocations: 59.23 kB / 0.8247 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.0191, allocations: 36.48 kB / 0.8248 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/0.01911, allocations: 4 kB / 0.8248 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.008321/0.02743, allocations: 5.393 MB / 0.83 GB, free: 14.61 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: 5.070530000142753]