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.00907/0.00907, allocations: 110.4 kB / 15.06 MB, free: 5.965 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.001139/0.001139, allocations: 183.4 kB / 15.94 MB, free: 5.93 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 1.836/1.836, allocations: 194.6 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.214/2.214, allocations: 236.2 MB / 492.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004761, allocations: 16 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6086/0.6091, allocations: 98.71 MB / 0.6833 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2598/0.8689, allocations: 126.8 MB / 0.8072 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.8692, allocations: 79.95 kB / 0.8073 GB, free: 15.26 MB / 0.6355 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.01429/0.8835, allocations: 3.287 MB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8836, allocations: 0 / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.8836, allocations: 4 kB / 0.8105 GB, free: 11.95 MB / 0.6355 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.0007867/0.8844, allocations: 0.5003 MB / 0.811 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.8844, allocations: 12.03 kB / 0.811 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.8845, allocations: 19.75 kB / 0.811 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.8847, allocations: 167 kB / 0.8112 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.8847, allocations: 4 kB / 0.8112 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.8847, allocations: 11.98 kB / 0.8112 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.885, allocations: 81.58 kB / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.885, allocations: 3.984 kB / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.8851, allocations: 0 / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.8851, allocations: 8 kB / 0.8113 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.8853, allocations: 51.92 kB / 0.8113 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.886, allocations: 340.7 kB / 0.8117 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.8863, allocations: 94.53 kB / 0.8117 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.8864, allocations: 0 / 0.8117 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.8866, allocations: 99.34 kB / 0.8118 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.414e-06/0.8867, allocations: 0 / 0.8118 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.000589/0.8873, allocations: 185.4 kB / 0.812 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.8873, allocations: 55.34 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.8875, allocations: 135.5 kB / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.8875, allocations: 29.7 kB / 0.8122 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.8876, allocations: 96.12 kB / 0.8123 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.8877, allocations: 19.72 kB / 0.8123 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.8877, allocations: 4 kB / 0.8123 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8879, allocations: 326.8 kB / 0.8127 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.888, allocations: 27.98 kB / 0.8127 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.8881, allocations: 65.12 kB / 0.8127 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.8883, allocations: 47.92 kB / 0.8128 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.844e-06/0.8883, allocations: 0 / 0.8128 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003703/0.8887, allocations: 141.3 kB / 0.8129 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.8887, allocations: 7.953 kB / 0.8129 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.8887, allocations: 4 kB / 0.8129 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8887, allocations: 4.094 kB / 0.8129 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.8889, allocations: 15.98 kB / 0.813 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.195e-06/0.8889, allocations: 7.938 kB / 0.813 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.8891, allocations: 19.92 kB / 0.813 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.8891, allocations: 8 kB / 0.813 GB, free: 9.152 MB / 0.6355 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.0001336/0.8892, allocations: 120.9 kB / 0.8131 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.8893, allocations: 15.91 kB / 0.8131 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.8898, allocations: 174.4 kB / 0.8133 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.8898, allocations: 7.984 kB / 0.8133 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.239e-06/0.8898, allocations: 0 / 0.8133 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.8898, allocations: 0 / 0.8133 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.8907, allocations: 470.5 kB / 0.8137 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.27e-06/0.8907, allocations: 3.953 kB / 0.8137 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.8909, allocations: 19.92 kB / 0.8138 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.611e-06/0.8909, allocations: 0 / 0.8138 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.8909, allocations: 0 / 0.8138 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.871e-06/0.8909, allocations: 4 kB / 0.8138 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.59e-06/0.8909, allocations: 0 / 0.8138 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.8914, allocations: 251.4 kB / 0.814 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.8915, allocations: 100.8 kB / 0.8141 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.8915, allocations: 3.938 kB / 0.8141 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.8917, allocations: 12 kB / 0.8141 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.8918, allocations: 23.84 kB / 0.8141 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.8918, allocations: 8 kB / 0.8141 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001035/0.8919, allocations: 109.5 kB / 0.8143 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.51e-07/0.892, allocations: 0 / 0.8143 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004556/0.8924, allocations: 48 kB / 0.8143 GB, free: 7.711 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.0004441/0.8929, allocations: 179.8 kB / 0.8145 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.8932, allocations: 95.89 kB / 0.8146 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.677e-06/0.8932, allocations: 0 / 0.8146 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.8934, allocations: 63.91 kB / 0.8146 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.8937, allocations: 20.17 kB / 0.8146 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.8944, allocations: 263.3 kB / 0.8149 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.8948, allocations: 0.7082 MB / 0.8156 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.427e-05/0.8948, allocations: 12.83 kB / 0.8156 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.8949, allocations: 15.44 kB / 0.8156 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of SimCode: time 3.499e-06/0.8949, allocations: 0 / 0.8156 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of Templates: time 0.006495/0.9014, allocations: 1.999 MB / 0.8176 GB, free: 4.324 MB / 0.6355 GB