Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.32/4.32, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.965e-05/3.984e-05, allocations: 7.938 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 98.74 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.4544, allocations: 124.8 MB / 0.7566 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.4548, allocations: 75.95 kB / 0.7567 GB, free: 4.848 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.4654, allocations: 2.303 MB / 0.7589 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4654, allocations: 0 / 0.7589 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.4654, allocations: 4 kB / 0.7589 GB, free: 2.535 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005061/0.466, allocations: 388.1 kB / 0.7593 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.466, allocations: 12.03 kB / 0.7593 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.22e-05/0.4661, allocations: 34.56 kB / 0.7593 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.4662, allocations: 7.859 kB / 0.7593 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.4663, allocations: 167.1 kB / 0.7595 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4663, allocations: 0 / 0.7595 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.4664, allocations: 7.938 kB / 0.7595 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.4665, allocations: 45.69 kB / 0.7596 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4665, allocations: 0 / 0.7596 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4665, allocations: 0 / 0.7596 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4666, allocations: 0 / 0.7596 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.006e-05/0.4666, allocations: 19.89 kB / 0.7596 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.467, allocations: 248.9 kB / 0.7598 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.4671, allocations: 34.56 kB / 0.7598 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.4672, allocations: 20.98 kB / 0.7599 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.4672, allocations: 0 / 0.7599 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.4674, allocations: 63.33 kB / 0.7599 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 4.398e-06/0.4674, allocations: 0 / 0.7599 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002419/0.4677, allocations: 81.47 kB / 0.76 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.4677, allocations: 55.41 kB / 0.7601 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.4678, allocations: 97 kB / 0.7601 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4679, allocations: 25.7 kB / 0.7602 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.4679, allocations: 94.03 kB / 0.7603 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.468, allocations: 11.8 kB / 0.7603 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.468, allocations: 8 kB / 0.7603 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.4681, allocations: 310.8 kB / 0.7606 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.4682, allocations: 12 kB / 0.7606 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.4682, allocations: 44.23 kB / 0.7606 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.211e-05/0.4683, allocations: 11.98 kB / 0.7606 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4683, allocations: 0 / 0.7606 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001721/0.4685, allocations: 77.55 kB / 0.7607 GB, free: 464 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4685, allocations: 8 kB / 0.7607 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4685, allocations: 4.094 kB / 0.7607 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.4686, allocations: 4 kB / 0.7607 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4687, allocations: 12 kB / 0.7607 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4687, allocations: 3.953 kB / 0.7607 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.4688, allocations: 7.906 kB / 0.7608 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.4688, allocations: 7.984 kB / 0.7608 GB, free: 416 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.097e-05/0.4689, allocations: 114.8 kB / 0.7609 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.4689, allocations: 4 kB / 0.7609 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.469, allocations: 8.031 kB / 0.7609 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.469, allocations: 4 kB / 0.7609 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.469, allocations: 0 / 0.7609 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.469, allocations: 3.953 kB / 0.7609 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.4694, allocations: 302.6 kB / 0.7612 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4694, allocations: 0 / 0.7612 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.4695, allocations: 4 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4695, allocations: 4 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4695, allocations: 3.984 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.4695, allocations: 3.953 kB / 0.7612 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4696, allocations: 3.938 kB / 0.7612 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.4698, allocations: 167.8 kB / 0.7614 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.4698, allocations: 81.11 kB / 0.7614 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.4699, allocations: 7.984 kB / 0.7614 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.47, allocations: 4 kB / 0.7614 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.47, allocations: 3.953 kB / 0.7614 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.47, allocations: 4 kB / 0.7615 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.414e-05/0.4701, allocations: 83.28 kB / 0.7615 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4701, allocations: 4 kB / 0.7615 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004287/0.4705, allocations: 43.98 kB / 0.7616 GB, free: 15.47 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001016/0.4716, allocations: 0.786 MB / 0.7623 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.4718, allocations: 43.92 kB / 0.7624 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4718, allocations: 0 / 0.7624 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.4718, allocations: 16 kB / 0.7624 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.472, allocations: 3.953 kB / 0.7624 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.4726, allocations: 152.9 kB / 0.7626 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4729, allocations: 0.6811 MB / 0.7632 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.4729, allocations: 4 kB / 0.7632 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.473, allocations: 15.42 kB / 0.7632 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of SimCode: time 8.11e-07/0.473, allocations: 0 / 0.7632 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.4992, allocations: 2.042 MB / 0.7652 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003303/0.4996, allocations: 197.6 kB / 0.7654 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.897, allocations: 0 / 0.7654 GB, free: 11.49 MB / 0.6511 GB