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.Max.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.025/4.025, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.258e-05/4.272e-05, allocations: 11.89 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2253, allocations: 98.74 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2406/0.4659, allocations: 124.2 MB / 0.756 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.4663, allocations: 63.97 kB / 0.7561 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003354/0.4697, allocations: 0.8332 MB / 0.7569 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4697, allocations: 0 / 0.7569 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4697, allocations: 0 / 0.7569 GB, free: 4.633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006345/0.4704, allocations: 362.5 kB / 0.7572 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4704, allocations: 8.031 kB / 0.7572 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.4705, allocations: 34.56 kB / 0.7573 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.4705, allocations: 7.906 kB / 0.7573 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.4707, allocations: 178.9 kB / 0.7575 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.4707, allocations: 0 / 0.7575 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4707, allocations: 0 / 0.7575 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.4709, allocations: 49.7 kB / 0.7575 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4709, allocations: 0 / 0.7575 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.471, allocations: 3.984 kB / 0.7575 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.471, allocations: 0 / 0.7575 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.4711, allocations: 20 kB / 0.7575 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/0.4718, allocations: 304.8 kB / 0.7578 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4719, allocations: 30.58 kB / 0.7578 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.4719, allocations: 12.86 kB / 0.7579 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.472, allocations: 4 kB / 0.7579 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.472, allocations: 38.55 kB / 0.7579 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.472, allocations: 4 kB / 0.7579 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002022/0.4722, allocations: 53.62 kB / 0.758 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.4723, allocations: 55.36 kB / 0.758 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.4724, allocations: 109 kB / 0.7581 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.4724, allocations: 25.7 kB / 0.7581 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.4725, allocations: 84.14 kB / 0.7582 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.4725, allocations: 11.91 kB / 0.7582 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.4726, allocations: 3.938 kB / 0.7582 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4727, allocations: 314.8 kB / 0.7585 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.4728, allocations: 11.98 kB / 0.7585 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.086e-05/0.4728, allocations: 12 kB / 0.7586 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.048e-05/0.4729, allocations: 8 kB / 0.7586 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4729, allocations: 0 / 0.7586 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001443/0.473, allocations: 53.59 kB / 0.7586 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4731, allocations: 4 kB / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4731, allocations: 3.938 kB / 0.7586 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4731, allocations: 0 / 0.7586 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.4734, allocations: 27.92 kB / 0.7586 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4734, allocations: 0 / 0.7586 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.4735, allocations: 27.88 kB / 0.7587 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4736, allocations: 0 / 0.7587 GB, free: 2.586 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 7.909e-05/0.4737, allocations: 105 kB / 0.7588 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.4737, allocations: 3.984 kB / 0.7588 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.4739, allocations: 61.72 kB / 0.7588 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4739, allocations: 0 / 0.7588 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4739, allocations: 0 / 0.7588 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4739, allocations: 0 / 0.7588 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.4742, allocations: 177.5 kB / 0.759 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4742, allocations: 0 / 0.759 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.4744, allocations: 23.92 kB / 0.759 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.4744, allocations: 4 kB / 0.759 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4744, allocations: 4 kB / 0.759 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4744, allocations: 0 / 0.759 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4744, allocations: 0 / 0.759 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.4746, allocations: 155.5 kB / 0.7592 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.4747, allocations: 77.11 kB / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.4747, allocations: 3.984 kB / 0.7593 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.4749, allocations: 19.98 kB / 0.7593 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.475, allocations: 0 / 0.7593 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.475, allocations: 4 kB / 0.7593 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.4751, allocations: 87.27 kB / 0.7594 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4751, allocations: 0 / 0.7594 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002686/0.4753, allocations: 8 kB / 0.7594 GB, free: 1.77 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 (3): * Single equations (assignments): 3 * 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.0005055/0.4759, allocations: 0.7026 MB / 0.7601 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.476, allocations: 23.98 kB / 0.7601 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.476, allocations: 0 / 0.7601 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.4761, allocations: 15.94 kB / 0.7601 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.4763, allocations: 7.984 kB / 0.7601 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.4768, allocations: 102.6 kB / 0.7602 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.4771, allocations: 0.6848 MB / 0.7609 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.4771, allocations: 4 kB / 0.7609 GB, free: 144 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.4772, allocations: 11.44 kB / 0.7609 GB, free: 136 kB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/0.4772, allocations: 0 / 0.7609 GB, free: 136 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.5015, allocations: 1.293 MB / 0.7621 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003098/0.5019, allocations: 152.5 kB / 0.7623 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/2.965, allocations: 3.938 kB / 0.7623 GB, free: 14.69 MB / 0.6511 GB