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.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.066/4.066, allocations: 433.2 MB / 440.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.129e-05, allocations: 8.281 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2471, allocations: 98.73 MB / 0.6289 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.4728, allocations: 123.3 MB / 0.7493 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.4731, allocations: 75.89 kB / 0.7494 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008682/0.4818, allocations: 2.279 MB / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4819, allocations: 4 kB / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.593e-05/0.4819, allocations: 15.92 kB / 0.7516 GB, free: 11.18 MB / 0.6355 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.0006034/0.4825, allocations: 446.3 kB / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4826, allocations: 12.02 kB / 0.7521 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/0.4827, allocations: 27.67 kB / 0.7521 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.4831, allocations: 262.6 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.4832, allocations: 4 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.4832, allocations: 12 kB / 0.7524 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005465/0.4838, allocations: 208.8 kB / 0.7526 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.4844, allocations: 316.2 kB / 0.7529 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4844, allocations: 4 kB / 0.7529 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.4845, allocations: 0 / 0.7529 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.4845, allocations: 7.938 kB / 0.7529 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.4865, allocations: 1.293 MB / 0.7542 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.4866, allocations: 165.1 kB / 0.7543 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.4867, allocations: 80.14 kB / 0.7544 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.4868, allocations: 79.28 kB / 0.7545 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.189e-05/0.4868, allocations: 114.5 kB / 0.7546 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 3.096e-06/0.4868, allocations: 0 / 0.7546 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001125/0.487, allocations: 41.45 kB / 0.7546 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.487, allocations: 55.36 kB / 0.7547 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.4874, allocations: 233.8 kB / 0.7549 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.4874, allocations: 25.7 kB / 0.7549 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4876, allocations: 179.5 kB / 0.7551 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.4876, allocations: 4 kB / 0.7551 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.4877, allocations: 0 / 0.7551 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4878, allocations: 326.8 kB / 0.7554 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.4879, allocations: 43.97 kB / 0.7554 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.4881, allocations: 89.97 kB / 0.7555 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4882, allocations: 65.3 kB / 0.7556 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4883, allocations: 0 / 0.7556 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003966/0.4887, allocations: 157.4 kB / 0.7557 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.4887, allocations: 8 kB / 0.7557 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4887, allocations: 3.938 kB / 0.7557 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.4887, allocations: 4.219 kB / 0.7558 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.4889, allocations: 23.98 kB / 0.7558 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4889, allocations: 0 / 0.7558 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.4891, allocations: 23.94 kB / 0.7558 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.4891, allocations: 4 kB / 0.7558 GB, free: 6.652 MB / 0.6355 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 () * 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.0001167/0.4893, allocations: 184.2 kB / 0.756 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000116/0.4894, allocations: 154.4 kB / 0.7561 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/0.4895, allocations: 108.9 kB / 0.7562 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.824e-05/0.4896, allocations: 129.9 kB / 0.7564 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.516e-05/0.4897, allocations: 176.3 kB / 0.7565 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.483e-05/0.4898, allocations: 192.2 kB / 0.7567 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.861e-05/0.4898, allocations: 184.2 kB / 0.7569 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.4903, allocations: 453.7 kB / 0.7573 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.904e-05/0.4903, allocations: 109 kB / 0.7574 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.4904, allocations: 112.9 kB / 0.7575 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.698e-05/0.4905, allocations: 176.3 kB / 0.7577 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.4906, allocations: 184.3 kB / 0.7579 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.659e-05/0.4907, allocations: 180.2 kB / 0.758 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.282e-05/0.4907, allocations: 180.2 kB / 0.7582 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.4909, allocations: 319.5 kB / 0.7585 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.4911, allocations: 202 kB / 0.7587 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.4912, allocations: 176.3 kB / 0.7589 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.4914, allocations: 108.9 kB / 0.759 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.4915, allocations: 180.3 kB / 0.7592 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.4915, allocations: 105 kB / 0.7593 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002798/0.4918, allocations: 184.4 kB / 0.7594 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4918, allocations: 0 / 0.7594 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004148/0.4922, allocations: 43.69 kB / 0.7595 GB, free: 2.676 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.0005204/0.4928, allocations: 0.8243 MB / 0.7603 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.493, allocations: 59.89 kB / 0.7603 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.493, allocations: 0 / 0.7603 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-06/0.493, allocations: 4.375 kB / 0.7603 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.4936, allocations: 0.5354 MB / 0.7609 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000937/0.4945, allocations: 411.4 kB / 0.7613 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.495, allocations: 0.7899 MB / 0.762 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.4952, allocations: 24.36 kB / 0.762 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4953, allocations: 55.42 kB / 0.7621 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/0.4953, allocations: 0 / 0.7621 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03575/0.5311, allocations: 2.272 MB / 0.7643 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003254/0.5315, allocations: 150.1 kB / 0.7645 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.77, allocations: 8.031 kB / 0.7645 GB, free: 13.43 MB / 0.6511 GB