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.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004424/0.00443, allocations: 232.8 kB / 15.82 MB, free: 6.297 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.001276/0.001266, allocations: 177.9 kB / 16.71 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.041/4.041, allocations: 389.1 MB / 406.5 MB, free: 11.8 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 4.026/4.026, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.000487, allocations: 11.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.174, allocations: 98.71 MB / 1.105 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8318/1.006, allocations: 126.7 MB / 1.228 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/1.006, allocations: 87.08 kB / 1.228 GB, free: 26.83 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.0141/1.02, allocations: 3.109 MB / 1.231 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.086e-06/1.02, allocations: 0 / 1.231 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.264e-06/1.02, allocations: 7.375 kB / 1.231 GB, free: 25.03 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.0008374/1.021, allocations: 478.1 kB / 1.232 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/1.021, allocations: 8.031 kB / 1.232 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/1.021, allocations: 11.91 kB / 1.232 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/1.021, allocations: 183.1 kB / 1.232 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.804e-05/1.022, allocations: 31.72 kB / 1.232 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/1.022, allocations: 10.66 kB / 1.232 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/1.022, allocations: 83.61 kB / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.022, allocations: 0 / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/1.022, allocations: 0 / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.022, allocations: 6.391 kB / 1.232 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/1.022, allocations: 52.8 kB / 1.232 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/1.023, allocations: 334.5 kB / 1.233 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/1.023, allocations: 73.48 kB / 1.233 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/1.024, allocations: 41.61 kB / 1.233 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/1.024, allocations: 7.453 kB / 1.233 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/1.024, allocations: 91.92 kB / 1.233 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 4.168e-06/1.024, allocations: 0 / 1.233 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0007522/1.025, allocations: 179.5 kB / 1.233 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/1.025, allocations: 56.25 kB / 1.233 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/1.025, allocations: 131.8 kB / 1.233 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.025, allocations: 26.3 kB / 1.233 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/1.025, allocations: 99.34 kB / 1.233 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/1.025, allocations: 36.7 kB / 1.233 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/1.025, allocations: 0 / 1.233 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.025, allocations: 321.7 kB / 1.234 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/1.026, allocations: 32.08 kB / 1.234 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/1.026, allocations: 75.27 kB / 1.234 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/1.026, allocations: 39.58 kB / 1.234 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.026, allocations: 0 / 1.234 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004929/1.027, allocations: 140.5 kB / 1.234 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.027, allocations: 4.781 kB / 1.234 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.027, allocations: 0.6562 kB / 1.234 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.027, allocations: 11.83 kB / 1.234 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/1.027, allocations: 23.45 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.027, allocations: 4.703 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/1.027, allocations: 12.03 kB / 1.234 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/1.027, allocations: 4.75 kB / 1.234 GB, free: 22.66 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.0001466/1.027, allocations: 129.2 kB / 1.234 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/1.027, allocations: 8.562 kB / 1.234 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/1.027, allocations: 12.88 kB / 1.234 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/1.027, allocations: 7.953 kB / 1.234 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.027, allocations: 0.75 kB / 1.234 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.027, allocations: 0.7969 kB / 1.234 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009113/1.028, allocations: 432.9 kB / 1.235 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.028, allocations: 0.6094 kB / 1.235 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/1.028, allocations: 14.41 kB / 1.235 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.028, allocations: 5.312 kB / 1.235 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/1.028, allocations: 9.375 kB / 1.235 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.029, allocations: 2.312 kB / 1.235 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.029, allocations: 0 / 1.235 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/1.029, allocations: 231 kB / 1.235 GB, free: 37.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/1.03, allocations: 82.14 kB / 1.235 GB, free: 37.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/1.03, allocations: 11.02 kB / 1.235 GB, free: 37.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/1.03, allocations: 17.06 kB / 1.235 GB, free: 37.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/1.03, allocations: 11.66 kB / 1.235 GB, free: 37.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/1.03, allocations: 8.359 kB / 1.235 GB, free: 37.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001022/1.03, allocations: 104.7 kB / 1.235 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.03, allocations: 0 / 1.235 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005241/1.031, allocations: 48.92 kB / 1.235 GB, free: 37.66 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 (10): * Single equations (assignments): 7 * 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.0004421/1.031, allocations: 177.8 kB / 1.235 GB, free: 37.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004871/1.032, allocations: 93.41 kB / 1.235 GB, free: 37.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.032, allocations: 0 / 1.235 GB, free: 37.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/1.032, allocations: 50.81 kB / 1.235 GB, free: 37.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/1.032, allocations: 19.56 kB / 1.235 GB, free: 37.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/1.033, allocations: 223.6 kB / 1.236 GB, free: 37.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/1.033, allocations: 0.7 MB / 1.236 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001023/1.033, allocations: 14.56 kB / 1.236 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/1.033, allocations: 17.73 kB / 1.236 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/1.033, allocations: 3.344 kB / 1.236 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of Templates: time 0.006451/1.04, allocations: 1.788 MB / 1.238 GB, free: 35.59 MB / 0.6355 GB