Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadModel(Buildings): time 4.007/4.007, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.808e-05, allocations: 3.359 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2363, allocations: 98.72 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.4301, allocations: 126.7 MB / 0.7585 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.4304, allocations: 79.95 kB / 0.7586 GB, free: 2.906 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.01463/0.445, allocations: 3.277 MB / 0.7618 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.311e-06/0.4451, allocations: 0 / 0.7618 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.4451, allocations: 0 / 0.7618 GB, free: 15.62 MB / 0.6511 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.0007545/0.4458, allocations: 491.7 kB / 0.7622 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4459, allocations: 8.031 kB / 0.7622 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.446, allocations: 15.84 kB / 0.7623 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.4462, allocations: 174.9 kB / 0.7624 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.4462, allocations: 11.94 kB / 0.7624 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.4462, allocations: 7.938 kB / 0.7624 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.4464, allocations: 73.66 kB / 0.7625 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.112e-06/0.4465, allocations: 0 / 0.7625 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.4465, allocations: 4 kB / 0.7625 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4465, allocations: 4 kB / 0.7625 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.4467, allocations: 43.92 kB / 0.7626 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.4474, allocations: 328.8 kB / 0.7629 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.4476, allocations: 78.67 kB / 0.763 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/0.4477, allocations: 36.8 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.4478, allocations: 4 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.448, allocations: 103.2 kB / 0.7631 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.653e-06/0.448, allocations: 0 / 0.7631 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.000373/0.4484, allocations: 129.6 kB / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.4485, allocations: 51.41 kB / 0.7633 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.4486, allocations: 131.2 kB / 0.7634 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.4487, allocations: 29.7 kB / 0.7634 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.4488, allocations: 96.12 kB / 0.7635 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.4488, allocations: 35.64 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-06/0.4489, allocations: 0 / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.449, allocations: 326.8 kB / 0.7639 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.4491, allocations: 31.98 kB / 0.7639 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.4493, allocations: 61.09 kB / 0.7639 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.56e-05/0.4494, allocations: 31.97 kB / 0.764 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.073e-06/0.4494, allocations: 0 / 0.764 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003004/0.4497, allocations: 129.4 kB / 0.7641 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.4497, allocations: 7.953 kB / 0.7641 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4498, allocations: 7.984 kB / 0.7641 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4498, allocations: 0 / 0.7641 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.4501, allocations: 23.92 kB / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.4501, allocations: 0 / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.4504, allocations: 19.98 kB / 0.7642 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.4504, allocations: 4 kB / 0.7642 GB, free: 12.93 MB / 0.6511 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.pulsStart,booleanPulse.pulsStart) * 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 0.0001545/0.4506, allocations: 115.1 kB / 0.7643 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.4507, allocations: 11.81 kB / 0.7643 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.4514, allocations: 170.1 kB / 0.7644 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.477e-06/0.4514, allocations: 3.938 kB / 0.7644 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.336e-06/0.4514, allocations: 3.984 kB / 0.7644 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.352e-06/0.4514, allocations: 4 kB / 0.7645 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.4528, allocations: 458.5 kB / 0.7649 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.4529, allocations: 0 / 0.7649 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.4531, allocations: 15.98 kB / 0.7649 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.926e-06/0.4531, allocations: 0 / 0.7649 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.4532, allocations: 4 kB / 0.7649 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.026e-06/0.4532, allocations: 0 / 0.7649 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.469e-06/0.4532, allocations: 0 / 0.7649 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.4539, allocations: 251.4 kB / 0.7651 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.454, allocations: 88.97 kB / 0.7652 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.4541, allocations: 0 / 0.7652 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.4544, allocations: 11.98 kB / 0.7652 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.4545, allocations: 11.98 kB / 0.7653 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.4546, allocations: 7.984 kB / 0.7653 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001474/0.4548, allocations: 108.9 kB / 0.7654 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.83e-07/0.4548, allocations: 4 kB / 0.7654 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008179/0.4556, allocations: 51.98 kB / 0.7654 GB, free: 11.53 MB / 0.6511 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.pulsStart) * 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.0006062/0.4562, allocations: 183.3 kB / 0.7656 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.4567, allocations: 87.92 kB / 0.7657 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4567, allocations: 0 / 0.7657 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.4569, allocations: 55.98 kB / 0.7657 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.4574, allocations: 19.94 kB / 0.7658 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000731/0.4582, allocations: 147.9 kB / 0.7659 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.4587, allocations: 0.7084 MB / 0.7666 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.4588, allocations: 8.562 kB / 0.7666 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.689e-05/0.4589, allocations: 15.42 kB / 0.7666 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.785e-06/0.459, allocations: 0 / 0.7666 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.008529/0.4675, allocations: 2 MB / 0.7686 GB, free: 8.273 MB / 0.6511 GB