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.009135/0.00914, allocations: 109.3 kB / 15.06 MB, free: 5.562 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.001128/0.001128, allocations: 179.3 kB / 15.95 MB, free: 5.523 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.845/1.845, allocations: 194.6 MB / 211.3 MB, free: 10.99 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.421/2.421, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009863/0.0009865, allocations: 23.98 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6254, allocations: 98.7 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001444/0.6269, allocations: 1.177 MB / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.6272, allocations: 137.5 kB / 0.6846 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.6273, allocations: 9.531 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.6275, allocations: 49.38 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.6275, allocations: 39.64 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 6.281e-05/0.6276, allocations: 15.06 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.6277, allocations: 55.8 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.6279, allocations: 23.2 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.6279, allocations: 30.95 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.6281, allocations: 71.31 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.6281, allocations: 3.469 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.911e-05/0.6282, allocations: 4.906 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.6282, allocations: 31.8 kB / 0.685 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.6283, allocations: 38.27 kB / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.6284, allocations: 79.23 kB / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.536e-06/0.6284, allocations: 0 / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.875e-06/0.6284, allocations: 4 kB / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.483e-06/0.6285, allocations: 0.9375 kB / 0.6851 GB, free: 15.62 MB / 0.5261 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.0006941/0.6292, allocations: 459.5 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.6292, allocations: 9.953 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.6293, allocations: 16.84 kB / 0.6855 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.6295, allocations: 197.1 kB / 0.6857 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.6295, allocations: 10.41 kB / 0.6857 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.6295, allocations: 4.125 kB / 0.6857 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.63, allocations: 171.1 kB / 0.6859 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.941e-06/0.63, allocations: 0 / 0.6859 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.6301, allocations: 0 / 0.6859 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-06/0.6301, allocations: 1.562 kB / 0.6859 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000683/0.6308, allocations: 202.8 kB / 0.6861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.6317, allocations: 0.5213 MB / 0.6866 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.6322, allocations: 178 kB / 0.6868 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.6323, allocations: 11.88 kB / 0.6868 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.6323, allocations: 37.89 kB / 0.6868 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.48e-06/0.6323, allocations: 0 / 0.6868 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001183/0.6335, allocations: 336.2 kB / 0.6871 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.6335, allocations: 82.66 kB / 0.6872 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.6337, allocations: 161.1 kB / 0.6874 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.6337, allocations: 25.7 kB / 0.6874 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.6338, allocations: 104.5 kB / 0.6875 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.6338, allocations: 30.44 kB / 0.6875 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.6339, allocations: 4 kB / 0.6875 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.6339, allocations: 322.6 kB / 0.6878 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.6343, allocations: 92.84 kB / 0.6879 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.6347, allocations: 107.1 kB / 0.688 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.635, allocations: 92.72 kB / 0.6881 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-06/0.635, allocations: 4 kB / 0.6881 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008147/0.6358, allocations: 237.2 kB / 0.6883 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6359, allocations: 7.438 kB / 0.6884 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.514e-06/0.6359, allocations: 0.7188 kB / 0.6884 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6359, allocations: 1.25 kB / 0.6884 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.6362, allocations: 53.03 kB / 0.6884 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6362, allocations: 9.891 kB / 0.6884 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.6364, allocations: 34.81 kB / 0.6885 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.6365, allocations: 2.281 kB / 0.6885 GB, free: 13.42 MB / 0.5261 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.0001064/0.6366, allocations: 135.8 kB / 0.6886 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.637e-05/0.6367, allocations: 9.188 kB / 0.6886 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.6367, allocations: 18.14 kB / 0.6886 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-06/0.6367, allocations: 2.391 kB / 0.6886 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.393e-06/0.6368, allocations: 1 kB / 0.6886 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6368, allocations: 5.672 kB / 0.6886 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.6371, allocations: 226.9 kB / 0.6888 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-06/0.6371, allocations: 0.6094 kB / 0.6888 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.6374, allocations: 44.92 kB / 0.6889 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.946e-06/0.6374, allocations: 1.641 kB / 0.6889 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.6374, allocations: 5.062 kB / 0.6889 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.6374, allocations: 1.656 kB / 0.6889 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-06/0.6375, allocations: 0 / 0.6889 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/0.6382, allocations: 425.3 kB / 0.6893 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.6383, allocations: 89.39 kB / 0.6894 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.6383, allocations: 1.594 kB / 0.6894 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.6386, allocations: 39.44 kB / 0.6894 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.6387, allocations: 15.42 kB / 0.6894 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.6387, allocations: 2.531 kB / 0.6894 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001169/0.6389, allocations: 126.1 kB / 0.6896 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.62e-07/0.6389, allocations: 0 / 0.6896 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003881/0.6393, allocations: 15.25 kB / 0.6896 GB, free: 12.57 MB / 0.5261 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.0001299/0.6394, allocations: 107.9 kB / 0.6897 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007425/0.6402, allocations: 203.6 kB / 0.6899 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.872e-06/0.6402, allocations: 0 / 0.6899 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.6406, allocations: 107.4 kB / 0.69 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.6409, allocations: 11.19 kB / 0.69 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.6415, allocations: 292.2 kB / 0.6903 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.6417, allocations: 0.7144 MB / 0.691 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.6418, allocations: 27.67 kB / 0.691 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.6419, allocations: 11.56 kB / 0.691 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.347e-06/0.6419, allocations: 0 / 0.691 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.004171/0.6461, allocations: 0.9361 MB / 0.6919 GB, free: 11.41 MB / 0.5261 GB