Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004276/0.004279, allocations: 230.8 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001152/0.001152, allocations: 171.8 kB / 16.7 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.912/3.912, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.068/4.068, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006565/0.0006567, allocations: 16.22 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.23, allocations: 98.72 MB / 1.105 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7824/1.013, allocations: 124.3 MB / 1.226 GB, free: 28.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.013, allocations: 77.7 kB / 1.226 GB, free: 28.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006357/1.019, allocations: 1.447 MB / 1.228 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/1.019, allocations: 4 kB / 1.228 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.687e-05/1.019, allocations: 7.469 kB / 1.228 GB, free: 27.55 MB / 0.6198 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.0008922/1.02, allocations: 470 kB / 1.228 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.02, allocations: 12.03 kB / 1.228 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/1.02, allocations: 13.53 kB / 1.228 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/1.021, allocations: 209.5 kB / 1.228 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/1.021, allocations: 4 kB / 1.228 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/1.021, allocations: 7.188 kB / 1.228 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/1.021, allocations: 166.5 kB / 1.228 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.021, allocations: 0 / 1.228 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/1.021, allocations: 3.75 kB / 1.228 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.021, allocations: 3.375 kB / 1.228 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009237/1.022, allocations: 204.5 kB / 1.229 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/1.024, allocations: 0.5123 MB / 1.229 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/1.025, allocations: 182.7 kB / 1.229 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/1.026, allocations: 112.1 kB / 1.229 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/1.026, allocations: 4.203 kB / 1.229 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/1.026, allocations: 36.75 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.066e-06/1.026, allocations: 2.438 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001523/1.027, allocations: 335.8 kB / 1.23 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/1.027, allocations: 84.36 kB / 1.23 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/1.028, allocations: 157.2 kB / 1.23 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/1.028, allocations: 33.64 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/1.028, allocations: 108.8 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/1.028, allocations: 21.34 kB / 1.23 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/1.028, allocations: 3.312 kB / 1.23 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.028, allocations: 325.2 kB / 1.23 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/1.028, allocations: 88.86 kB / 1.231 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/1.029, allocations: 119.2 kB / 1.231 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/1.029, allocations: 99.72 kB / 1.231 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.029, allocations: 0 / 1.231 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001026/1.03, allocations: 240.7 kB / 1.231 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.03, allocations: 4 kB / 1.231 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.03, allocations: 0 / 1.231 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/1.03, allocations: 4.609 kB / 1.231 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/1.031, allocations: 43.28 kB / 1.231 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.031, allocations: 8.531 kB / 1.231 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/1.031, allocations: 37.08 kB / 1.231 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/1.031, allocations: 1.734 kB / 1.231 GB, free: 24.52 MB / 0.6198 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.0001872/1.031, allocations: 132.3 kB / 1.231 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/1.031, allocations: 8.703 kB / 1.231 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/1.032, allocations: 20.91 kB / 1.231 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.032, allocations: 8.531 kB / 1.231 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/1.032, allocations: 3.953 kB / 1.231 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.032, allocations: 2.672 kB / 1.231 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/1.032, allocations: 224.3 kB / 1.231 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/1.032, allocations: 0 / 1.231 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/1.032, allocations: 41.67 kB / 1.231 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.032, allocations: 0.8906 kB / 1.231 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.032, allocations: 7.938 kB / 1.231 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/1.032, allocations: 0 / 1.231 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.032, allocations: 0 / 1.231 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/1.034, allocations: 418.1 kB / 1.232 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/1.034, allocations: 86.23 kB / 1.232 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/1.034, allocations: 3.938 kB / 1.232 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/1.035, allocations: 32.91 kB / 1.232 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/1.035, allocations: 11.45 kB / 1.232 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/1.035, allocations: 4 kB / 1.232 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001382/1.035, allocations: 128.4 kB / 1.232 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.035, allocations: 1.594 kB / 1.232 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003823/1.035, allocations: 19.94 kB / 1.232 GB, free: 39.52 MB / 0.6355 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.0001436/1.035, allocations: 109 kB / 1.232 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.036, allocations: 207.9 kB / 1.232 GB, free: 39.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.036, allocations: 0 / 1.232 GB, free: 39.28 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004773/1.037, allocations: 107.1 kB / 1.233 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/1.037, allocations: 14.17 kB / 1.233 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/1.038, allocations: 275.9 kB / 1.233 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/1.038, allocations: 0.7219 MB / 1.234 GB, free: 38.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001408/1.039, allocations: 28.52 kB / 1.234 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/1.039, allocations: 11.44 kB / 1.234 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/1.039, allocations: 0 / 1.234 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.00463/1.043, allocations: 0.9515 MB / 1.235 GB, free: 37.72 MB / 0.6355 GB