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.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009006/0.009009, allocations: 110.2 kB / 15.05 MB, free: 5.98 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.001105/0.001105, allocations: 184 kB / 15.94 MB, free: 5.941 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.978/1.978, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.32/2.32, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004574, allocations: 12 kB / 0.5869 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5471, allocations: 98.7 MB / 0.6833 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.7519, allocations: 126.8 MB / 0.8071 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.7522, allocations: 79.95 kB / 0.8072 GB, free: 15.28 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.01397/0.7662, allocations: 3.213 MB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.91e-06/0.7662, allocations: 0 / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.7663, allocations: 4 kB / 0.8104 GB, free: 12.06 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.0007853/0.7671, allocations: 0.4884 MB / 0.8108 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.7671, allocations: 8.031 kB / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.7672, allocations: 15.86 kB / 0.8109 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.7674, allocations: 174.9 kB / 0.811 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.7674, allocations: 8 kB / 0.811 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.7674, allocations: 8 kB / 0.811 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.7677, allocations: 89.52 kB / 0.8111 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.029e-06/0.7677, allocations: 0 / 0.8111 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7677, allocations: 0 / 0.8111 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-06/0.7678, allocations: 0 / 0.8111 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.768, allocations: 55.95 kB / 0.8112 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.7687, allocations: 328.8 kB / 0.8115 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.769, allocations: 82.7 kB / 0.8116 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.769, allocations: 0 / 0.8116 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.7693, allocations: 111.4 kB / 0.8117 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.623e-06/0.7693, allocations: 0 / 0.8117 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0005826/0.7699, allocations: 185.4 kB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.77, allocations: 59.39 kB / 0.8119 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.7701, allocations: 131.1 kB / 0.812 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.7702, allocations: 33.7 kB / 0.8121 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.7703, allocations: 96.08 kB / 0.8122 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.7703, allocations: 23.7 kB / 0.8122 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-06/0.7703, allocations: 0 / 0.8122 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7705, allocations: 318.8 kB / 0.8125 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.7706, allocations: 35.97 kB / 0.8125 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.7708, allocations: 66.83 kB / 0.8126 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.771, allocations: 43.92 kB / 0.8126 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-06/0.771, allocations: 0 / 0.8126 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003784/0.7714, allocations: 141.4 kB / 0.8128 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.7714, allocations: 4 kB / 0.8128 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.998e-06/0.7714, allocations: 4 kB / 0.8128 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7714, allocations: 0 / 0.8128 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.7716, allocations: 23.98 kB / 0.8128 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.7716, allocations: 11.88 kB / 0.8128 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.7718, allocations: 23.92 kB / 0.8128 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.7718, allocations: 8 kB / 0.8128 GB, free: 9.27 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.000136/0.772, allocations: 117.8 kB / 0.813 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.772, allocations: 11.91 kB / 0.813 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.7725, allocations: 162.3 kB / 0.8131 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.147e-06/0.7725, allocations: 8 kB / 0.8131 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.891e-06/0.7725, allocations: 0 / 0.8131 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.7725, allocations: 3.953 kB / 0.8131 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008651/0.7734, allocations: 454.3 kB / 0.8136 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-06/0.7734, allocations: 0 / 0.8136 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.7736, allocations: 23.92 kB / 0.8136 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.627e-06/0.7736, allocations: 0 / 0.8136 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.7736, allocations: 7.953 kB / 0.8136 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.542e-06/0.7736, allocations: 3.984 kB / 0.8136 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.818e-06/0.7736, allocations: 0 / 0.8136 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.7741, allocations: 239.4 kB / 0.8138 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.7742, allocations: 89.02 kB / 0.8139 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.7742, allocations: 0 / 0.8139 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.7744, allocations: 19.94 kB / 0.8139 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.7745, allocations: 11.92 kB / 0.8139 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.7745, allocations: 4 kB / 0.8139 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.329e-05/0.7746, allocations: 107.1 kB / 0.814 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.13e-07/0.7746, allocations: 0 / 0.814 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004761/0.7751, allocations: 55.98 kB / 0.8141 GB, free: 7.867 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 (13): * Single equations (assignments): 10 * 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.0004564/0.7756, allocations: 185 kB / 0.8143 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.7759, allocations: 99.89 kB / 0.8144 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.824e-06/0.776, allocations: 4.188 kB / 0.8144 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.7761, allocations: 55.91 kB / 0.8144 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.7764, allocations: 18.39 kB / 0.8144 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.7771, allocations: 243.6 kB / 0.8147 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.7774, allocations: 0.6965 MB / 0.8154 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.41e-05/0.7775, allocations: 16.36 kB / 0.8154 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.7776, allocations: 15.44 kB / 0.8154 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of SimCode: time 1.672e-06/0.7776, allocations: 4 kB / 0.8154 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of Templates: time 0.006512/0.7841, allocations: 1.946 MB / 0.8173 GB, free: 4.566 MB / 0.6355 GB