Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 253.2 MB / 260.6 MB, free: 7.473 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.001438/0.001438, allocations: 180.1 kB / 319.9 MB, free: 3.09 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.057/2.057, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001132/0.001132, allocations: 97.19 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.847e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1916, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9504/1.142, allocations: 133.9 MB / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/1.142, allocations: 86.7 kB / 1.02 GB, free: 3.438 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.01466/1.157, allocations: 3.142 MB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/1.157, allocations: 0 / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.157, allocations: 0 / 1.023 GB, free: 0.7773 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008311/1.158, allocations: 455.3 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/1.158, allocations: 12.03 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/1.158, allocations: 15.86 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/1.158, allocations: 182.1 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.883e-05/1.158, allocations: 29.7 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/1.158, allocations: 4 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001641/1.159, allocations: 35.17 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/1.159, allocations: 61.16 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.159, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/1.159, allocations: 3.938 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.159, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00078/1.16, allocations: 309.2 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/1.16, allocations: 59.12 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.612e-05/1.16, allocations: 23.61 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/1.16, allocations: 7.625 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/1.16, allocations: 86.47 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/1.16, allocations: 0 / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.000371/1.161, allocations: 108.1 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/1.161, allocations: 59.45 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/1.161, allocations: 114.9 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/1.161, allocations: 33.2 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/1.161, allocations: 91.98 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/1.161, allocations: 23.33 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/1.161, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.161, allocations: 326.2 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/1.161, allocations: 23.06 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/1.161, allocations: 54.72 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.493e-05/1.161, allocations: 31.16 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.161, allocations: 3.938 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002754/1.162, allocations: 107.8 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.162, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.162, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.162, allocations: 4.125 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/1.162, allocations: 19.92 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.162, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/1.162, allocations: 23.78 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/1.162, allocations: 11.56 kB / 1.025 GB, free: 14.42 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 9.945e-05/1.162, allocations: 105 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/1.162, allocations: 11.91 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/1.163, allocations: 12.12 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.163, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.163, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/1.163, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007087/1.163, allocations: 382.4 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.163, allocations: 4 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/1.163, allocations: 11.98 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/1.163, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/1.163, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.164, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.164, allocations: 3.953 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/1.164, allocations: 205 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/1.164, allocations: 85.02 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/1.164, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/1.164, allocations: 16.17 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/1.164, allocations: 15.97 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/1.164, allocations: 7.891 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.61e-05/1.164, allocations: 98.52 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/1.164, allocations: 0 / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004943/1.165, allocations: 55.31 kB / 1.026 GB, free: 13.41 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 (10): * Single equations (assignments): 7 * 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.0005073/1.166, allocations: 170.4 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002505/1.166, allocations: 66.05 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.166, allocations: 3.938 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/1.166, allocations: 42.22 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/1.166, allocations: 15.73 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/1.167, allocations: 118.8 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/1.167, allocations: 0.6963 MB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001034/1.167, allocations: 12.67 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/1.167, allocations: 18.98 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.373e-06/1.167, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.006975/1.174, allocations: 1.765 MB / 1.029 GB, free: 10.53 MB / 0.6511 GB