Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.328/2.328, allocations: 252.6 MB / 265.2 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 179.8 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.4 MB / 0.5754 GB, free: 10.43 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.001118/0.001117, allocations: 95.72 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.496e-05, allocations: 4 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1984, allocations: 106.2 MB / 0.8949 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8764/1.075, allocations: 133.7 MB / 1.025 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000471/1.075, allocations: 82.33 kB / 1.026 GB, free: 0.793 MB / 0.6355 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.02259/1.098, allocations: 3.17 MB / 1.029 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.144e-06/1.098, allocations: 0 / 1.029 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.019e-05/1.098, allocations: 4 kB / 1.029 GB, free: 14.07 MB / 0.6511 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.001125/1.099, allocations: 449.5 kB / 1.029 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/1.099, allocations: 11.97 kB / 1.029 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.839e-05/1.099, allocations: 15.84 kB / 1.029 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/1.1, allocations: 174.6 kB / 1.029 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/1.1, allocations: 0 / 1.029 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/1.1, allocations: 11.25 kB / 1.029 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/1.1, allocations: 68.16 kB / 1.029 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/1.1, allocations: 0 / 1.029 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/1.1, allocations: 0 / 1.029 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/1.1, allocations: 0 / 1.029 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/1.101, allocations: 42.73 kB / 1.029 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/1.102, allocations: 328.7 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/1.102, allocations: 60.66 kB / 1.03 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/1.102, allocations: 31.73 kB / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/1.102, allocations: 0 / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/1.103, allocations: 93.81 kB / 1.03 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 3.517e-06/1.103, allocations: 0 / 1.03 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0005603/1.103, allocations: 119.6 kB / 1.03 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/1.103, allocations: 55.39 kB / 1.03 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/1.104, allocations: 116.1 kB / 1.03 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/1.104, allocations: 28.7 kB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/1.104, allocations: 95.61 kB / 1.03 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/1.104, allocations: 18.78 kB / 1.03 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/1.104, allocations: 2.938 kB / 1.03 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001898/1.104, allocations: 322.5 kB / 1.031 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/1.104, allocations: 23.56 kB / 1.031 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/1.105, allocations: 64.58 kB / 1.031 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/1.105, allocations: 31.17 kB / 1.031 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.105, allocations: 0 / 1.031 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004696/1.105, allocations: 113.7 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/1.105, allocations: 11.98 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.105, allocations: 0 / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/1.105, allocations: 4 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/1.106, allocations: 15.98 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/1.106, allocations: 7.891 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/1.106, allocations: 19.5 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/1.106, allocations: 7.984 kB / 1.031 GB, free: 11.7 MB / 0.6511 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 () * 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.00016/1.106, allocations: 111.3 kB / 1.031 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/1.106, allocations: 7.906 kB / 1.031 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006244/1.107, allocations: 147.2 kB / 1.031 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.107, allocations: 0.9688 kB / 1.031 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.107, allocations: 7.938 kB / 1.031 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.107, allocations: 3.953 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/1.108, allocations: 417.4 kB / 1.032 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.108, allocations: 0 / 1.032 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/1.109, allocations: 11.98 kB / 1.032 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/1.109, allocations: 8 kB / 1.032 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/1.109, allocations: 11.64 kB / 1.032 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/1.109, allocations: 0 / 1.032 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.109, allocations: 0 / 1.032 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/1.109, allocations: 214.9 kB / 1.032 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/1.109, allocations: 81.02 kB / 1.032 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/1.109, allocations: 7.438 kB / 1.032 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/1.109, allocations: 15.88 kB / 1.032 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/1.109, allocations: 19.67 kB / 1.032 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/1.109, allocations: 3.984 kB / 1.032 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.797e-05/1.11, allocations: 99.22 kB / 1.032 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/1.11, allocations: 0 / 1.032 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004616/1.11, allocations: 55.17 kB / 1.032 GB, free: 10.52 MB / 0.6511 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) * 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.0004827/1.111, allocations: 171.5 kB / 1.032 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002834/1.111, allocations: 76.8 kB / 1.032 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.111, allocations: 0 / 1.032 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/1.111, allocations: 41.81 kB / 1.032 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/1.111, allocations: 15.3 kB / 1.032 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/1.112, allocations: 128.1 kB / 1.032 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/1.112, allocations: 0.7004 MB / 1.033 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.508e-05/1.112, allocations: 12.42 kB / 1.033 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/1.112, allocations: 11.44 kB / 1.033 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/1.112, allocations: 0 / 1.033 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of Templates: time 0.007202/1.12, allocations: 1.817 MB / 1.035 GB, free: 7.57 MB / 0.6511 GB