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.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.11/4.11, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.46e-05/5.478e-05, allocations: 9.797 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2488/0.4594, allocations: 124.5 MB / 0.7563 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/0.4598, allocations: 67.95 kB / 0.7563 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005116/0.465, allocations: 0.9619 MB / 0.7573 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.365e-06/0.465, allocations: 0 / 0.7573 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.465, allocations: 0 / 0.7573 GB, free: 4.215 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006778/0.4657, allocations: 370.5 kB / 0.7576 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4658, allocations: 8.031 kB / 0.7576 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.4659, allocations: 30.56 kB / 0.7577 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.4659, allocations: 7.906 kB / 0.7577 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4661, allocations: 178.9 kB / 0.7579 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4661, allocations: 0 / 0.7579 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.4661, allocations: 8 kB / 0.7579 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.4663, allocations: 45.69 kB / 0.7579 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4663, allocations: 4 kB / 0.7579 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.4663, allocations: 4 kB / 0.7579 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4663, allocations: 0 / 0.7579 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.982e-05/0.4664, allocations: 20 kB / 0.7579 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.4672, allocations: 304.7 kB / 0.7582 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.4674, allocations: 38.56 kB / 0.7583 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.4675, allocations: 16.92 kB / 0.7583 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4675, allocations: 0 / 0.7583 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4676, allocations: 34.56 kB / 0.7583 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.4676, allocations: 4 kB / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000199/0.4678, allocations: 53.67 kB / 0.7584 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4679, allocations: 51.41 kB / 0.7584 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.468, allocations: 104.9 kB / 0.7585 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.468, allocations: 29.7 kB / 0.7585 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.4681, allocations: 92.12 kB / 0.7586 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.4681, allocations: 15.69 kB / 0.7586 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.4681, allocations: 0 / 0.7586 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4683, allocations: 318.8 kB / 0.7589 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.4683, allocations: 8 kB / 0.759 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.219e-05/0.4684, allocations: 12 kB / 0.759 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.4684, allocations: 11.98 kB / 0.759 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4684, allocations: 0 / 0.759 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001818/0.4686, allocations: 57.62 kB / 0.759 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4687, allocations: 4 kB / 0.759 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4687, allocations: 0 / 0.759 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4687, allocations: 0 / 0.759 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.4689, allocations: 15.95 kB / 0.7591 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4689, allocations: 4 kB / 0.7591 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.4691, allocations: 23.97 kB / 0.7591 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4691, allocations: 0 / 0.7591 GB, free: 2.156 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.061e-05/0.4692, allocations: 105 kB / 0.7592 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.4693, allocations: 4.094 kB / 0.7592 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.4695, allocations: 73.62 kB / 0.7593 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4695, allocations: 4 kB / 0.7593 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4695, allocations: 3.953 kB / 0.7593 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4695, allocations: 0 / 0.7593 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.4698, allocations: 165.7 kB / 0.7594 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4698, allocations: 0 / 0.7594 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.4699, allocations: 15.98 kB / 0.7594 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4699, allocations: 0 / 0.7594 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4699, allocations: 0 / 0.7594 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.47, allocations: 0 / 0.7594 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.47, allocations: 4 kB / 0.7594 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.4701, allocations: 151.4 kB / 0.7596 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.4702, allocations: 85 kB / 0.7597 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.4703, allocations: 4 kB / 0.7597 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.4705, allocations: 20.36 kB / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.4706, allocations: 7.984 kB / 0.7597 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.4706, allocations: 0 / 0.7597 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.352e-05/0.4707, allocations: 95.2 kB / 0.7598 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.278e-06/0.4707, allocations: 0 / 0.7598 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002765/0.471, allocations: 15.89 kB / 0.7598 GB, free: 1.32 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * 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.0006065/0.4716, allocations: 0.6831 MB / 0.7605 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.4718, allocations: 27.94 kB / 0.7605 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4718, allocations: 0 / 0.7605 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/0.4719, allocations: 12 kB / 0.7605 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4721, allocations: 11.92 kB / 0.7605 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.4726, allocations: 101.1 kB / 0.7606 GB, free: 436 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.4729, allocations: 0.6887 MB / 0.7613 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.569e-05/0.473, allocations: 8.156 kB / 0.7613 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.4731, allocations: 11.44 kB / 0.7613 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/0.4731, allocations: 0 / 0.7613 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.4909, allocations: 1.428 MB / 0.7627 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.4911, allocations: 165.9 kB / 0.7629 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.652, allocations: 4 kB / 0.7629 GB, free: 14.11 MB / 0.6511 GB