Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadModel(Buildings): time 3.877/3.877, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.623e-05, allocations: 4.438 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1787, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2668/0.4455, allocations: 124.8 MB / 0.7566 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4458, allocations: 71.95 kB / 0.7566 GB, free: 4.926 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.009272/0.4551, allocations: 2.24 MB / 0.7588 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4551, allocations: 0 / 0.7588 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.789e-06/0.4551, allocations: 4 kB / 0.7588 GB, free: 2.676 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.0004638/0.4556, allocations: 380 kB / 0.7592 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4557, allocations: 12.03 kB / 0.7592 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.4557, allocations: 7.938 kB / 0.7592 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4559, allocations: 163.1 kB / 0.7594 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.4559, allocations: 8 kB / 0.7594 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.4559, allocations: 0 / 0.7594 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.456, allocations: 41.62 kB / 0.7594 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.906e-06/0.456, allocations: 0 / 0.7594 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4561, allocations: 4 kB / 0.7594 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.19e-06/0.4561, allocations: 0 / 0.7594 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/0.4561, allocations: 4 kB / 0.7594 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.4563, allocations: 161.6 kB / 0.7596 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.4564, allocations: 34.61 kB / 0.7596 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.4565, allocations: 8.859 kB / 0.7596 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.4565, allocations: 4 kB / 0.7596 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.4566, allocations: 55.44 kB / 0.7597 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.424e-06/0.4567, allocations: 0 / 0.7597 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001854/0.4568, allocations: 61.58 kB / 0.7597 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.4569, allocations: 59.41 kB / 0.7598 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.457, allocations: 92.94 kB / 0.7599 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.457, allocations: 25.7 kB / 0.7599 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.4571, allocations: 88.14 kB / 0.76 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.4571, allocations: 7.891 kB / 0.76 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4572, allocations: 0 / 0.76 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4573, allocations: 322.8 kB / 0.7603 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.73e-05/0.4574, allocations: 7.938 kB / 0.7603 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.614e-05/0.4574, allocations: 45.25 kB / 0.7603 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.4575, allocations: 11.98 kB / 0.7603 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.976e-06/0.4575, allocations: 4 kB / 0.7604 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001445/0.4577, allocations: 61.81 kB / 0.7604 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4577, allocations: 8 kB / 0.7604 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.4577, allocations: 8.078 kB / 0.7604 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4577, allocations: 0 / 0.7604 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.4578, allocations: 15.92 kB / 0.7604 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.441e-06/0.4578, allocations: 0 / 0.7604 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.4579, allocations: 4 kB / 0.7604 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4579, allocations: 4 kB / 0.7604 GB, free: 0.7695 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.356e-05/0.458, allocations: 108.9 kB / 0.7606 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.458, allocations: 0 / 0.7606 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.4581, allocations: 7.5 kB / 0.7606 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-06/0.4581, allocations: 4 kB / 0.7606 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.4581, allocations: 0 / 0.7606 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.924e-06/0.4581, allocations: 3.938 kB / 0.7606 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.4583, allocations: 161.6 kB / 0.7607 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-06/0.4583, allocations: 0 / 0.7607 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.4583, allocations: 4 kB / 0.7607 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4583, allocations: 0 / 0.7607 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4584, allocations: 4 kB / 0.7607 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.4584, allocations: 0 / 0.7607 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.618e-06/0.4584, allocations: 3.938 kB / 0.7607 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.4585, allocations: 96.97 kB / 0.7608 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.4586, allocations: 81.05 kB / 0.7609 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.4586, allocations: 0 / 0.7609 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/0.4587, allocations: 0 / 0.7609 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.4587, allocations: 11.94 kB / 0.7609 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.4588, allocations: 3.984 kB / 0.7609 GB, free: 200 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.4588, allocations: 79.28 kB / 0.761 GB, free: 120 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.45e-07/0.4588, allocations: 0 / 0.761 GB, free: 120 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000379/0.4592, allocations: 44 kB / 0.761 GB, free: 76 kB / 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.0004589/0.4597, allocations: 175.5 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.4598, allocations: 24 kB / 0.7612 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.477e-06/0.4599, allocations: 0 / 0.7612 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.4599, allocations: 16.12 kB / 0.7612 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.46, allocations: 14 kB / 0.7613 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002156/0.4603, allocations: 68.92 kB / 0.7613 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.4606, allocations: 0.677 MB / 0.762 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.4607, allocations: 4 kB / 0.762 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.4607, allocations: 7.438 kB / 0.762 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.465e-06/0.4607, allocations: 4 kB / 0.762 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.004284/0.465, allocations: 1.199 MB / 0.7632 GB, free: 13.85 MB / 0.6511 GB