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.BinaryVariableGeneration.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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadModel(Buildings): time 4.091/4.091, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.512e-05, allocations: 4.375 kB / 0.5383 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.173, allocations: 98.72 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.3848, allocations: 124.6 MB / 0.7564 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/0.3853, allocations: 63.97 kB / 0.7565 GB, free: 5.086 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.01356/0.3989, allocations: 2.03 MB / 0.7584 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3989, allocations: 0 / 0.7584 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.702e-06/0.399, allocations: 0 / 0.7584 GB, free: 3.051 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.0006687/0.3996, allocations: 376 kB / 0.7588 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3997, allocations: 8.031 kB / 0.7588 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.3997, allocations: 4 kB / 0.7588 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3999, allocations: 163 kB / 0.759 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.3999, allocations: 0 / 0.759 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.3999, allocations: 7.984 kB / 0.759 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.678e-05/0.4001, allocations: 33.69 kB / 0.759 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.572e-06/0.4001, allocations: 0 / 0.759 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4001, allocations: 8 kB / 0.759 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.671e-06/0.4001, allocations: 0 / 0.759 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.4002, allocations: 7.938 kB / 0.759 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.4004, allocations: 157.6 kB / 0.7592 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.948e-05/0.4004, allocations: 30.52 kB / 0.7592 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.4005, allocations: 16.98 kB / 0.7592 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.532e-06/0.4005, allocations: 0 / 0.7592 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.4007, allocations: 59.34 kB / 0.7593 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.283e-06/0.4007, allocations: 0 / 0.7593 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001786/0.4009, allocations: 53.69 kB / 0.7593 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.4009, allocations: 51.41 kB / 0.7594 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.401, allocations: 100.9 kB / 0.7595 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.4011, allocations: 25.7 kB / 0.7595 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.4011, allocations: 84.27 kB / 0.7596 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.4011, allocations: 7.906 kB / 0.7596 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-06/0.4012, allocations: 7.938 kB / 0.7596 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4013, allocations: 314.8 kB / 0.7599 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.4014, allocations: 8 kB / 0.7599 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.4014, allocations: 35.42 kB / 0.7599 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.4015, allocations: 17.75 kB / 0.7599 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-06/0.4015, allocations: 0 / 0.7599 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001434/0.4016, allocations: 65.62 kB / 0.76 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4017, allocations: 7.984 kB / 0.76 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4017, allocations: 0 / 0.76 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4017, allocations: 4 kB / 0.76 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.4018, allocations: 4 kB / 0.76 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4018, allocations: 7.938 kB / 0.76 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.4019, allocations: 8.031 kB / 0.76 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4019, allocations: 4 kB / 0.76 GB, free: 1.176 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.016e-05/0.402, allocations: 108.9 kB / 0.7601 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.402, allocations: 3.906 kB / 0.7601 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.4021, allocations: 15.56 kB / 0.7602 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-06/0.4021, allocations: 0 / 0.7602 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.089e-06/0.4021, allocations: 4 kB / 0.7602 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.583e-06/0.4021, allocations: 0 / 0.7602 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.4023, allocations: 161.6 kB / 0.7603 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-06/0.4023, allocations: 4 kB / 0.7603 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.4023, allocations: 0 / 0.7603 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.059e-06/0.4023, allocations: 4 kB / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-06/0.4023, allocations: 0 / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.04e-06/0.4024, allocations: 0 / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4024, allocations: 0 / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.4025, allocations: 89 kB / 0.7604 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.4026, allocations: 81.11 kB / 0.7605 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4026, allocations: 4 kB / 0.7605 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.922e-05/0.4027, allocations: 0 / 0.7605 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.4027, allocations: 7.922 kB / 0.7605 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4027, allocations: 4 kB / 0.7605 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.532e-05/0.4028, allocations: 75.28 kB / 0.7606 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.07e-07/0.4028, allocations: 0 / 0.7606 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003605/0.4032, allocations: 43.94 kB / 0.7606 GB, free: 500 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.0004504/0.4036, allocations: 173.5 kB / 0.7608 GB, free: 328 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.4037, allocations: 23.94 kB / 0.7608 GB, free: 304 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.917e-06/0.4038, allocations: 0 / 0.7608 GB, free: 304 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.4038, allocations: 12 kB / 0.7608 GB, free: 292 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.4039, allocations: 4 kB / 0.7608 GB, free: 288 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.4042, allocations: 73.3 kB / 0.7609 GB, free: 192 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4045, allocations: 0.677 MB / 0.7616 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.4046, allocations: 7.984 kB / 0.7616 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.4046, allocations: 7.438 kB / 0.7616 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of SimCode: time 1.428e-06/0.4046, allocations: 0 / 0.7616 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of Templates: time 0.004254/0.4089, allocations: 1.125 MB / 0.7627 GB, free: 14.34 MB / 0.6511 GB