Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.003/5.003, allocations: 0.5623 GB / 0.5776 GB, free: 3.309 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.002447/0.002447, allocations: 360 kB / 0.6447 GB, free: 185.6 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.187/4.187, allocations: 410.7 MB / 1.113 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001714/0.001713, allocations: 182.5 kB / 1.226 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006467/0.000647, allocations: 16 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2088, allocations: 115.2 MB / 1.461 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9259/1.135, allocations: 137.4 MB / 1.596 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/1.135, allocations: 67.72 kB / 1.596 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.005772/1.141, allocations: 1.414 MB / 1.597 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.794e-06/1.141, allocations: 3.938 kB / 1.597 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.444e-05/1.141, allocations: 4 kB / 1.597 GB, free: 2.941 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009213/1.142, allocations: 468.2 kB / 1.597 GB, free: 2.445 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/1.142, allocations: 8.031 kB / 1.597 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/1.142, allocations: 18.69 kB / 1.597 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/1.142, allocations: 208 kB / 1.598 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/1.142, allocations: 6.875 kB / 1.598 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/1.142, allocations: 4 kB / 1.598 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/1.143, allocations: 168.5 kB / 1.598 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.143, allocations: 0 / 1.598 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/1.143, allocations: 6.75 kB / 1.598 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.143, allocations: 0 / 1.598 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/1.144, allocations: 202.4 kB / 1.598 GB, free: 1.848 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/1.145, allocations: 0.5198 MB / 1.599 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/1.146, allocations: 179.4 kB / 1.599 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/1.146, allocations: 114.2 kB / 1.599 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/1.146, allocations: 0 / 1.599 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/1.146, allocations: 34.55 kB / 1.599 GB, free: 1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/1.146, allocations: 0 / 1.599 GB, free: 1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.001465/1.148, allocations: 328.7 kB / 1.599 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/1.148, allocations: 85.06 kB / 1.599 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/1.148, allocations: 164.2 kB / 1.599 GB, free: 468 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/1.148, allocations: 29.64 kB / 1.599 GB, free: 432 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/1.148, allocations: 109.3 kB / 1.6 GB, free: 332 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/1.148, allocations: 27 kB / 1.6 GB, free: 308 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/1.148, allocations: 3.938 kB / 1.6 GB, free: 304 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.148, allocations: 327.9 kB / 1.6 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/1.149, allocations: 93.61 kB / 1.6 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/1.149, allocations: 107 kB / 1.6 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/1.15, allocations: 97.92 kB / 1.6 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.15, allocations: 0 / 1.6 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001042/1.151, allocations: 246.8 kB / 1.6 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.151, allocations: 4 kB / 1.6 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.151, allocations: 0 / 1.6 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.151, allocations: 4.562 kB / 1.6 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/1.151, allocations: 43.95 kB / 1.6 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.151, allocations: 3.953 kB / 1.6 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/1.151, allocations: 41.16 kB / 1.6 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/1.151, allocations: 10.23 kB / 1.601 GB, free: 15.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001539/1.152, allocations: 128.3 kB / 1.601 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/1.152, allocations: 7.906 kB / 1.601 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/1.152, allocations: 19.05 kB / 1.601 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.152, allocations: 7.938 kB / 1.601 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.152, allocations: 0 / 1.601 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.152, allocations: 3.953 kB / 1.601 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/1.152, allocations: 226.2 kB / 1.601 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.152, allocations: 4 kB / 1.601 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/1.153, allocations: 47.45 kB / 1.601 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.153, allocations: 0 / 1.601 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/1.153, allocations: 0 / 1.601 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.153, allocations: 4 kB / 1.601 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.153, allocations: 0 / 1.601 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.154, allocations: 415.6 kB / 1.601 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/1.154, allocations: 85.02 kB / 1.601 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/1.154, allocations: 7.188 kB / 1.601 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/1.154, allocations: 35.95 kB / 1.601 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/1.154, allocations: 11.17 kB / 1.601 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.154, allocations: 4 kB / 1.601 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001428/1.155, allocations: 119.5 kB / 1.602 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.155, allocations: 0 / 1.602 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003585/1.155, allocations: 19.91 kB / 1.602 GB, free: 14.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001559/1.155, allocations: 117.9 kB / 1.602 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.156, allocations: 201.8 kB / 1.602 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.156, allocations: 0 / 1.602 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005116/1.157, allocations: 105.7 kB / 1.602 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/1.157, allocations: 14.33 kB / 1.602 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007443/1.158, allocations: 274.8 kB / 1.602 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/1.158, allocations: 0.7231 MB / 1.603 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001631/1.159, allocations: 27.95 kB / 1.603 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/1.159, allocations: 11.44 kB / 1.603 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/1.159, allocations: 0 / 1.603 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of Templates: time 0.004979/1.164, allocations: 0.9519 MB / 1.604 GB, free: 11.88 MB / 0.6823 GB