Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.558/1.558, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009614/0.0009612, allocations: 191.1 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007638/0.0007638, allocations: 98.81 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003767, allocations: 12 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5908/0.5912, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.7679, allocations: 140.6 MB / 1.164 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001655/0.7681, allocations: 71.25 kB / 1.164 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005106/0.7732, allocations: 2.299 MB / 1.166 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7732, allocations: 0 / 1.166 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.7732, allocations: 4.781 kB / 1.166 GB, free: 1.043 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003716/0.7736, allocations: 470.6 kB / 1.166 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.7737, allocations: 12.03 kB / 1.166 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.7737, allocations: 23.09 kB / 1.166 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.774, allocations: 274.4 kB / 1.167 GB, free: 248 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.774, allocations: 17.97 kB / 1.167 GB, free: 228 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.774, allocations: 17.75 kB / 1.167 GB, free: 212 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.7745, allocations: 354.2 kB / 1.167 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.7745, allocations: 1.469 kB / 1.167 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.7745, allocations: 4.797 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.7745, allocations: 8 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.7749, allocations: 230.9 kB / 1.167 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.7764, allocations: 1.417 MB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.665e-05/0.7765, allocations: 167.3 kB / 1.169 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.7765, allocations: 84.92 kB / 1.169 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.7765, allocations: 76 kB / 1.169 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.7766, allocations: 107.3 kB / 1.169 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.7766, allocations: 1.375 kB / 1.169 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.746e-05/0.7767, allocations: 53.98 kB / 1.169 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.7768, allocations: 127.4 kB / 1.169 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.7773, allocations: 0.4938 MB / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.7774, allocations: 26.48 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.7775, allocations: 170 kB / 1.17 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.7775, allocations: 4.969 kB / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.7775, allocations: 0 / 1.17 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.7776, allocations: 343.3 kB / 1.17 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.7777, allocations: 51.52 kB / 1.17 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.7778, allocations: 95.14 kB / 1.17 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.778, allocations: 102.2 kB / 1.17 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.778, allocations: 4 kB / 1.17 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002883/0.7783, allocations: 186.2 kB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7783, allocations: 6.016 kB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.7783, allocations: 4 kB / 1.171 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.7783, allocations: 0 / 1.171 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.7784, allocations: 19.28 kB / 1.171 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7784, allocations: 5.531 kB / 1.171 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.7785, allocations: 37.78 kB / 1.171 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.7786, allocations: 8.703 kB / 1.171 GB, free: 12.25 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001754/0.7788, allocations: 258.3 kB / 1.171 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/0.7788, allocations: 125.4 kB / 1.171 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.199e-05/0.7789, allocations: 143 kB / 1.171 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.696e-05/0.779, allocations: 177.3 kB / 1.171 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.569e-05/0.7791, allocations: 177 kB / 1.172 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.256e-05/0.7791, allocations: 196.8 kB / 1.172 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.7795, allocations: 494 kB / 1.172 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/0.7796, allocations: 105.5 kB / 1.172 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.7796, allocations: 101.6 kB / 1.172 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.356e-05/0.7797, allocations: 176.9 kB / 1.173 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.7797, allocations: 185.7 kB / 1.173 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.202e-05/0.7798, allocations: 181.3 kB / 1.173 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.043e-05/0.7799, allocations: 180.8 kB / 1.173 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.7801, allocations: 329.7 kB / 1.173 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.7802, allocations: 230 kB / 1.174 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.7803, allocations: 181.8 kB / 1.174 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.7804, allocations: 115 kB / 1.174 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.7805, allocations: 182 kB / 1.174 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.7805, allocations: 105.7 kB / 1.174 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003756/0.7809, allocations: 361.6 kB / 1.175 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.533e-06/0.7809, allocations: 0 / 1.175 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000255/0.7812, allocations: 27.94 kB / 1.175 GB, free: 8.207 MB / 0.7448 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 (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.0001444/0.7813, allocations: 179.2 kB / 1.175 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.7815, allocations: 61.33 kB / 1.175 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7815, allocations: 0 / 1.175 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.7815, allocations: 4 kB / 1.175 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.782, allocations: 0.5522 MB / 1.175 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.7826, allocations: 492 kB / 1.176 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.7829, allocations: 0.7784 MB / 1.177 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.233e-05/0.783, allocations: 47.22 kB / 1.177 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.7831, allocations: 20.19 kB / 1.177 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.7831, allocations: 0 / 1.177 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.004692/0.7878, allocations: 1.611 MB / 1.178 GB, free: 5.188 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1)