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.MatrixMin.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.158/4.158, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.177e-05, allocations: 12 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6627, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.8931, allocations: 123.3 MB / 0.7493 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.8934, allocations: 67.95 kB / 0.7494 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.008823/0.9023, allocations: 2.343 MB / 0.7517 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9024, allocations: 0 / 0.7517 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.9024, allocations: 8 kB / 0.7517 GB, free: 1.82 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000634/0.903, allocations: 460.3 kB / 0.7521 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.9031, allocations: 12.03 kB / 0.7521 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.9032, allocations: 19.72 kB / 0.7522 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.9037, allocations: 262.5 kB / 0.7524 GB, free: 1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.9037, allocations: 8 kB / 0.7524 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.9038, allocations: 15.94 kB / 0.7524 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005181/0.9043, allocations: 212.8 kB / 0.7526 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.9049, allocations: 325.1 kB / 0.753 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.905, allocations: 0 / 0.753 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.905, allocations: 0 / 0.753 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.905, allocations: 8 kB / 0.753 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.907, allocations: 1.367 MB / 0.7543 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.9072, allocations: 169.1 kB / 0.7545 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.9072, allocations: 80.14 kB / 0.7545 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.9073, allocations: 75.28 kB / 0.7546 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.9073, allocations: 116.1 kB / 0.7547 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.903e-06/0.9073, allocations: 0 / 0.7547 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001015/0.9075, allocations: 37.55 kB / 0.7547 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.9075, allocations: 59.36 kB / 0.7548 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.9079, allocations: 233.8 kB / 0.755 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.9079, allocations: 25.7 kB / 0.7551 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.9081, allocations: 187.4 kB / 0.7552 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.9081, allocations: 0 / 0.7552 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.9081, allocations: 0 / 0.7552 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.9083, allocations: 326.8 kB / 0.7555 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.9084, allocations: 47.97 kB / 0.7556 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.9086, allocations: 99.05 kB / 0.7557 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.9087, allocations: 67.83 kB / 0.7557 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9087, allocations: 4 kB / 0.7558 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004011/0.9091, allocations: 161.4 kB / 0.7559 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9092, allocations: 6.125 kB / 0.7559 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9092, allocations: 8 kB / 0.7559 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.9092, allocations: 0 / 0.7559 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.9094, allocations: 27.92 kB / 0.7559 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.9094, allocations: 8.094 kB / 0.756 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.9096, allocations: 27.78 kB / 0.756 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.9096, allocations: 4 kB / 0.756 GB, free: 13.15 MB / 0.6355 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 () * 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.000114/0.9097, allocations: 180.3 kB / 0.7562 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001193/0.9099, allocations: 150.4 kB / 0.7563 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.91, allocations: 116.9 kB / 0.7564 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/0.9101, allocations: 118.2 kB / 0.7565 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.378e-05/0.9102, allocations: 187.1 kB / 0.7567 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-05/0.9103, allocations: 184.2 kB / 0.7569 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.167e-05/0.9103, allocations: 180.6 kB / 0.7571 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.9108, allocations: 469.7 kB / 0.7575 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.712e-05/0.9108, allocations: 101 kB / 0.7576 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.9109, allocations: 105 kB / 0.7577 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-05/0.911, allocations: 180.2 kB / 0.7579 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/0.9111, allocations: 184.3 kB / 0.758 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-05/0.9112, allocations: 176.3 kB / 0.7582 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-05/0.9113, allocations: 184.2 kB / 0.7584 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.9115, allocations: 319.6 kB / 0.7587 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.9116, allocations: 201.9 kB / 0.7589 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.9118, allocations: 176.3 kB / 0.7591 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.9119, allocations: 113 kB / 0.7592 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.912, allocations: 180.2 kB / 0.7593 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.9121, allocations: 101 kB / 0.7594 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002584/0.9123, allocations: 184.5 kB / 0.7596 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9123, allocations: 0 / 0.7596 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003989/0.9127, allocations: 39.75 kB / 0.7596 GB, free: 9.188 MB / 0.6355 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 () * 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.0005276/0.9133, allocations: 0.8165 MB / 0.7604 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.9135, allocations: 71.83 kB / 0.7605 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9135, allocations: 0 / 0.7605 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.9136, allocations: 0 / 0.7605 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.9142, allocations: 0.55 MB / 0.761 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009896/0.9152, allocations: 415.3 kB / 0.7614 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.9157, allocations: 0.7899 MB / 0.7622 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.9158, allocations: 28.41 kB / 0.7622 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.916, allocations: 55.42 kB / 0.7623 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.916, allocations: 0 / 0.7623 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0412/0.9572, allocations: 2.296 MB / 0.7645 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004033/0.9577, allocations: 154.2 kB / 0.7647 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/3.143, allocations: 0 / 0.7647 GB, free: 3.895 MB / 0.6355 GB