Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 191.1 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.599/1.599, allocations: 251.6 MB / 0.5089 GB, free: 3.25 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 71.89 kB / 0.6218 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6612, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002434/0.6637, allocations: 0.7306 MB / 0.7247 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001467/0.6638, allocations: 15.92 kB / 0.7247 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.6639, allocations: 3.938 kB / 0.7247 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.664, allocations: 0 / 0.7247 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.908e-05/0.6641, allocations: 3.938 kB / 0.7247 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.812e-05/0.6641, allocations: 8 kB / 0.7248 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.068e-05/0.6642, allocations: 19.98 kB / 0.7248 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.6644, allocations: 35.98 kB / 0.7248 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.6645, allocations: 15.92 kB / 0.7248 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.6645, allocations: 19.92 kB / 0.7248 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.6645, allocations: 4 kB / 0.7248 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.6646, allocations: 0 / 0.7248 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.6646, allocations: 11.94 kB / 0.7249 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.6647, allocations: 23.86 kB / 0.7249 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.575e-05/0.6648, allocations: 39.88 kB / 0.7249 GB, free: 12.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6648, allocations: 3.938 kB / 0.7249 GB, free: 12.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6648, allocations: 0 / 0.7249 GB, free: 12.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.6648, allocations: 0 / 0.7249 GB, free: 12.19 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004008/0.6652, allocations: 369.2 kB / 0.7253 GB, free: 11.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6652, allocations: 8.031 kB / 0.7253 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.6653, allocations: 8.844 kB / 0.7253 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.6655, allocations: 172.4 kB / 0.7255 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.6655, allocations: 4.375 kB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.6655, allocations: 4.375 kB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.6657, allocations: 74.22 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.6657, allocations: 4.188 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.6657, allocations: 7.938 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.6657, allocations: 0 / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.217e-05/0.6658, allocations: 59.89 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.6663, allocations: 483.1 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.6664, allocations: 169.1 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.6665, allocations: 84.14 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.6665, allocations: 79.28 kB / 0.7264 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.6666, allocations: 106 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.6666, allocations: 3.938 kB / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.538e-05/0.6667, allocations: 37.55 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.6667, allocations: 126.7 kB / 0.7266 GB, free: 10.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.6669, allocations: 177.5 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.667, allocations: 29.69 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.6671, allocations: 100 kB / 0.7269 GB, free: 9.922 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-06/0.6671, allocations: 0 / 0.7269 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.6671, allocations: 13.72 kB / 0.7269 GB, free: 9.902 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6673, allocations: 318.8 kB / 0.7272 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.6673, allocations: 4 kB / 0.7273 GB, free: 9.578 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.6673, allocations: 11.98 kB / 0.7273 GB, free: 9.566 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.6674, allocations: 12.86 kB / 0.7273 GB, free: 9.551 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6674, allocations: 0 / 0.7273 GB, free: 9.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001352/0.6675, allocations: 57.67 kB / 0.7273 GB, free: 9.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6675, allocations: 9.875 kB / 0.7273 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.6676, allocations: 0 / 0.7273 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6676, allocations: 0 / 0.7273 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.6676, allocations: 0 / 0.7273 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.6677, allocations: 7.938 kB / 0.7273 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.6677, allocations: 7.906 kB / 0.7274 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.6677, allocations: 3.984 kB / 0.7274 GB, free: 9.461 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001388/0.6679, allocations: 197.1 kB / 0.7275 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.668, allocations: 108.9 kB / 0.7277 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.069e-05/0.668, allocations: 124.8 kB / 0.7278 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.756e-05/0.6681, allocations: 176.3 kB / 0.7279 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001058/0.6683, allocations: 192.2 kB / 0.7281 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.583e-05/0.6683, allocations: 180.2 kB / 0.7283 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.6687, allocations: 425.2 kB / 0.7287 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-05/0.6687, allocations: 104.9 kB / 0.7288 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.6688, allocations: 101 kB / 0.7289 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.179e-05/0.6688, allocations: 184.2 kB / 0.7291 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/0.6689, allocations: 176.3 kB / 0.7292 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-05/0.669, allocations: 184.2 kB / 0.7294 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.034e-05/0.6691, allocations: 188.1 kB / 0.7296 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.6693, allocations: 303.8 kB / 0.7299 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.6694, allocations: 194 kB / 0.7301 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.6695, allocations: 180.2 kB / 0.7302 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.6696, allocations: 112.9 kB / 0.7303 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/0.6697, allocations: 180.2 kB / 0.7305 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.6697, allocations: 105.2 kB / 0.7306 GB, free: 5.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001184/0.6698, allocations: 131.2 kB / 0.7307 GB, free: 5.762 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6698, allocations: 0 / 0.7307 GB, free: 5.762 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002552/0.6701, allocations: 8 kB / 0.7308 GB, free: 5.754 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001984/0.6703, allocations: 182.5 kB / 0.7309 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.27e-05/0.6704, allocations: 12 kB / 0.7309 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6704, allocations: 4 kB / 0.7309 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.6704, allocations: 0 / 0.7309 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.6709, allocations: 459.7 kB / 0.7314 GB, free: 5.098 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.6713, allocations: 232 kB / 0.7316 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.6716, allocations: 0.6963 MB / 0.7323 GB, free: 4.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.6716, allocations: 8 kB / 0.7323 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.6716, allocations: 7.438 kB / 0.7323 GB, free: 4.105 MB / 0.545 GB Notification: Performance of SimCode: time 1.7e-07/0.6716, allocations: 0 / 0.7323 GB, free: 4.105 MB / 0.545 GB Notification: Performance of Templates: time 0.002573/0.6742, allocations: 471.6 kB / 0.7327 GB, free: 3.648 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)