Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.168/2.168, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 181.7 kB / 325.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.515/2.515, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 94.59 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004565, allocations: 14.38 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2597, allocations: 106.2 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2995/0.5593, allocations: 131.8 MB / 1.028 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003495/0.5597, allocations: 71.97 kB / 1.028 GB, free: 13.34 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01309/0.5728, allocations: 2.338 MB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.574e-06/0.5728, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5729, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 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.0006471/0.5735, allocations: 388.9 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.5736, allocations: 8.031 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.5736, allocations: 11.94 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.5738, allocations: 170.9 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.5739, allocations: 8 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.5739, allocations: 0 / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.5741, allocations: 37.69 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5741, allocations: 0 / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.5741, allocations: 3.984 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5742, allocations: 4 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.261e-05/0.5742, allocations: 8 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.5745, allocations: 157.6 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.5746, allocations: 35.41 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.5747, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.5749, allocations: 55.5 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.334e-06/0.5749, allocations: 4 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0003935/0.5753, allocations: 77.61 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.5754, allocations: 55.34 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.5755, allocations: 97.23 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.5756, allocations: 29.7 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.5756, allocations: 80.14 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.5757, allocations: 15.75 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.5757, allocations: 0 / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5759, allocations: 330.8 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.576, allocations: 4 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-05/0.5761, allocations: 40.28 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.124e-05/0.5761, allocations: 12 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5761, allocations: 0 / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002288/0.5764, allocations: 81.47 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5764, allocations: 4 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.5764, allocations: 4.188 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.5765, allocations: 4 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.5766, allocations: 15.98 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.5766, allocations: 3.938 kB / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.5767, allocations: 8 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.5767, allocations: 0 / 1.032 GB, free: 9.039 MB / 0.6823 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 () * Number of clocked 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 0.0001292/0.5769, allocations: 121.9 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.5769, allocations: 4 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.577, allocations: 3.562 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.577, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.577, allocations: 3.984 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.577, allocations: 0 / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.5772, allocations: 157.6 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5773, allocations: 4.047 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.5773, allocations: 3.984 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.5773, allocations: 4 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5774, allocations: 4 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.5774, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5774, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.5777, allocations: 100.9 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.5777, allocations: 81.11 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.5778, allocations: 0 / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.173e-05/0.5778, allocations: 3.938 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.5779, allocations: 3.984 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5779, allocations: 8 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.78e-05/0.578, allocations: 83.28 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/0.578, allocations: 0 / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006104/0.5786, allocations: 47.92 kB / 1.032 GB, free: 8.32 MB / 0.6823 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 () * Number of clocked 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.0006434/0.5793, allocations: 174.8 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.5795, allocations: 39.92 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5795, allocations: 0 / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.5796, allocations: 19.92 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.5798, allocations: 9.672 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.5803, allocations: 124.6 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.5807, allocations: 0.6851 MB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.161e-05/0.5807, allocations: 7.984 kB / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.5808, allocations: 7.438 kB / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of SimCode: time 7.52e-07/0.5808, allocations: 0 / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of Templates: time 0.006297/0.5871, allocations: 1.234 MB / 1.035 GB, free: 5.98 MB / 0.6823 GB