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.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004164/0.004163, allocations: 232.5 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.00114/0.00114, allocations: 173.2 kB / 16.7 MB, free: 5.449 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.098/4.098, allocations: 389.1 MB / 406.5 MB, free: 11.82 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.107/4.107, allocations: 472.3 MB / 0.9024 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004823, allocations: 12.81 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1773, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8283/1.006, allocations: 126.7 MB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/1.006, allocations: 91.72 kB / 1.228 GB, free: 26.74 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.01386/1.02, allocations: 3.127 MB / 1.232 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/1.02, allocations: 0 / 1.232 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.02, allocations: 0 / 1.232 GB, free: 24.94 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.0007172/1.021, allocations: 474 kB / 1.232 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.021, allocations: 8.031 kB / 1.232 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/1.021, allocations: 12.22 kB / 1.232 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/1.021, allocations: 182.3 kB / 1.232 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/1.021, allocations: 4 kB / 1.232 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/1.021, allocations: 8.172 kB / 1.232 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/1.021, allocations: 73.78 kB / 1.232 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/1.021, allocations: 0 / 1.232 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/1.021, allocations: 4.516 kB / 1.232 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.021, allocations: 0 / 1.232 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/1.022, allocations: 47.06 kB / 1.232 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/1.022, allocations: 334.3 kB / 1.233 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/1.022, allocations: 66.28 kB / 1.233 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/1.023, allocations: 41.41 kB / 1.233 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/1.023, allocations: 0 / 1.233 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/1.023, allocations: 96.05 kB / 1.233 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.003e-06/1.023, allocations: 0 / 1.233 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005479/1.024, allocations: 166.1 kB / 1.233 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/1.024, allocations: 56.41 kB / 1.233 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/1.024, allocations: 122.9 kB / 1.233 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/1.024, allocations: 28.52 kB / 1.233 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/1.024, allocations: 101.5 kB / 1.233 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/1.024, allocations: 20.66 kB / 1.233 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/1.024, allocations: 3.25 kB / 1.233 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.024, allocations: 320.9 kB / 1.234 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/1.024, allocations: 26.27 kB / 1.234 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/1.024, allocations: 71.41 kB / 1.234 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/1.024, allocations: 36.95 kB / 1.234 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.024, allocations: 0 / 1.234 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003442/1.025, allocations: 132.5 kB / 1.234 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.025, allocations: 8.516 kB / 1.234 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.025, allocations: 0 / 1.234 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.025, allocations: 4.688 kB / 1.234 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/1.025, allocations: 28.42 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/1.025, allocations: 0.6094 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/1.025, allocations: 25.98 kB / 1.234 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/1.025, allocations: 4.562 kB / 1.234 GB, free: 22.65 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.0001123/1.025, allocations: 119.6 kB / 1.234 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/1.025, allocations: 5.875 kB / 1.234 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/1.026, allocations: 159.9 kB / 1.234 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.026, allocations: 3.375 kB / 1.234 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.026, allocations: 4.469 kB / 1.234 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.026, allocations: 0.5625 kB / 1.234 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007495/1.027, allocations: 429 kB / 1.235 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/1.027, allocations: 3.938 kB / 1.235 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/1.027, allocations: 10.91 kB / 1.235 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/1.027, allocations: 4.703 kB / 1.235 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/1.027, allocations: 5.781 kB / 1.235 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.027, allocations: 0 / 1.235 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.027, allocations: 0 / 1.235 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/1.028, allocations: 225.1 kB / 1.235 GB, free: 37.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/1.028, allocations: 87.55 kB / 1.235 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/1.028, allocations: 8.062 kB / 1.235 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/1.028, allocations: 18.92 kB / 1.235 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/1.028, allocations: 15.86 kB / 1.235 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/1.028, allocations: 3.891 kB / 1.235 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.281e-05/1.028, allocations: 102.1 kB / 1.235 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.463e-06/1.028, allocations: 0 / 1.235 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000474/1.029, allocations: 53.67 kB / 1.235 GB, free: 37.55 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.00043/1.029, allocations: 182.6 kB / 1.235 GB, free: 37.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003256/1.029, allocations: 86.14 kB / 1.235 GB, free: 37.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.029, allocations: 0 / 1.235 GB, free: 37.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/1.03, allocations: 47.42 kB / 1.235 GB, free: 37.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/1.03, allocations: 24.41 kB / 1.235 GB, free: 37.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/1.031, allocations: 236.9 kB / 1.236 GB, free: 37.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/1.031, allocations: 0.699 MB / 1.236 GB, free: 36.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.219e-05/1.031, allocations: 11.11 kB / 1.236 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/1.031, allocations: 12.84 kB / 1.236 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/1.031, allocations: 0 / 1.236 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.005938/1.037, allocations: 1.804 MB / 1.238 GB, free: 35.48 MB / 0.6355 GB