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.Logit2D.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadModel(Buildings): time 4.205/4.205, allocations: 433.4 MB / 440.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.681e-05/1.69e-05, allocations: 2.469 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1746, allocations: 98.72 MB / 0.6289 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.367, allocations: 124.2 MB / 0.7501 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.3673, allocations: 75.94 kB / 0.7502 GB, free: 12.84 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.009486/0.3768, allocations: 2.295 MB / 0.7525 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3768, allocations: 3.938 kB / 0.7525 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.501e-06/0.3769, allocations: 0 / 0.7525 GB, free: 10.54 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.0004801/0.3773, allocations: 388 kB / 0.7528 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3774, allocations: 12.03 kB / 0.7528 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.3774, allocations: 3.953 kB / 0.7528 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3776, allocations: 167.1 kB / 0.753 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.3776, allocations: 4 kB / 0.753 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3777, allocations: 4 kB / 0.753 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.261e-05/0.3777, allocations: 7.938 kB / 0.753 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.753e-05/0.3778, allocations: 41.67 kB / 0.7531 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3778, allocations: 0 / 0.7531 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3779, allocations: 0 / 0.7531 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.176e-06/0.3779, allocations: 3.953 kB / 0.7531 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.3781, allocations: 138.1 kB / 0.7532 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.3781, allocations: 22.58 kB / 0.7532 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.3782, allocations: 20.86 kB / 0.7532 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.3782, allocations: 0 / 0.7532 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.3784, allocations: 59.47 kB / 0.7533 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.41e-06/0.3784, allocations: 4 kB / 0.7533 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002027/0.3786, allocations: 53.69 kB / 0.7534 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3787, allocations: 51.41 kB / 0.7534 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.3788, allocations: 101.1 kB / 0.7535 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3788, allocations: 29.7 kB / 0.7535 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.3789, allocations: 88.12 kB / 0.7536 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3789, allocations: 7.812 kB / 0.7536 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-06/0.3789, allocations: 0 / 0.7536 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3791, allocations: 322.8 kB / 0.7539 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.3791, allocations: 4 kB / 0.7539 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.3792, allocations: 44.28 kB / 0.754 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.3792, allocations: 12.55 kB / 0.754 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.579e-06/0.3792, allocations: 0 / 0.754 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001448/0.3794, allocations: 61.62 kB / 0.754 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3794, allocations: 11.98 kB / 0.7541 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.138e-06/0.3794, allocations: 4.125 kB / 0.7541 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3795, allocations: 0 / 0.7541 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.3796, allocations: 8 kB / 0.7541 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3796, allocations: 11.88 kB / 0.7541 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.3796, allocations: 7.844 kB / 0.7541 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3797, allocations: 4 kB / 0.7541 GB, free: 8.645 MB / 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.606e-05/0.3798, allocations: 108.9 kB / 0.7542 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.3798, allocations: 0 / 0.7542 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.3798, allocations: 12.17 kB / 0.7542 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-06/0.3798, allocations: 7.938 kB / 0.7542 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.962e-06/0.3799, allocations: 4.047 kB / 0.7542 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.3799, allocations: 3.984 kB / 0.7542 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.38, allocations: 134.2 kB / 0.7543 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-06/0.38, allocations: 0 / 0.7543 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.3801, allocations: 4 kB / 0.7543 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.103e-06/0.3801, allocations: 0 / 0.7543 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.866e-06/0.3801, allocations: 0 / 0.7543 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.07e-06/0.3801, allocations: 0 / 0.7543 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.422e-06/0.3801, allocations: 0 / 0.7543 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.3803, allocations: 101 kB / 0.7544 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.3804, allocations: 81.06 kB / 0.7545 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.3804, allocations: 4 kB / 0.7545 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.3804, allocations: 320 / 0.7545 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.3805, allocations: 3.984 kB / 0.7545 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3805, allocations: 8 kB / 0.7545 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.873e-05/0.3806, allocations: 75.28 kB / 0.7546 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.04e-07/0.3806, allocations: 4 kB / 0.7546 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003937/0.381, allocations: 55.86 kB / 0.7547 GB, free: 7.969 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 (5): * Single equations (assignments): 3 * 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.0004507/0.3814, allocations: 163.4 kB / 0.7548 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.3816, allocations: 31.94 kB / 0.7549 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.828e-06/0.3816, allocations: 256 / 0.7549 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.3817, allocations: 27.81 kB / 0.7549 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.3818, allocations: 7.984 kB / 0.7549 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.382, allocations: 67.94 kB / 0.755 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3824, allocations: 0.6768 MB / 0.7556 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.3824, allocations: 4 kB / 0.7556 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.3825, allocations: 11.44 kB / 0.7556 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of SimCode: time 1.458e-06/0.3825, allocations: 0 / 0.7556 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of Templates: time 0.004622/0.3871, allocations: 1.221 MB / 0.7568 GB, free: 5.711 MB / 0.6355 GB