Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.439/2.439, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 183 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.289/2.289, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001951/0.001951, allocations: 96.09 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005213/0.0005213, allocations: 11.88 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2199, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2285/0.4485, allocations: 133.8 MB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.4489, allocations: 95.86 kB / 1.03 GB, free: 11.43 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01532/0.4642, allocations: 3.171 MB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4642, allocations: 0 / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.4643, allocations: 4 kB / 1.033 GB, free: 8.246 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008864/0.4652, allocations: 466.4 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4652, allocations: 12.03 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.4653, allocations: 11.86 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.4655, allocations: 182.8 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.4655, allocations: 4 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.4655, allocations: 11.94 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.4658, allocations: 69.66 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4658, allocations: 0 / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.4658, allocations: 7.984 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4659, allocations: 0 / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.4661, allocations: 47.91 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000779/0.4669, allocations: 328.8 kB / 1.034 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.4671, allocations: 62.55 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.4672, allocations: 0 / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.4675, allocations: 111.2 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.4675, allocations: 0 / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0005953/0.4681, allocations: 161.4 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4681, allocations: 59.39 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.4683, allocations: 113 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.4683, allocations: 29.7 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.4684, allocations: 92.53 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.4685, allocations: 27.69 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.4685, allocations: 4 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4686, allocations: 318.8 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.4688, allocations: 23.98 kB / 1.035 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.4689, allocations: 74.83 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.4691, allocations: 37.75 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4691, allocations: 0 / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003954/0.4695, allocations: 141.5 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4695, allocations: 4 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4696, allocations: 4 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4696, allocations: 0 / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.4698, allocations: 19.92 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.4699, allocations: 7.953 kB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.4701, allocations: 15.92 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.4701, allocations: 8 kB / 1.035 GB, free: 5.594 MB / 0.6823 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000128/0.4702, allocations: 124.1 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.4703, allocations: 3.906 kB / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.4708, allocations: 153.9 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4708, allocations: 4 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4708, allocations: 3.984 kB / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4708, allocations: 3.953 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008498/0.4717, allocations: 438.3 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.4717, allocations: 0 / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.4718, allocations: 11.98 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4719, allocations: 0 / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4719, allocations: 8 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.4719, allocations: 8.328 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4719, allocations: 0 / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.4724, allocations: 223.4 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.4725, allocations: 81.02 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.4725, allocations: 15.88 kB / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.4727, allocations: 19.92 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.4728, allocations: 11.94 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.4728, allocations: 8 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.132e-05/0.4729, allocations: 91.27 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4729, allocations: 0 / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004526/0.4734, allocations: 59.92 kB / 1.036 GB, free: 4.242 MB / 0.6823 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0004837/0.4739, allocations: 175.4 kB / 1.036 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003634/0.4743, allocations: 83.89 kB / 1.037 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4743, allocations: 0 / 1.037 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.4745, allocations: 64.09 kB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.4748, allocations: 8 kB / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.4754, allocations: 227.1 kB / 1.037 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.4757, allocations: 0.6965 MB / 1.037 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.07e-05/0.4758, allocations: 12.42 kB / 1.037 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.4759, allocations: 11.44 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of SimCode: time 7.51e-07/0.4759, allocations: 0 / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of Templates: time 0.006611/0.4825, allocations: 1.805 MB / 1.039 GB, free: 1.129 MB / 0.6823 GB