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.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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.01017/0.01017, allocations: 90.2 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.001136/0.001136, allocations: 172.3 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.318/2.318, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.692/2.692, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004899, allocations: 18.59 kB / 0.6244 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2434, allocations: 106.2 MB / 0.7281 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.001158/0.2446, allocations: 482.4 kB / 0.7285 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.2449, allocations: 57.42 kB / 0.7286 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.2449, allocations: 3.938 kB / 0.7286 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.2451, allocations: 11.94 kB / 0.7286 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.052e-05/0.2452, allocations: 15.92 kB / 0.7286 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.2454, allocations: 27.95 kB / 0.7287 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.2456, allocations: 71.88 kB / 0.7287 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.2459, allocations: 139.2 kB / 0.7289 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.2459, allocations: 35.78 kB / 0.7289 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.246, allocations: 35.73 kB / 0.7289 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.2461, allocations: 4 kB / 0.7289 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.964e-05/0.2461, allocations: 4 kB / 0.7289 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.2462, allocations: 31.86 kB / 0.729 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.2462, allocations: 53.58 kB / 0.729 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.2465, allocations: 183.6 kB / 0.7292 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2465, allocations: 0 / 0.7292 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2465, allocations: 0 / 0.7292 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2465, allocations: 0 / 0.7292 GB, free: 6.969 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006574/0.2472, allocations: 451.3 kB / 0.7296 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2473, allocations: 8.031 kB / 0.7296 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.593e-05/0.2474, allocations: 54.55 kB / 0.7297 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.2474, allocations: 23.72 kB / 0.7297 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.2479, allocations: 258.6 kB / 0.7299 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2479, allocations: 20.31 kB / 0.73 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.248, allocations: 23.94 kB / 0.73 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.2487, allocations: 328.6 kB / 0.7303 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2488, allocations: 0 / 0.7303 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.2488, allocations: 4 kB / 0.7303 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.2489, allocations: 16.17 kB / 0.7303 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.2494, allocations: 260.4 kB / 0.7306 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.2514, allocations: 1.093 MB / 0.7316 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.2516, allocations: 169.1 kB / 0.7318 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.2516, allocations: 75.28 kB / 0.7319 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.999e-05/0.2517, allocations: 113.8 kB / 0.732 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 2.544e-06/0.2517, allocations: 0 / 0.732 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.00013/0.2519, allocations: 53.31 kB / 0.732 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.2519, allocations: 130.7 kB / 0.7322 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009333/0.2529, allocations: 0.4887 MB / 0.7326 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2529, allocations: 25.7 kB / 0.7327 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.2531, allocations: 167.8 kB / 0.7328 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-06/0.2531, allocations: 4 kB / 0.7328 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.2532, allocations: 4 kB / 0.7328 GB, free: 3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.2534, allocations: 338.8 kB / 0.7331 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.2535, allocations: 51.95 kB / 0.7332 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2537, allocations: 93.94 kB / 0.7333 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.2539, allocations: 67.89 kB / 0.7333 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2539, allocations: 0 / 0.7333 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004741/0.2543, allocations: 177.2 kB / 0.7335 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.2544, allocations: 12.22 kB / 0.7335 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2544, allocations: 0 / 0.7335 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.2545, allocations: 8 kB / 0.7335 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2546, allocations: 27.88 kB / 0.7336 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2547, allocations: 0 / 0.7336 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.2549, allocations: 43.58 kB / 0.7336 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.2549, allocations: 4 kB / 0.7336 GB, free: 2.156 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.000282/0.2552, allocations: 245.1 kB / 0.7338 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.2554, allocations: 132.6 kB / 0.734 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.2555, allocations: 142.8 kB / 0.7341 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.849e-05/0.2556, allocations: 176.3 kB / 0.7343 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.052e-05/0.2557, allocations: 188.2 kB / 0.7345 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.218e-05/0.2558, allocations: 176.3 kB / 0.7346 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.2563, allocations: 493 kB / 0.7351 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.772e-05/0.2564, allocations: 105 kB / 0.7352 GB, free: 436 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.2564, allocations: 105.7 kB / 0.7353 GB, free: 324 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-05/0.2565, allocations: 184.2 kB / 0.7355 GB, free: 132 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.2567, allocations: 180.2 kB / 0.7356 GB, free: 15.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.763e-05/0.2568, allocations: 180.2 kB / 0.7358 GB, free: 15.76 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.002e-05/0.2569, allocations: 180.3 kB / 0.736 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.2571, allocations: 335.7 kB / 0.7363 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.2574, allocations: 225.8 kB / 0.7365 GB, free: 14.98 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.2575, allocations: 188.2 kB / 0.7367 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.2577, allocations: 105 kB / 0.7368 GB, free: 14.68 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.2578, allocations: 188.2 kB / 0.737 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.2579, allocations: 105 kB / 0.7371 GB, free: 14.38 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006892/0.2586, allocations: 359 kB / 0.7374 GB, free: 14.03 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.5e-07/0.2586, allocations: 0 / 0.7374 GB, free: 14.03 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004042/0.259, allocations: 27.95 kB / 0.7374 GB, free: 14 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.0006386/0.2597, allocations: 0.8397 MB / 0.7383 GB, free: 13.14 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.2599, allocations: 59.89 kB / 0.7383 GB, free: 13.08 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2599, allocations: 0 / 0.7383 GB, free: 13.08 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.26, allocations: 4 kB / 0.7383 GB, free: 13.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.2606, allocations: 0.5512 MB / 0.7389 GB, free: 12.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.2644, allocations: 2.554 MB / 0.7414 GB, free: 9.883 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.265, allocations: 0.7829 MB / 0.7421 GB, free: 9.074 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.2652, allocations: 49.52 kB / 0.7422 GB, free: 9.023 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.2654, allocations: 63.42 kB / 0.7422 GB, free: 8.961 MB / 0.573 GB Notification: Performance of SimCode: time 1.182e-06/0.2654, allocations: 0 / 0.7422 GB, free: 8.961 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.2905, allocations: 4.141 MB / 0.7463 GB, free: 4.934 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003409/0.2909, allocations: 203.2 kB / 0.7465 GB, free: 4.684 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/2.912, allocations: 0 / 0.7465 GB, free: 4.684 MB / 0.573 GB