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.Logit1D.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.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.406/4.406, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.026e-05, allocations: 2.219 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2269, allocations: 98.74 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/0.4655, allocations: 124.1 MB / 0.7501 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.4659, allocations: 75.89 kB / 0.7502 GB, free: 12.79 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.009903/0.4758, allocations: 2.234 MB / 0.7523 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4758, allocations: 0 / 0.7523 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4758, allocations: 0 / 0.7523 GB, free: 10.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004718/0.4763, allocations: 380.1 kB / 0.7527 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4764, allocations: 8.031 kB / 0.7527 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.4764, allocations: 11.94 kB / 0.7527 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.4766, allocations: 167.1 kB / 0.7529 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.4766, allocations: 0 / 0.7529 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.4766, allocations: 4 kB / 0.7529 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.416e-05/0.4767, allocations: 0 / 0.7529 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.482e-05/0.4768, allocations: 33.69 kB / 0.7529 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4768, allocations: 4 kB / 0.7529 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.4768, allocations: 3.984 kB / 0.7529 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4768, allocations: 3.953 kB / 0.7529 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.477, allocations: 138.2 kB / 0.7531 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/0.4771, allocations: 30.55 kB / 0.7531 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.4771, allocations: 12.86 kB / 0.7531 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.4772, allocations: 0 / 0.7531 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.4773, allocations: 55.41 kB / 0.7532 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.4773, allocations: 0 / 0.7532 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001927/0.4775, allocations: 53.69 kB / 0.7532 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4776, allocations: 71.27 kB / 0.7533 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.4777, allocations: 89 kB / 0.7534 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.4777, allocations: 29.64 kB / 0.7534 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.4778, allocations: 84.14 kB / 0.7535 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.4778, allocations: 11.84 kB / 0.7535 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.4778, allocations: 0 / 0.7535 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4779, allocations: 318.8 kB / 0.7538 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.478, allocations: 12 kB / 0.7538 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.478, allocations: 28.05 kB / 0.7538 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.4781, allocations: 11.98 kB / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4781, allocations: 0 / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001305/0.4782, allocations: 61.53 kB / 0.7539 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4783, allocations: 8.094 kB / 0.7539 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4783, allocations: 4 kB / 0.7539 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4783, allocations: 0 / 0.7539 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.4784, allocations: 11.94 kB / 0.7539 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4784, allocations: 0 / 0.7539 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.4785, allocations: 0 / 0.7539 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4785, allocations: 8 kB / 0.7539 GB, free: 8.703 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * 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 9.294e-05/0.4786, allocations: 116.9 kB / 0.754 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001182/0.4787, allocations: 49.69 kB / 0.7541 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.4788, allocations: 11.91 kB / 0.7541 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.4788, allocations: 4.125 kB / 0.7541 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4788, allocations: 0 / 0.7541 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4788, allocations: 3.938 kB / 0.7541 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4788, allocations: 0 / 0.7541 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.479, allocations: 134.2 kB / 0.7542 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.479, allocations: 0 / 0.7542 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.4791, allocations: 7.984 kB / 0.7542 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4791, allocations: 0 / 0.7542 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4791, allocations: 4.328 kB / 0.7542 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4791, allocations: 0 / 0.7542 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4791, allocations: 4 kB / 0.7542 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4793, allocations: 85.05 kB / 0.7543 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.4794, allocations: 81.11 kB / 0.7544 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.4794, allocations: 3.938 kB / 0.7544 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.075e-05/0.4794, allocations: 0 / 0.7544 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.4795, allocations: 0 / 0.7544 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.4795, allocations: 8 kB / 0.7544 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.4795, allocations: 83.27 kB / 0.7545 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/0.4795, allocations: 0 / 0.7545 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004031/0.48, allocations: 39.94 kB / 0.7545 GB, free: 7.992 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0008696/0.4808, allocations: 0.7145 MB / 0.7552 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.481, allocations: 28.16 kB / 0.7553 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.481, allocations: 0 / 0.7553 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.481, allocations: 8 kB / 0.7553 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.4812, allocations: 4 kB / 0.7553 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.4816, allocations: 117.7 kB / 0.7554 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.4819, allocations: 0.6847 MB / 0.7561 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.4819, allocations: 4 kB / 0.7561 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.482, allocations: 11.42 kB / 0.7561 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of SimCode: time 6.72e-07/0.482, allocations: 0 / 0.7561 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.5188, allocations: 1.618 MB / 0.7576 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003697/0.5192, allocations: 165.2 kB / 0.7578 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/2.881, allocations: 0 / 0.7578 GB, free: 4.531 MB / 0.6355 GB