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.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001064/0.001064, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.724/1.724, allocations: 251.9 MB / 0.51 GB, free: 4.824 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.0006607/0.0006606, allocations: 20 kB / 0.6242 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7613/0.762, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001834/0.7639, allocations: 1.126 MB / 0.7291 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003321/0.7643, allocations: 115.2 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.7643, allocations: 4 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.7644, allocations: 0 / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.7645, allocations: 0 / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.961e-05/0.7645, allocations: 7.984 kB / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.7646, allocations: 27.91 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.7648, allocations: 15.98 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.7649, allocations: 23.91 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.7649, allocations: 11.98 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.765, allocations: 0 / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-06/0.765, allocations: 7.938 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.765, allocations: 0 / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.765, allocations: 29.7 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.926e-05/0.7651, allocations: 31.92 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.7651, allocations: 3.938 kB / 0.7294 GB, free: 10.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7651, allocations: 0 / 0.7294 GB, free: 10.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.7652, allocations: 0 / 0.7294 GB, free: 10.01 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006941/0.7659, allocations: 373.1 kB / 0.7297 GB, free: 9.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.7659, allocations: 12.03 kB / 0.7297 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.7659, allocations: 0 / 0.7297 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.7661, allocations: 171 kB / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.7661, allocations: 4 kB / 0.7299 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.7662, allocations: 4 kB / 0.7299 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.7665, allocations: 77.64 kB / 0.73 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.7665, allocations: 0 / 0.73 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.7665, allocations: 0 / 0.73 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.7665, allocations: 4 kB / 0.73 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.7669, allocations: 87.92 kB / 0.7301 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.7673, allocations: 280.8 kB / 0.7303 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.7675, allocations: 70.53 kB / 0.7304 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.7676, allocations: 0 / 0.7304 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.7676, allocations: 30.56 kB / 0.7304 GB, free: 8.762 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.7676, allocations: 0 / 0.7304 GB, free: 8.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006745/0.7683, allocations: 169.6 kB / 0.7306 GB, free: 8.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.7683, allocations: 55.41 kB / 0.7306 GB, free: 8.523 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.7684, allocations: 105.8 kB / 0.7307 GB, free: 8.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.7685, allocations: 29.7 kB / 0.7308 GB, free: 8.375 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.7686, allocations: 95.92 kB / 0.7309 GB, free: 8.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.7686, allocations: 7.906 kB / 0.7309 GB, free: 8.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.7686, allocations: 0 / 0.7309 GB, free: 8.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.7688, allocations: 318.8 kB / 0.7312 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.769, allocations: 43.97 kB / 0.7312 GB, free: 7.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.7692, allocations: 47.95 kB / 0.7313 GB, free: 7.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.7693, allocations: 39.97 kB / 0.7313 GB, free: 7.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7693, allocations: 0 / 0.7313 GB, free: 7.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003097/0.7696, allocations: 113.6 kB / 0.7314 GB, free: 7.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7697, allocations: 8 kB / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.7697, allocations: 0 / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7697, allocations: 7.938 kB / 0.7314 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.7698, allocations: 23.97 kB / 0.7314 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7699, allocations: 4.25 kB / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.77, allocations: 15.98 kB / 0.7315 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.7701, allocations: 4 kB / 0.7315 GB, free: 7.641 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.94e-05/0.7702, allocations: 120.9 kB / 0.7316 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.7702, allocations: 3.906 kB / 0.7316 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.7702, allocations: 7.906 kB / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.7702, allocations: 3.984 kB / 0.7316 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7703, allocations: 4 kB / 0.7316 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7703, allocations: 0 / 0.7316 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.7704, allocations: 169.6 kB / 0.7318 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7704, allocations: 0 / 0.7318 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.7705, allocations: 19.98 kB / 0.7318 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7706, allocations: 4 kB / 0.7318 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.7706, allocations: 0 / 0.7318 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7706, allocations: 0 / 0.7318 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7706, allocations: 3.984 kB / 0.7318 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.771, allocations: 215.4 kB / 0.732 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.7711, allocations: 85.02 kB / 0.7321 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.7711, allocations: 0 / 0.7321 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.7713, allocations: 19.98 kB / 0.7321 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.7713, allocations: 7.984 kB / 0.7321 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.7713, allocations: 0 / 0.7321 GB, free: 6.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.7714, allocations: 95.25 kB / 0.7322 GB, free: 6.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7714, allocations: 0 / 0.7322 GB, free: 6.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000211/0.7716, allocations: 4 kB / 0.7322 GB, free: 6.793 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001754/0.7718, allocations: 103.2 kB / 0.7323 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.7721, allocations: 87.92 kB / 0.7324 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7721, allocations: 0 / 0.7324 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.7723, allocations: 47.91 kB / 0.7324 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.7726, allocations: 23.88 kB / 0.7325 GB, free: 6.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.773, allocations: 135.5 kB / 0.7326 GB, free: 6.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.7733, allocations: 0.6848 MB / 0.7333 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.223e-05/0.7734, allocations: 4 kB / 0.7333 GB, free: 5.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.7734, allocations: 11.44 kB / 0.7333 GB, free: 5.648 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.7734, allocations: 0 / 0.7333 GB, free: 5.648 MB / 0.545 GB Notification: Performance of Templates: time 0.003493/0.7769, allocations: 0.5233 MB / 0.7338 GB, free: 5.133 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) Environment - environmentSimulation: