Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.086/5.086, allocations: 0.5623 GB / 0.5775 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003749/0.003749, allocations: 358 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.213/4.213, allocations: 410.7 MB / 1.113 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001812/0.001812, allocations: 182.4 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005158, allocations: 16 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.7501, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.9476, allocations: 137.2 MB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.9479, allocations: 76.69 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.007669/0.9556, allocations: 2.285 MB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9556, allocations: 0.875 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.9556, allocations: 7.984 kB / 1.598 GB, free: 144.7 MB / 0.8542 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.000527/0.9562, allocations: 471.7 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.9562, allocations: 16.44 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.9563, allocations: 27.62 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.9567, allocations: 258.6 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.9567, allocations: 21.03 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.9568, allocations: 19.44 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/0.9574, allocations: 346.5 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.9574, allocations: 3.938 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.9574, allocations: 8 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.9575, allocations: 4.781 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.9579, allocations: 231.8 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.9596, allocations: 1.421 MB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.348e-05/0.9596, allocations: 166.3 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.9597, allocations: 82.14 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.9597, allocations: 75.28 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.9597, allocations: 118.4 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.9598, allocations: 1.406 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001052/0.9599, allocations: 47.11 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.9599, allocations: 126.7 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.9606, allocations: 0.5008 MB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.9606, allocations: 26.42 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.9608, allocations: 169.1 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-06/0.9608, allocations: 4 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.9608, allocations: 4 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.9609, allocations: 335.4 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-05/0.961, allocations: 47.95 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.9611, allocations: 104.2 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.9613, allocations: 59.36 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.9613, allocations: 0 / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003725/0.9616, allocations: 178.6 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.9617, allocations: 8 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9617, allocations: 0 / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.9617, allocations: 9.406 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.9619, allocations: 23.92 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.9619, allocations: 0 / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.9621, allocations: 47.62 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.9621, allocations: 4.656 kB / 1.602 GB, free: 139.6 MB / 0.8542 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.0001666/0.9623, allocations: 245.9 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.618e-05/0.9624, allocations: 129.6 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.9625, allocations: 131.3 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.531e-05/0.9625, allocations: 187.3 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.522e-05/0.9625, allocations: 180.3 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/0.9626, allocations: 180.3 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.9629, allocations: 497.3 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.9629, allocations: 103.2 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.9629, allocations: 108.9 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.4e-05/0.963, allocations: 180.3 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.963, allocations: 181 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.409e-05/0.9631, allocations: 185.8 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.245e-05/0.9631, allocations: 176.3 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.9632, allocations: 338.5 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.9634, allocations: 231.5 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.9635, allocations: 184.2 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.9636, allocations: 105 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.9637, allocations: 183.3 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.9637, allocations: 105 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004946/0.9642, allocations: 359 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9642, allocations: 0 / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003736/0.9646, allocations: 24.53 kB / 1.606 GB, free: 135.4 MB / 0.8542 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.0001419/0.9648, allocations: 180.1 kB / 1.606 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.965, allocations: 69.92 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.965, allocations: 0 / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.965, allocations: 3.938 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.9655, allocations: 0.5488 MB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.9662, allocations: 490.9 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.9665, allocations: 0.7807 MB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.9666, allocations: 54.08 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.9667, allocations: 15.44 kB / 1.608 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/0.9667, allocations: 0.6562 kB / 1.608 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.005695/0.9724, allocations: 1.6 MB / 1.61 GB, free: 131.7 MB / 0.8542 GB