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.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 100 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.00125/0.00125, 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.674/1.674, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.603/1.603, allocations: 251.9 MB / 0.51 GB, free: 4.879 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.000567/0.0005671, allocations: 23.98 kB / 0.6242 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6547, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001606/0.6564, allocations: 1.141 MB / 0.7291 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.6567, allocations: 116.6 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.6567, allocations: 0 / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.6567, allocations: 3.938 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.6568, allocations: 7.984 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.122e-05/0.6569, allocations: 15.98 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.657, allocations: 23.97 kB / 0.7293 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.6571, allocations: 7.984 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.6571, allocations: 19.86 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.6572, allocations: 23.91 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.6572, allocations: 0 / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.6572, allocations: 8 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.6573, allocations: 3.938 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.6573, allocations: 29.7 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.72e-05/0.6574, allocations: 35.92 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.6574, allocations: 0 / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6574, allocations: 0 / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.6574, allocations: 0 / 0.7294 GB, free: 10.02 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.0005706/0.658, allocations: 377.1 kB / 0.7297 GB, free: 9.605 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.658, allocations: 8.031 kB / 0.7297 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.658, allocations: 0 / 0.7297 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.6582, allocations: 182.8 kB / 0.7299 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.6582, allocations: 4 kB / 0.7299 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.6582, allocations: 4 kB / 0.7299 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.6585, allocations: 81.66 kB / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6585, allocations: 0 / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.6585, allocations: 0 / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6585, allocations: 0 / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.6589, allocations: 87.92 kB / 0.7301 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.6592, allocations: 280.8 kB / 0.7304 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.6595, allocations: 70.52 kB / 0.7304 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.6595, allocations: 0 / 0.7304 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.6595, allocations: 34.56 kB / 0.7305 GB, free: 8.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.6595, allocations: 0 / 0.7305 GB, free: 8.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005559/0.6601, allocations: 169.5 kB / 0.7306 GB, free: 8.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.6601, allocations: 51.41 kB / 0.7307 GB, free: 8.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.977e-05/0.6602, allocations: 118 kB / 0.7308 GB, free: 8.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.6603, allocations: 29.7 kB / 0.7308 GB, free: 8.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.6603, allocations: 88.14 kB / 0.7309 GB, free: 8.266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.6603, allocations: 3.906 kB / 0.7309 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.6604, allocations: 4 kB / 0.7309 GB, free: 8.258 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6605, allocations: 322.8 kB / 0.7312 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.6606, allocations: 39.97 kB / 0.7312 GB, free: 7.895 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.6608, allocations: 47.89 kB / 0.7313 GB, free: 7.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.6609, allocations: 43.97 kB / 0.7313 GB, free: 7.805 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.661, allocations: 0 / 0.7313 GB, free: 7.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003287/0.6613, allocations: 121.5 kB / 0.7315 GB, free: 7.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.6613, allocations: 4 kB / 0.7315 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.6613, allocations: 3.938 kB / 0.7315 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6613, allocations: 0 / 0.7315 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.6615, allocations: 23.97 kB / 0.7315 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6615, allocations: 4 kB / 0.7315 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.6616, allocations: 19.98 kB / 0.7315 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.6616, allocations: 7.984 kB / 0.7315 GB, free: 7.617 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 8.695e-05/0.6617, allocations: 112.9 kB / 0.7316 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.6617, allocations: 4 kB / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.6618, allocations: 11.89 kB / 0.7316 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6618, allocations: 4 kB / 0.7316 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.6618, allocations: 0 / 0.7316 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6618, allocations: 0 / 0.7316 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.662, allocations: 177.5 kB / 0.7318 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.662, allocations: 0 / 0.7318 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.6621, allocations: 19.97 kB / 0.7318 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.6621, allocations: 4 kB / 0.7318 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.6621, allocations: 0 / 0.7318 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6621, allocations: 4 kB / 0.7318 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6621, allocations: 0 / 0.7318 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.6625, allocations: 219.4 kB / 0.732 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.6626, allocations: 81.02 kB / 0.7321 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.6626, allocations: 4.375 kB / 0.7321 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.6627, allocations: 23.97 kB / 0.7322 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.6628, allocations: 8 kB / 0.7322 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.6628, allocations: 0 / 0.7322 GB, free: 6.859 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.6628, allocations: 95.2 kB / 0.7322 GB, free: 6.766 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6628, allocations: 0 / 0.7322 GB, free: 6.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002125/0.663, allocations: 11.94 kB / 0.7323 GB, free: 6.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 (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.0001458/0.6632, allocations: 95.25 kB / 0.7324 GB, free: 6.652 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.6636, allocations: 96.23 kB / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6636, allocations: 0 / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.6637, allocations: 55.89 kB / 0.7325 GB, free: 6.504 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.6639, allocations: 11.95 kB / 0.7325 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.6642, allocations: 132.9 kB / 0.7326 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.6645, allocations: 0.6848 MB / 0.7333 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.6645, allocations: 7.844 kB / 0.7333 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.6646, allocations: 7.438 kB / 0.7333 GB, free: 5.613 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6646, allocations: 0 / 0.7333 GB, free: 5.613 MB / 0.545 GB Notification: Performance of Templates: time 0.002593/0.6672, allocations: 0.5319 MB / 0.7338 GB, free: 5.09 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) Environment - environmentSimulation: