Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0101/0.0101, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001157/0.001157, allocations: 174 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.62/2.62, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.529/2.529, allocations: 252.8 MB / 0.511 GB, free: 8.379 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006515/0.0006517, allocations: 16.06 kB / 0.6243 GB, free: 21.04 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2315, allocations: 106.2 MB / 0.7281 GB, free: 8.125 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.001163/0.2327, allocations: 486.4 kB / 0.7286 GB, free: 7.648 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0002487/0.233, allocations: 53.44 kB / 0.7286 GB, free: 7.598 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.233, allocations: 0 / 0.7286 GB, free: 7.598 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.2332, allocations: 19.91 kB / 0.7286 GB, free: 7.578 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.2333, allocations: 23.91 kB / 0.7286 GB, free: 7.555 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.2335, allocations: 15.98 kB / 0.7287 GB, free: 7.539 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.2337, allocations: 75.86 kB / 0.7287 GB, free: 7.465 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.234, allocations: 139.2 kB / 0.7289 GB, free: 7.324 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.234, allocations: 35.8 kB / 0.7289 GB, free: 7.289 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 9.916e-05/0.2342, allocations: 47.7 kB / 0.7289 GB, free: 7.242 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2342, allocations: 4 kB / 0.729 GB, free: 7.238 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.2342, allocations: 0 / 0.729 GB, free: 7.238 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.2343, allocations: 35.86 kB / 0.729 GB, free: 7.203 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.2344, allocations: 49.58 kB / 0.729 GB, free: 7.148 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.2346, allocations: 179.6 kB / 0.7292 GB, free: 6.973 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.2346, allocations: 0 / 0.7292 GB, free: 6.973 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2347, allocations: 0 / 0.7292 GB, free: 6.973 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2347, allocations: 4 kB / 0.7292 GB, free: 6.969 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006667/0.2353, allocations: 459.3 kB / 0.7296 GB, free: 6.469 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.2354, allocations: 8.031 kB / 0.7297 GB, free: 6.461 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.193e-05/0.2355, allocations: 54.55 kB / 0.7297 GB, free: 6.398 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.2356, allocations: 23.72 kB / 0.7297 GB, free: 6.375 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.236, allocations: 258.5 kB / 0.73 GB, free: 6.082 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2361, allocations: 16.31 kB / 0.73 GB, free: 6.066 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.2361, allocations: 19.94 kB / 0.73 GB, free: 6.047 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.2369, allocations: 332.6 kB / 0.7303 GB, free: 5.703 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2369, allocations: 4 kB / 0.7303 GB, free: 5.699 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.237, allocations: 11.94 kB / 0.7303 GB, free: 5.688 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.237, allocations: 16.17 kB / 0.7304 GB, free: 5.672 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.2376, allocations: 268.3 kB / 0.7306 GB, free: 5.41 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.2396, allocations: 1.097 MB / 0.7317 GB, free: 4.254 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.2398, allocations: 165.1 kB / 0.7318 GB, free: 4.082 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.2399, allocations: 75.28 kB / 0.7319 GB, free: 4.008 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/0.2399, allocations: 105.8 kB / 0.732 GB, free: 3.895 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=0): time 3.456e-06/0.2399, allocations: 4 kB / 0.732 GB, free: 3.891 MB / 0.5574 GB Notification: Performance of matching and sorting (n=0): time 0.0001515/0.2401, allocations: 57.31 kB / 0.7321 GB, free: 3.828 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.2402, allocations: 126.7 kB / 0.7322 GB, free: 3.691 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000955/0.2412, allocations: 0.5003 MB / 0.7327 GB, free: 3.176 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.2412, allocations: 25.7 kB / 0.7327 GB, free: 3.145 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.2414, allocations: 175.7 kB / 0.7329 GB, free: 2.969 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-06/0.2415, allocations: 0 / 0.7329 GB, free: 2.969 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.2415, allocations: 0 / 0.7329 GB, free: 2.969 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.2417, allocations: 338.8 kB / 0.7332 GB, free: 2.629 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2418, allocations: 55.95 kB / 0.7332 GB, free: 2.574 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.242, allocations: 98.86 kB / 0.7333 GB, free: 2.453 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.2422, allocations: 67.89 kB / 0.7334 GB, free: 2.387 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2422, allocations: 0 / 0.7334 GB, free: 2.387 MB / 0.5574 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005448/0.2428, allocations: 189.1 kB / 0.7336 GB, free: 2.195 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2428, allocations: 8 kB / 0.7336 GB, free: 2.188 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2428, allocations: 0 / 0.7336 GB, free: 2.188 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.2429, allocations: 8.203 kB / 0.7336 GB, free: 2.18 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.2431, allocations: 23.98 kB / 0.7336 GB, free: 2.156 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.2431, allocations: 4 kB / 0.7336 GB, free: 2.152 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.2433, allocations: 35.59 kB / 0.7337 GB, free: 2.117 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.2434, allocations: 8 kB / 0.7337 GB, free: 2.109 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0002823/0.2437, allocations: 249 kB / 0.7339 GB, free: 1.855 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.2438, allocations: 128.7 kB / 0.734 GB, free: 1.723 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.2439, allocations: 134.8 kB / 0.7342 GB, free: 1.586 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.382e-05/0.244, allocations: 184.2 kB / 0.7343 GB, free: 1.398 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.904e-05/0.2441, allocations: 188.2 kB / 0.7345 GB, free: 1.207 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.786e-05/0.2443, allocations: 180.2 kB / 0.7347 GB, free: 1.023 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.2447, allocations: 489.1 kB / 0.7352 GB, free: 500 kB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.334e-05/0.2448, allocations: 108.9 kB / 0.7353 GB, free: 384 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.2449, allocations: 105.7 kB / 0.7354 GB, free: 272 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.993e-05/0.245, allocations: 184.2 kB / 0.7355 GB, free: 80 kB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.2451, allocations: 184.2 kB / 0.7357 GB, free: 15.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.753e-05/0.2452, allocations: 176.3 kB / 0.7359 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.299e-05/0.2453, allocations: 180.2 kB / 0.7361 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.2455, allocations: 335.7 kB / 0.7364 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.2458, allocations: 233.7 kB / 0.7366 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.2459, allocations: 184.3 kB / 0.7368 GB, free: 14.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.2461, allocations: 112.9 kB / 0.7369 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.2462, allocations: 176.3 kB / 0.737 GB, free: 14.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.2463, allocations: 105 kB / 0.7371 GB, free: 14.33 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000663/0.247, allocations: 366.9 kB / 0.7375 GB, free: 13.97 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.41e-07/0.247, allocations: 0 / 0.7375 GB, free: 13.97 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004011/0.2474, allocations: 32 kB / 0.7375 GB, free: 13.94 MB / 0.573 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.0005886/0.248, allocations: 0.8358 MB / 0.7383 GB, free: 13.08 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.2482, allocations: 63.89 kB / 0.7384 GB, free: 13.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2483, allocations: 0 / 0.7384 GB, free: 13.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.83e-06/0.2483, allocations: 0 / 0.7384 GB, free: 13.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.2489, allocations: 0.5477 MB / 0.7389 GB, free: 12.46 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.2527, allocations: 2.722 MB / 0.7416 GB, free: 9.656 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.2532, allocations: 0.783 MB / 0.7424 GB, free: 8.848 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.2534, allocations: 49.52 kB / 0.7424 GB, free: 8.797 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.2536, allocations: 59.42 kB / 0.7425 GB, free: 8.738 MB / 0.573 GB Notification: Performance of SimCode: time 9.91e-07/0.2536, allocations: 0 / 0.7425 GB, free: 8.738 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.2847, allocations: 4.161 MB / 0.7465 GB, free: 4.688 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003262/0.2851, allocations: 197.5 kB / 0.7467 GB, free: 4.445 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/2.959, allocations: 3.938 kB / 0.7467 GB, free: 4.441 MB / 0.573 GB