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.MultiSum.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.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009228, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001248/0.001248, allocations: 168.7 kB / 15.95 MB, free: 204 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.812/1.812, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.621/1.621, allocations: 252 MB / 0.5102 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.0006136/0.0006138, allocations: 23.98 kB / 0.6243 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6403/0.6409, allocations: 106.3 MB / 0.7282 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001905/0.6429, allocations: 1.309 MB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004667/0.6434, allocations: 188.3 kB / 0.7296 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.6434, allocations: 3.938 kB / 0.7296 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.6436, allocations: 7.922 kB / 0.7296 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.6437, allocations: 27.8 kB / 0.7296 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.6438, allocations: 31.95 kB / 0.7297 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.644, allocations: 119.6 kB / 0.7298 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.6442, allocations: 45.5 kB / 0.7298 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.6443, allocations: 39.84 kB / 0.7299 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.6444, allocations: 75.67 kB / 0.7299 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.6444, allocations: 4 kB / 0.7299 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.6444, allocations: 4 kB / 0.73 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.6445, allocations: 35.89 kB / 0.73 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.6446, allocations: 45.64 kB / 0.73 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.6447, allocations: 117.7 kB / 0.7301 GB, free: 9.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6447, allocations: 0 / 0.7301 GB, free: 9.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6447, allocations: 0 / 0.7301 GB, free: 9.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.6447, allocations: 0 / 0.7301 GB, free: 9.34 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009496/0.6457, allocations: 0.5141 MB / 0.7306 GB, free: 8.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.6457, allocations: 12.03 kB / 0.7307 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.6458, allocations: 19.72 kB / 0.7307 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.646, allocations: 210.8 kB / 0.7309 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.646, allocations: 11.98 kB / 0.7309 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.6461, allocations: 8 kB / 0.7309 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.6466, allocations: 201.5 kB / 0.7311 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.6466, allocations: 3.938 kB / 0.7311 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.6466, allocations: 7.953 kB / 0.7311 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.6466, allocations: 8 kB / 0.7311 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/0.6474, allocations: 279 kB / 0.7314 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.6484, allocations: 0.5315 MB / 0.7319 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.6488, allocations: 174.5 kB / 0.7321 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.6492, allocations: 152.7 kB / 0.7322 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.6492, allocations: 0 / 0.7322 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.6493, allocations: 30.75 kB / 0.7322 GB, free: 7.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.245e-06/0.6493, allocations: 0 / 0.7322 GB, free: 7.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.001161/0.6504, allocations: 449.3 kB / 0.7327 GB, free: 6.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.6505, allocations: 59.3 kB / 0.7327 GB, free: 6.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.6507, allocations: 178.8 kB / 0.7329 GB, free: 6.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.6507, allocations: 29.7 kB / 0.7329 GB, free: 6.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.6508, allocations: 127.9 kB / 0.733 GB, free: 6.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.6508, allocations: 35.48 kB / 0.7331 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.6509, allocations: 4 kB / 0.7331 GB, free: 6.133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.651, allocations: 326.8 kB / 0.7334 GB, free: 5.805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.6513, allocations: 131.9 kB / 0.7335 GB, free: 5.676 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.6517, allocations: 127.9 kB / 0.7336 GB, free: 5.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.652, allocations: 131.9 kB / 0.7338 GB, free: 5.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.652, allocations: 0 / 0.7338 GB, free: 5.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007375/0.6528, allocations: 317.2 kB / 0.7341 GB, free: 5.105 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6528, allocations: 4 kB / 0.7341 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6528, allocations: 0 / 0.7341 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6528, allocations: 0 / 0.7341 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.6531, allocations: 59.94 kB / 0.7341 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.6532, allocations: 7.953 kB / 0.7341 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.6533, allocations: 43.95 kB / 0.7342 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.6534, allocations: 8 kB / 0.7342 GB, free: 4.984 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 (9): * Single equations (assignments): 9 * 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 0.0001201/0.6535, allocations: 125.8 kB / 0.7343 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.6535, allocations: 20.47 kB / 0.7343 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.6536, allocations: 21.39 kB / 0.7343 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6536, allocations: 0 / 0.7343 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.6536, allocations: 4 kB / 0.7343 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.6536, allocations: 3.953 kB / 0.7344 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.6539, allocations: 241.6 kB / 0.7346 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6539, allocations: 3.984 kB / 0.7346 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.6541, allocations: 59.89 kB / 0.7346 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.6542, allocations: 8 kB / 0.7346 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6542, allocations: 0 / 0.7346 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.6542, allocations: 0 / 0.7346 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6542, allocations: 0 / 0.7346 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007776/0.655, allocations: 419 kB / 0.735 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.655, allocations: 96.84 kB / 0.7351 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.6551, allocations: 4 kB / 0.7351 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.6553, allocations: 39.95 kB / 0.7352 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.6554, allocations: 19.98 kB / 0.7352 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.6554, allocations: 0 / 0.7352 GB, free: 3.848 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001026/0.6555, allocations: 135.2 kB / 0.7353 GB, free: 3.715 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6555, allocations: 3.938 kB / 0.7353 GB, free: 3.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002502/0.6557, allocations: 24 kB / 0.7354 GB, free: 3.688 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 (9): * Single equations (assignments): 9 * 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.000187/0.6559, allocations: 107.2 kB / 0.7355 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007411/0.6567, allocations: 271.7 kB / 0.7357 GB, free: 3.309 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6567, allocations: 4 kB / 0.7357 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.6571, allocations: 143.9 kB / 0.7359 GB, free: 3.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.6574, allocations: 36.34 kB / 0.7359 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.658, allocations: 338.5 kB / 0.7362 GB, free: 2.773 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.6584, allocations: 0.7278 MB / 0.7369 GB, free: 2.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.431e-05/0.6585, allocations: 28.39 kB / 0.737 GB, free: 1.992 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.6585, allocations: 11.44 kB / 0.737 GB, free: 1.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6585, allocations: 0 / 0.737 GB, free: 1.98 MB / 0.545 GB Notification: Performance of Templates: time 0.003919/0.6625, allocations: 1.486 MB / 0.7384 GB, free: 0.5156 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) Environment - environmentSimulation: