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.004173/0.004173, 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.001169/0.001169, allocations: 174.8 kB / 16.7 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.203/4.203, 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 3.841/3.841, allocations: 472.3 MB / 0.9024 GB, free: 18.77 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006446/0.0006449, allocations: 12.22 kB / 1.008 GB, free: 13.41 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2074, allocations: 98.71 MB / 1.105 GB, free: 10.75 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7771/0.9845, allocations: 126.8 MB / 1.228 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.9849, allocations: 84.5 kB / 1.229 GB, free: 1.992 MB / 0.6042 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.01422/0.9991, allocations: 3.213 MB / 1.232 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9992, allocations: 0 / 1.232 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.9992, allocations: 0.75 kB / 1.232 GB, free: 15.3 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.0009168/1, allocations: 0.4947 MB / 1.232 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1, allocations: 9.812 kB / 1.232 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/1, allocations: 11.89 kB / 1.232 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/1, allocations: 186.1 kB / 1.232 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/1, allocations: 4.594 kB / 1.232 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/1, allocations: 7.438 kB / 1.232 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/1.001, allocations: 78.08 kB / 1.232 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.001, allocations: 1.156 kB / 1.232 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/1.001, allocations: 3.938 kB / 1.232 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/1.001, allocations: 4 kB / 1.232 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/1.001, allocations: 59.38 kB / 1.232 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/1.002, allocations: 325.6 kB / 1.233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/1.002, allocations: 91.64 kB / 1.233 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/1.002, allocations: 44.5 kB / 1.233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/1.002, allocations: 0 / 1.233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/1.003, allocations: 102.6 kB / 1.233 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/1.003, allocations: 0 / 1.233 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.000667/1.003, allocations: 185.1 kB / 1.233 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/1.004, allocations: 67.33 kB / 1.233 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/1.004, allocations: 136.3 kB / 1.233 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/1.004, allocations: 29.27 kB / 1.233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/1.004, allocations: 94.36 kB / 1.234 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/1.004, allocations: 23.08 kB / 1.234 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/1.004, allocations: 3.812 kB / 1.234 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.004, allocations: 322.2 kB / 1.234 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/1.004, allocations: 33.23 kB / 1.234 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/1.004, allocations: 68.47 kB / 1.234 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/1.005, allocations: 37.55 kB / 1.234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.005, allocations: 4 kB / 1.234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004062/1.005, allocations: 136.4 kB / 1.234 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.005, allocations: 8 kB / 1.234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.005, allocations: 0 / 1.234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.005, allocations: 7.953 kB / 1.234 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/1.005, allocations: 19.92 kB / 1.234 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.005, allocations: 0 / 1.234 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/1.005, allocations: 35.36 kB / 1.234 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/1.005, allocations: 4.141 kB / 1.234 GB, free: 12.72 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.0001279/1.006, allocations: 131.4 kB / 1.234 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/1.006, allocations: 11.91 kB / 1.234 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005326/1.006, allocations: 163.9 kB / 1.234 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.006, allocations: 0 / 1.234 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.006, allocations: 3.953 kB / 1.234 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.006, allocations: 0 / 1.234 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000917/1.007, allocations: 453.9 kB / 1.235 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.007, allocations: 7.984 kB / 1.235 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/1.007, allocations: 12 kB / 1.235 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/1.007, allocations: 3.953 kB / 1.235 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/1.007, allocations: 7.297 kB / 1.235 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/1.007, allocations: 7.938 kB / 1.235 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.007, allocations: 0 / 1.235 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/1.008, allocations: 243.7 kB / 1.235 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/1.008, allocations: 85.02 kB / 1.235 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/1.008, allocations: 3.953 kB / 1.235 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/1.008, allocations: 15.48 kB / 1.235 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/1.008, allocations: 14.52 kB / 1.235 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/1.008, allocations: 0 / 1.235 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.623e-05/1.008, allocations: 110.9 kB / 1.235 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/1.008, allocations: 0 / 1.235 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004762/1.009, allocations: 55.06 kB / 1.235 GB, free: 11.47 MB / 0.6198 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.0004583/1.009, allocations: 181.3 kB / 1.236 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000402/1.01, allocations: 93.64 kB / 1.236 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.01, allocations: 0 / 1.236 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/1.01, allocations: 59.09 kB / 1.236 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/1.01, allocations: 23.62 kB / 1.236 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/1.011, allocations: 251.1 kB / 1.236 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/1.011, allocations: 0.7004 MB / 1.237 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.8e-05/1.012, allocations: 20.41 kB / 1.237 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/1.012, allocations: 11.44 kB / 1.237 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of SimCode: time 8.91e-07/1.012, allocations: 0 / 1.237 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.007231/1.019, allocations: 1.945 MB / 1.239 GB, free: 8.281 MB / 0.6198 GB