Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.008/5.008, allocations: 0.5623 GB / 0.5775 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002622/0.002621, allocations: 359.5 kB / 0.6446 GB, free: 21.71 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.515/4.515, allocations: 410.7 MB / 1.113 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001889/0.001889, allocations: 182.2 kB / 1.226 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0007055/0.0007058, allocations: 10.97 kB / 1.349 GB, free: 321 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2172, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.4434, allocations: 140.2 MB / 1.598 GB, free: 80.41 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.4437, allocations: 83.95 kB / 1.598 GB, free: 80.32 MB / 0.8073 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.0143/0.458, allocations: 3.336 MB / 1.602 GB, free: 77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4581, allocations: 2.062 kB / 1.602 GB, free: 77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4581, allocations: 4 kB / 1.602 GB, free: 77 MB / 0.8073 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.0007389/0.4588, allocations: 0.5049 MB / 1.602 GB, free: 76.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4589, allocations: 8.75 kB / 1.602 GB, free: 76.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.4589, allocations: 15.91 kB / 1.602 GB, free: 76.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4591, allocations: 186.8 kB / 1.602 GB, free: 76.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4591, allocations: 5.562 kB / 1.602 GB, free: 76.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.4591, allocations: 4 kB / 1.602 GB, free: 76.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.4594, allocations: 85.58 kB / 1.602 GB, free: 76.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4594, allocations: 0.7812 kB / 1.602 GB, free: 76.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.4594, allocations: 0 / 1.602 GB, free: 76.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4595, allocations: 1 kB / 1.602 GB, free: 76.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.4597, allocations: 56.92 kB / 1.602 GB, free: 76.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.4603, allocations: 334.5 kB / 1.603 GB, free: 75.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.4607, allocations: 85.41 kB / 1.603 GB, free: 75.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.4608, allocations: 36.84 kB / 1.603 GB, free: 75.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.4609, allocations: 7.984 kB / 1.603 GB, free: 75.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.4611, allocations: 110.5 kB / 1.603 GB, free: 75.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.4612, allocations: 0 / 1.603 GB, free: 75.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0006003/0.4618, allocations: 179.2 kB / 1.603 GB, free: 75.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.4618, allocations: 56.44 kB / 1.603 GB, free: 75.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4619, allocations: 137.3 kB / 1.603 GB, free: 75.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.462, allocations: 37.69 kB / 1.603 GB, free: 74.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.462, allocations: 89.61 kB / 1.603 GB, free: 74.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4621, allocations: 31.55 kB / 1.603 GB, free: 74.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.4621, allocations: 11.94 kB / 1.603 GB, free: 74.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.4622, allocations: 319.9 kB / 1.604 GB, free: 74.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.4623, allocations: 36.95 kB / 1.604 GB, free: 74.49 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.4624, allocations: 66.31 kB / 1.604 GB, free: 74.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.4626, allocations: 34.84 kB / 1.604 GB, free: 74.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4626, allocations: 0 / 1.604 GB, free: 74.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003598/0.463, allocations: 147.8 kB / 1.604 GB, free: 74.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.463, allocations: 10.14 kB / 1.604 GB, free: 74.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.463, allocations: 3.984 kB / 1.604 GB, free: 74.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4631, allocations: 4 kB / 1.604 GB, free: 74.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4632, allocations: 22.08 kB / 1.604 GB, free: 74.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4633, allocations: 4 kB / 1.604 GB, free: 74.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.4634, allocations: 15.98 kB / 1.604 GB, free: 74.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4635, allocations: 4 kB / 1.604 GB, free: 74.17 MB / 0.8073 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.pulseStart,booleanPulse.pulseStart) * 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 9.876e-05/0.4636, allocations: 134.7 kB / 1.604 GB, free: 74.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.4636, allocations: 12.56 kB / 1.604 GB, free: 74.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.4641, allocations: 180 kB / 1.604 GB, free: 73.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4641, allocations: 0 / 1.604 GB, free: 73.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4641, allocations: 1.281 kB / 1.604 GB, free: 73.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4642, allocations: 0 / 1.604 GB, free: 73.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008018/0.465, allocations: 460.9 kB / 1.605 GB, free: 73.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.465, allocations: 7.891 kB / 1.605 GB, free: 73.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4651, allocations: 18.64 kB / 1.605 GB, free: 73.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4652, allocations: 0 / 1.605 GB, free: 73.31 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.4652, allocations: 7.984 kB / 1.605 GB, free: 73.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4652, allocations: 0 / 1.605 GB, free: 73.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4652, allocations: 0 / 1.605 GB, free: 73.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.4656, allocations: 259.9 kB / 1.605 GB, free: 73.04 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.4657, allocations: 90.03 kB / 1.605 GB, free: 72.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.4657, allocations: 0 / 1.605 GB, free: 72.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4659, allocations: 23.61 kB / 1.605 GB, free: 72.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.466, allocations: 11.98 kB / 1.605 GB, free: 72.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.466, allocations: 3.984 kB / 1.605 GB, free: 72.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.035e-05/0.4661, allocations: 103.3 kB / 1.605 GB, free: 72.79 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4661, allocations: 0 / 1.605 GB, free: 72.79 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000438/0.4666, allocations: 67.86 kB / 1.605 GB, free: 72.73 MB / 0.8073 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.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0004105/0.467, allocations: 167.1 kB / 1.606 GB, free: 72.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.4674, allocations: 97.09 kB / 1.606 GB, free: 72.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.4674, allocations: 4 kB / 1.606 GB, free: 72.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.4676, allocations: 57.91 kB / 1.606 GB, free: 72.42 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.468, allocations: 15.98 kB / 1.606 GB, free: 72.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.4686, allocations: 266.2 kB / 1.606 GB, free: 72.12 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.4688, allocations: 0.7117 MB / 1.607 GB, free: 71.39 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.678e-05/0.4689, allocations: 8.562 kB / 1.607 GB, free: 71.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.4689, allocations: 19.42 kB / 1.607 GB, free: 71.36 MB / 0.8073 GB Notification: Performance of SimCode: time 8.21e-07/0.4689, allocations: 0 / 1.607 GB, free: 71.36 MB / 0.8073 GB Notification: Performance of Templates: time 0.006315/0.4753, allocations: 2.001 MB / 1.609 GB, free: 69.47 MB / 0.8073 GB