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.01213/0.01213, allocations: 109.4 kB / 15.05 MB, free: 5.965 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.001115/0.001115, allocations: 185 kB / 15.95 MB, free: 5.93 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 1.943/1.943, allocations: 194.5 MB / 211.2 MB, free: 11.1 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.264/2.264, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006077/0.0006079, allocations: 16 kB / 0.587 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6025/0.6031, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.7839, allocations: 124.3 MB / 0.8048 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.7842, allocations: 75.97 kB / 0.8048 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005451/0.7896, allocations: 1.456 MB / 0.8063 GB, free: 424 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.461e-06/0.7897, allocations: 0 / 0.8063 GB, free: 424 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.7897, allocations: 8 kB / 0.8063 GB, free: 416 kB / 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.0007681/0.7905, allocations: 470.7 kB / 0.8067 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7905, allocations: 12.03 kB / 0.8067 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.7906, allocations: 11.81 kB / 0.8067 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.7908, allocations: 202.8 kB / 0.8069 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.7909, allocations: 4 kB / 0.8069 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.7909, allocations: 8 kB / 0.8069 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.7914, allocations: 159.3 kB / 0.8071 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.373e-06/0.7914, allocations: 3.938 kB / 0.8071 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.7915, allocations: 8 kB / 0.8071 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-06/0.7915, allocations: 4 kB / 0.8071 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006832/0.7922, allocations: 199.8 kB / 0.8073 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.7932, allocations: 0.5203 MB / 0.8078 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.7938, allocations: 181.1 kB / 0.808 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.7938, allocations: 7.984 kB / 0.808 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.7939, allocations: 34.56 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 3.088e-06/0.7939, allocations: 3.938 kB / 0.808 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001169/0.795, allocations: 333.4 kB / 0.8083 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.7951, allocations: 81.06 kB / 0.8084 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.7953, allocations: 145.4 kB / 0.8086 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.7953, allocations: 29.7 kB / 0.8086 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.7954, allocations: 108 kB / 0.8087 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.7955, allocations: 23.7 kB / 0.8087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-06/0.7955, allocations: 0 / 0.8087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.7957, allocations: 326.8 kB / 0.809 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.796, allocations: 95.86 kB / 0.8091 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.7964, allocations: 109.6 kB / 0.8092 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.7967, allocations: 95.92 kB / 0.8093 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.759e-06/0.7967, allocations: 0 / 0.8093 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007419/0.7975, allocations: 233.4 kB / 0.8095 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.7975, allocations: 7.938 kB / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7975, allocations: 0 / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7975, allocations: 4 kB / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.7978, allocations: 43.95 kB / 0.8096 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9e-06/0.7979, allocations: 3.953 kB / 0.8096 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.7981, allocations: 43.81 kB / 0.8096 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.7981, allocations: 4 kB / 0.8096 GB, free: 12.71 MB / 0.6355 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.000144/0.7982, allocations: 125.8 kB / 0.8098 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.7983, allocations: 7.906 kB / 0.8098 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/0.7984, allocations: 24.23 kB / 0.8098 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.608e-06/0.7984, allocations: 4 kB / 0.8098 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.595e-06/0.7984, allocations: 0 / 0.8098 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.743e-06/0.7984, allocations: 3.953 kB / 0.8098 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.7988, allocations: 221.6 kB / 0.81 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-06/0.7989, allocations: 7.938 kB / 0.81 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.7991, allocations: 47.89 kB / 0.8101 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.725e-06/0.7991, allocations: 0 / 0.8101 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.7992, allocations: 4 kB / 0.8101 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.7992, allocations: 0 / 0.8101 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.077e-06/0.7992, allocations: 0 / 0.8101 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.8, allocations: 428.2 kB / 0.8105 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.8001, allocations: 85.48 kB / 0.8106 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.8002, allocations: 8 kB / 0.8106 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.8004, allocations: 35.95 kB / 0.8106 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.8005, allocations: 11.94 kB / 0.8106 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.8006, allocations: 11.94 kB / 0.8106 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001291/0.8007, allocations: 118.1 kB / 0.8107 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.71e-07/0.8007, allocations: 0 / 0.8107 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004032/0.8011, allocations: 23.94 kB / 0.8108 GB, free: 11.46 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.0001618/0.8013, allocations: 111.2 kB / 0.8109 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007402/0.802, allocations: 207.8 kB / 0.8111 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8021, allocations: 0 / 0.8111 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.8024, allocations: 103.9 kB / 0.8112 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.8028, allocations: 8 kB / 0.8112 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.8034, allocations: 282.2 kB / 0.8114 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.8038, allocations: 0.716 MB / 0.8121 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.804, allocations: 27.97 kB / 0.8122 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.804, allocations: 11.44 kB / 0.8122 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of SimCode: time 1.528e-06/0.8041, allocations: 3.938 kB / 0.8122 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.004153/0.8082, allocations: 0.9362 MB / 0.8131 GB, free: 9.004 MB / 0.6355 GB