Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004573/0.004572, allocations: 231.2 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00231/0.00231, allocations: 175.3 kB / 16.7 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.01/4.01, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.973/3.973, allocations: 472.3 MB / 0.9024 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004709, allocations: 16.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.172, allocations: 98.72 MB / 1.105 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7706/0.9426, allocations: 126.7 MB / 1.228 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.943, allocations: 91.44 kB / 1.228 GB, free: 26.73 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01473/0.9577, allocations: 3.122 MB / 1.232 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.955e-06/0.9578, allocations: 0.6094 kB / 1.232 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.9578, allocations: 4 kB / 1.232 GB, free: 24.92 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007899/0.9586, allocations: 466.1 kB / 1.232 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.9587, allocations: 12.64 kB / 1.232 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.9587, allocations: 11.03 kB / 1.232 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.9588, allocations: 176 kB / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.9589, allocations: 6.062 kB / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.9589, allocations: 8.125 kB / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.9592, allocations: 75.72 kB / 1.232 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9592, allocations: 0 / 1.232 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.9592, allocations: 4.734 kB / 1.232 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.9592, allocations: 0 / 1.232 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.9594, allocations: 46.97 kB / 1.232 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.9602, allocations: 335.2 kB / 1.233 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.9604, allocations: 68.95 kB / 1.233 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.9606, allocations: 39.08 kB / 1.233 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.9606, allocations: 0 / 1.233 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.9609, allocations: 95.38 kB / 1.233 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.9609, allocations: 3.312 kB / 1.233 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005618/0.9615, allocations: 167.4 kB / 1.233 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.9615, allocations: 55.92 kB / 1.233 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.9617, allocations: 125.3 kB / 1.233 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.9617, allocations: 36.39 kB / 1.233 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.9618, allocations: 93.36 kB / 1.233 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.9618, allocations: 21.48 kB / 1.233 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.9618, allocations: 4 kB / 1.233 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.962, allocations: 317.7 kB / 1.234 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.9621, allocations: 28.81 kB / 1.234 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.9623, allocations: 73.36 kB / 1.234 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.9624, allocations: 32.5 kB / 1.234 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9624, allocations: 0 / 1.234 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003545/0.9628, allocations: 136.2 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.9628, allocations: 4.844 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9628, allocations: 6.031 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9629, allocations: 0 / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.963, allocations: 23.73 kB / 1.234 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.9631, allocations: 8.453 kB / 1.234 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.9632, allocations: 22.11 kB / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.9633, allocations: 7.141 kB / 1.234 GB, free: 22.64 MB / 0.6198 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,lig.occ,$PRE.occ.pulsStart,occ.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001276/0.9634, allocations: 121.1 kB / 1.234 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.9635, allocations: 4.5 kB / 1.234 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.9639, allocations: 157.4 kB / 1.234 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.964, allocations: 4.797 kB / 1.234 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.964, allocations: 3.953 kB / 1.234 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.964, allocations: 0.6562 kB / 1.234 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/0.9648, allocations: 429.4 kB / 1.235 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.9648, allocations: 1.875 kB / 1.235 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.9649, allocations: 14.14 kB / 1.235 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.9649, allocations: 0 / 1.235 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.965, allocations: 6.484 kB / 1.235 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.965, allocations: 4 kB / 1.235 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.965, allocations: 0 / 1.235 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008287/0.9658, allocations: 229.7 kB / 1.235 GB, free: 37.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.9659, allocations: 81.58 kB / 1.235 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.9659, allocations: 6.859 kB / 1.235 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.9661, allocations: 20.78 kB / 1.235 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.9662, allocations: 12.3 kB / 1.235 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.9662, allocations: 5.5 kB / 1.235 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.479e-05/0.9663, allocations: 99.25 kB / 1.235 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9664, allocations: 4.719 kB / 1.235 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005053/0.9669, allocations: 53.97 kB / 1.235 GB, free: 37.54 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulsStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0004365/0.9673, allocations: 177.8 kB / 1.235 GB, free: 37.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003808/0.9677, allocations: 89.7 kB / 1.235 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9677, allocations: 0 / 1.235 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.9679, allocations: 52.69 kB / 1.235 GB, free: 37.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.9683, allocations: 14.12 kB / 1.235 GB, free: 37.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/0.9689, allocations: 237.2 kB / 1.236 GB, free: 37.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.9693, allocations: 0.7031 MB / 1.236 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.567e-05/0.9694, allocations: 6.688 kB / 1.236 GB, free: 36.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.9694, allocations: 12.61 kB / 1.236 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/0.9694, allocations: 0 / 1.236 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.006241/0.9757, allocations: 1.81 MB / 1.238 GB, free: 35.45 MB / 0.6355 GB