Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadModel(Buildings): time 4.563/4.563, allocations: 464.7 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.851e-05, allocations: 4 kB / 0.5731 GB, free: 5.738 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1974, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6975/0.895, allocations: 134.1 MB / 0.8087 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.8953, allocations: 78.8 kB / 0.8088 GB, free: 12.63 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/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.01329/0.9086, allocations: 3.289 MB / 0.812 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9087, allocations: 0 / 0.812 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.9087, allocations: 3.844 kB / 0.812 GB, free: 12.14 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006584/0.9094, allocations: 493.5 kB / 0.8125 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.9094, allocations: 15.47 kB / 0.8125 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.9095, allocations: 10.61 kB / 0.8125 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.9096, allocations: 182.6 kB / 0.8127 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.9096, allocations: 3.844 kB / 0.8127 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.9097, allocations: 6.875 kB / 0.8127 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.9099, allocations: 70.84 kB / 0.8128 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.9099, allocations: 2.297 kB / 0.8128 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.9099, allocations: 0 / 0.8128 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-06/0.9099, allocations: 3.844 kB / 0.8128 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.9101, allocations: 40.72 kB / 0.8128 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.9107, allocations: 331 kB / 0.8131 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.9109, allocations: 74.94 kB / 0.8132 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.774e-05/0.911, allocations: 33.58 kB / 0.8132 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.9111, allocations: 7.844 kB / 0.8133 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.9113, allocations: 100.6 kB / 0.8133 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.232e-06/0.9113, allocations: 0 / 0.8133 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003364/0.9116, allocations: 129.4 kB / 0.8135 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.9117, allocations: 62.48 kB / 0.8135 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.9118, allocations: 123.8 kB / 0.8137 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.9118, allocations: 29.08 kB / 0.8137 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.9119, allocations: 98.3 kB / 0.8138 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.9119, allocations: 32.36 kB / 0.8138 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-06/0.912, allocations: 0 / 0.8138 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.912, allocations: 323.8 kB / 0.8141 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.132e-05/0.9121, allocations: 24.73 kB / 0.8141 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.9122, allocations: 69.09 kB / 0.8142 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.614e-05/0.9123, allocations: 31.39 kB / 0.8142 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.834e-06/0.9123, allocations: 0 / 0.8142 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002662/0.9126, allocations: 127.2 kB / 0.8144 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9126, allocations: 3.906 kB / 0.8144 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.544e-06/0.9126, allocations: 0 / 0.8144 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9127, allocations: 3.812 kB / 0.8144 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.9128, allocations: 24.72 kB / 0.8144 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.903e-06/0.9129, allocations: 3.875 kB / 0.8144 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.913, allocations: 16.77 kB / 0.8144 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.9131, allocations: 7.688 kB / 0.8144 GB, free: 10.29 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.733e-05/0.9132, allocations: 115.6 kB / 0.8145 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.9132, allocations: 15.53 kB / 0.8145 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.9136, allocations: 161.5 kB / 0.8147 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.513e-06/0.9136, allocations: 3.875 kB / 0.8147 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.762e-06/0.9136, allocations: 3.953 kB / 0.8147 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.822e-06/0.9136, allocations: 0 / 0.8147 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.9143, allocations: 451.5 kB / 0.8151 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.901e-06/0.9143, allocations: 0 / 0.8151 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.9144, allocations: 22.2 kB / 0.8151 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.739e-06/0.9144, allocations: 0 / 0.8151 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.9145, allocations: 10.7 kB / 0.8152 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.493e-06/0.9145, allocations: 7.75 kB / 0.8152 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.029e-06/0.9145, allocations: 0 / 0.8152 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.9148, allocations: 226.2 kB / 0.8154 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.9148, allocations: 86.39 kB / 0.8155 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.9149, allocations: 3.312 kB / 0.8155 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.9151, allocations: 20.7 kB / 0.8155 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.9151, allocations: 16.39 kB / 0.8155 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.9152, allocations: 3.812 kB / 0.8155 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.97e-05/0.9152, allocations: 105.1 kB / 0.8156 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.59e-07/0.9153, allocations: 0 / 0.8156 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004627/0.9157, allocations: 56.28 kB / 0.8157 GB, free: 9.48 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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004009/0.9161, allocations: 180.5 kB / 0.8158 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.9164, allocations: 81.48 kB / 0.8159 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9164, allocations: 0 / 0.8159 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.9165, allocations: 52.38 kB / 0.816 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.9169, allocations: 24.86 kB / 0.816 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.9173, allocations: 150.2 kB / 0.8161 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.9178, allocations: 0.7061 MB / 0.8168 GB, free: 24.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.054e-05/0.9179, allocations: 11.33 kB / 0.8168 GB, free: 24.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.918, allocations: 15.31 kB / 0.8168 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of SimCode: time 1.56e-06/0.918, allocations: 0 / 0.8168 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of Templates: time 0.006023/0.924, allocations: 2.008 MB / 0.8188 GB, free: 24.38 MB / 0.6511 GB