Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.009/4.009, allocations: 433.4 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.29e-05, allocations: 4 kB / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/0.5695, allocations: 98.71 MB / 0.6289 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.7633, allocations: 126 MB / 0.752 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.7636, allocations: 79.95 kB / 0.7521 GB, free: 1.355 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01379/0.7774, allocations: 3.184 MB / 0.7552 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7774, allocations: 0 / 0.7552 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.187e-06/0.7775, allocations: 0 / 0.7552 GB, free: 14.17 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.0007508/0.7782, allocations: 483.3 kB / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7783, allocations: 8.031 kB / 0.7557 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.7783, allocations: 15.86 kB / 0.7557 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.7785, allocations: 178.9 kB / 0.7558 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.7786, allocations: 4 kB / 0.7558 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.7786, allocations: 4 kB / 0.7558 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001504/0.7788, allocations: 39.98 kB / 0.7559 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.7789, allocations: 65.66 kB / 0.7559 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.779, allocations: 0 / 0.7559 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.779, allocations: 4 kB / 0.7559 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.5e-06/0.779, allocations: 0 / 0.7559 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.7796, allocations: 313.2 kB / 0.7562 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.7799, allocations: 70.69 kB / 0.7563 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.78, allocations: 31 kB / 0.7563 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.78, allocations: 11.92 kB / 0.7564 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.7803, allocations: 99.34 kB / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.548e-06/0.7803, allocations: 0 / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003934/0.7807, allocations: 125.5 kB / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.7807, allocations: 55.41 kB / 0.7566 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.7809, allocations: 125.1 kB / 0.7567 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.7809, allocations: 25.7 kB / 0.7568 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.781, allocations: 92.12 kB / 0.7569 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.781, allocations: 23.66 kB / 0.7569 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.7811, allocations: 8 kB / 0.7569 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7812, allocations: 322.8 kB / 0.7572 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.7813, allocations: 20 kB / 0.7572 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.7814, allocations: 57.14 kB / 0.7573 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.699e-05/0.7815, allocations: 35.92 kB / 0.7573 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.7815, allocations: 0 / 0.7573 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002769/0.7818, allocations: 113.5 kB / 0.7574 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.7819, allocations: 7.938 kB / 0.7574 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.7819, allocations: 4 kB / 0.7574 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.7819, allocations: 0 / 0.7574 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.7821, allocations: 19.92 kB / 0.7574 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.7821, allocations: 7.953 kB / 0.7574 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.7822, allocations: 19.98 kB / 0.7575 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.7823, allocations: 4 kB / 0.7575 GB, free: 11.58 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 () * 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.0001125/0.7824, allocations: 110.5 kB / 0.7576 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.7824, allocations: 7.906 kB / 0.7576 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.7828, allocations: 142.3 kB / 0.7577 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.561e-06/0.7829, allocations: 3.984 kB / 0.7577 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.43e-06/0.7829, allocations: 0 / 0.7577 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.7829, allocations: 7.953 kB / 0.7577 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007426/0.7837, allocations: 411.1 kB / 0.7581 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7837, allocations: 0 / 0.7581 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.7838, allocations: 11.98 kB / 0.7581 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.453e-06/0.7838, allocations: 0 / 0.7581 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.7838, allocations: 8 kB / 0.7581 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.55e-06/0.7839, allocations: 4 kB / 0.7581 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7839, allocations: 3.953 kB / 0.7581 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.7842, allocations: 223.3 kB / 0.7584 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.7843, allocations: 85 kB / 0.7584 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.7844, allocations: 4 kB / 0.7584 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.7845, allocations: 15.98 kB / 0.7585 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.7846, allocations: 15.94 kB / 0.7585 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.7847, allocations: 4 kB / 0.7585 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.457e-05/0.7847, allocations: 103.2 kB / 0.7586 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.17e-07/0.7848, allocations: 0 / 0.7586 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004528/0.7852, allocations: 47.94 kB / 0.7586 GB, free: 10.3 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) * 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.0004449/0.7857, allocations: 181 kB / 0.7588 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.7859, allocations: 75.92 kB / 0.7589 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.481e-06/0.786, allocations: 0 / 0.7589 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.7861, allocations: 43.98 kB / 0.7589 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.7864, allocations: 11.98 kB / 0.7589 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.7868, allocations: 132.8 kB / 0.7591 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.7872, allocations: 0.704 MB / 0.7597 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.394e-05/0.7873, allocations: 16.41 kB / 0.7598 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.7874, allocations: 11.44 kB / 0.7598 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of SimCode: time 1.376e-06/0.7874, allocations: 0 / 0.7598 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of Templates: time 0.006083/0.7935, allocations: 1.926 MB / 0.7616 GB, free: 7.168 MB / 0.6355 GB