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.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004191/0.004195, 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.001122/0.001122, allocations: 177.3 kB / 16.71 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.001/4.001, 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 4.072/4.072, allocations: 472.3 MB / 0.9024 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004786, allocations: 8 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1777, allocations: 98.73 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.79/0.9678, allocations: 126.8 MB / 1.229 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.9681, allocations: 87.36 kB / 1.229 GB, free: 26.7 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.01544/0.9836, allocations: 3.289 MB / 1.232 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9837, allocations: 0 / 1.232 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.9837, allocations: 4 kB / 1.232 GB, free: 24.8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008526/0.9845, allocations: 0.4977 MB / 1.232 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.9846, allocations: 8.031 kB / 1.232 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.9847, allocations: 18.8 kB / 1.232 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.9848, allocations: 175.9 kB / 1.232 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.9848, allocations: 4.516 kB / 1.232 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.9849, allocations: 7.562 kB / 1.233 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.9852, allocations: 86.41 kB / 1.233 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9852, allocations: 0 / 1.233 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.9852, allocations: 3.625 kB / 1.233 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.9852, allocations: 3.938 kB / 1.233 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.9855, allocations: 57.33 kB / 1.233 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.9862, allocations: 343.5 kB / 1.233 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.9865, allocations: 79.16 kB / 1.233 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.9867, allocations: 42.45 kB / 1.233 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.9867, allocations: 4 kB / 1.233 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.987, allocations: 104.2 kB / 1.233 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.655e-06/0.987, allocations: 7.312 kB / 1.233 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006223/0.9877, allocations: 175.9 kB / 1.233 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.9877, allocations: 56.86 kB / 1.233 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.9879, allocations: 141.3 kB / 1.234 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.9879, allocations: 29.02 kB / 1.234 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.988, allocations: 99.08 kB / 1.234 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.9881, allocations: 25.23 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.9881, allocations: 6.75 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.9882, allocations: 318.6 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.9884, allocations: 33.98 kB / 1.234 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.9885, allocations: 73.47 kB / 1.234 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.9887, allocations: 37.12 kB / 1.234 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.9887, allocations: 0 / 1.234 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003781/0.9891, allocations: 148.5 kB / 1.234 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.9891, allocations: 7.922 kB / 1.234 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.9891, allocations: 1.266 kB / 1.234 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.9892, allocations: 4 kB / 1.234 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.9894, allocations: 20.16 kB / 1.234 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.9894, allocations: 8.734 kB / 1.234 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.9896, allocations: 17.39 kB / 1.234 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.9896, allocations: 6.391 kB / 1.234 GB, free: 22.42 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,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Number of clocked 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.0001388/0.9897, allocations: 128.6 kB / 1.234 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.9898, allocations: 11.86 kB / 1.234 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/0.9904, allocations: 168.1 kB / 1.235 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9904, allocations: 4 kB / 1.235 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9904, allocations: 0.5156 kB / 1.235 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.9904, allocations: 5.344 kB / 1.235 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008698/0.9913, allocations: 469.6 kB / 1.235 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9913, allocations: 4 kB / 1.235 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.9915, allocations: 16.16 kB / 1.235 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.9915, allocations: 4 kB / 1.235 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.9915, allocations: 2.109 kB / 1.235 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.9915, allocations: 3.938 kB / 1.235 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9915, allocations: 0 / 1.235 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.992, allocations: 253.9 kB / 1.235 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.9921, allocations: 98.59 kB / 1.235 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.9921, allocations: 8.625 kB / 1.235 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.9923, allocations: 11.05 kB / 1.235 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.9924, allocations: 15.41 kB / 1.236 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.9924, allocations: 8.109 kB / 1.236 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005123/0.993, allocations: 107.7 kB / 1.236 GB, free: 37.31 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.993, allocations: 0 / 1.236 GB, free: 37.31 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005242/0.9935, allocations: 53.17 kB / 1.236 GB, free: 37.27 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.pulsStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * 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.0004741/0.994, allocations: 179.1 kB / 1.236 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.9944, allocations: 103.5 kB / 1.236 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9944, allocations: 3.125 kB / 1.236 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.9946, allocations: 59.86 kB / 1.236 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.9951, allocations: 18.91 kB / 1.236 GB, free: 37.01 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/0.9957, allocations: 264 kB / 1.236 GB, free: 36.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.9961, allocations: 0.7102 MB / 1.237 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.04e-05/0.9962, allocations: 9.391 kB / 1.237 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.9962, allocations: 19.12 kB / 1.237 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of SimCode: time 9.51e-07/0.9962, allocations: 3.469 kB / 1.237 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.006748/1.003, allocations: 1.989 MB / 1.239 GB, free: 35.05 MB / 0.6355 GB