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.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006593/0.006593, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001269/0.001269, allocations: 185.1 kB / 16.67 MB, free: 5.918 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.652/1.652, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.545/1.545, allocations: 251.7 MB / 0.5094 GB, free: 2.934 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.001502/0.001502, allocations: 82.48 kB / 0.7259 GB, free: 8.941 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2593, allocations: 104.7 MB / 0.8281 GB, free: 140 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002656/0.262, allocations: 0.7633 MB / 0.8288 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003524/0.2624, allocations: 59.83 kB / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.2624, allocations: 0 / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.2627, allocations: 23.8 kB / 0.8289 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.2628, allocations: 11.98 kB / 0.8289 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.263, allocations: 27.95 kB / 0.829 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.2632, allocations: 123.6 kB / 0.8291 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.2635, allocations: 152.8 kB / 0.8292 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.2635, allocations: 67.78 kB / 0.8293 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.2636, allocations: 75.64 kB / 0.8294 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.2637, allocations: 12 kB / 0.8294 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.237e-05/0.2637, allocations: 12 kB / 0.8294 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.2638, allocations: 51.84 kB / 0.8294 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.366e-05/0.2639, allocations: 87.42 kB / 0.8295 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.2642, allocations: 235 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2642, allocations: 7.984 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2642, allocations: 3.938 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2642, allocations: 0 / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006326/0.2648, allocations: 0.509 MB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2649, allocations: 11.97 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.265, allocations: 24.8 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.2652, allocations: 252 kB / 0.8305 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.2653, allocations: 12.75 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.2653, allocations: 24.38 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.2658, allocations: 337.2 kB / 0.8309 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2658, allocations: 3.938 kB / 0.8309 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.2658, allocations: 8 kB / 0.8309 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.2659, allocations: 15.92 kB / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.2662, allocations: 259.9 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.2674, allocations: 1.092 MB / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.2675, allocations: 169.1 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.2675, allocations: 84.12 kB / 0.8325 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.2676, allocations: 79.28 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.2676, allocations: 110 kB / 0.8327 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.2676, allocations: 0 / 0.8327 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.000118/0.2678, allocations: 57.45 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.2678, allocations: 126.7 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.2684, allocations: 0.5003 MB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2684, allocations: 25.7 kB / 0.8333 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.2685, allocations: 175.9 kB / 0.8335 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.2685, allocations: 3.984 kB / 0.8335 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.2686, allocations: 37.64 kB / 0.8335 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2688, allocations: 338.8 kB / 0.8339 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.2689, allocations: 51.95 kB / 0.8339 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.269, allocations: 98.83 kB / 0.834 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.2691, allocations: 118.7 kB / 0.8341 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2691, allocations: 0 / 0.8341 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003086/0.2694, allocations: 185.3 kB / 0.8343 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2695, allocations: 11.94 kB / 0.8343 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2695, allocations: 0 / 0.8343 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2695, allocations: 7.984 kB / 0.8343 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2696, allocations: 32.17 kB / 0.8344 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2696, allocations: 4 kB / 0.8344 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.81e-05/0.2697, allocations: 35.77 kB / 0.8344 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.2698, allocations: 8 kB / 0.8344 GB, free: 9.391 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001789/0.2699, allocations: 253 kB / 0.8346 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.678e-05/0.27, allocations: 132.7 kB / 0.8348 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.333e-05/0.2701, allocations: 130.8 kB / 0.8349 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.342e-05/0.2702, allocations: 196.1 kB / 0.8351 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.85e-05/0.2703, allocations: 180.3 kB / 0.8353 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.771e-05/0.2703, allocations: 180.2 kB / 0.8354 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.2706, allocations: 489.1 kB / 0.8359 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/0.2707, allocations: 101 kB / 0.836 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.2707, allocations: 109 kB / 0.8361 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-05/0.2708, allocations: 192.2 kB / 0.8363 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-05/0.2709, allocations: 184.2 kB / 0.8364 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.188e-05/0.2709, allocations: 176.3 kB / 0.8366 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.913e-05/0.271, allocations: 176.3 kB / 0.8368 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.2711, allocations: 331.6 kB / 0.8371 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.2713, allocations: 218.1 kB / 0.8373 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.564e-05/0.2714, allocations: 188.2 kB / 0.8375 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2715, allocations: 109 kB / 0.8376 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.2715, allocations: 180.2 kB / 0.8378 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.2716, allocations: 105 kB / 0.8379 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003727/0.272, allocations: 367 kB / 0.8382 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.272, allocations: 0 / 0.8382 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002693/0.2722, allocations: 24 kB / 0.8382 GB, free: 5.227 MB / 0.6544 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.0001939/0.2724, allocations: 182.5 kB / 0.8384 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.2726, allocations: 68.27 kB / 0.8385 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2726, allocations: 4.062 kB / 0.8385 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.2726, allocations: 4 kB / 0.8385 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006815/0.2733, allocations: 481.1 kB / 0.8389 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.2739, allocations: 478.8 kB / 0.8394 GB, free: 4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.2742, allocations: 0.7787 MB / 0.8402 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.552e-05/0.2743, allocations: 49.53 kB / 0.8402 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.2744, allocations: 15.44 kB / 0.8402 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2744, allocations: 0 / 0.8402 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of Templates: time 0.004465/0.2789, allocations: 1.767 MB / 0.8419 GB, free: 1.375 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)