Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.331/2.331, allocations: 253.2 MB / 260.6 MB, free: 7.551 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.001412/0.001412, allocations: 186.7 kB / 319.9 MB, free: 3.02 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.064/2.064, allocations: 205.5 MB / 0.5708 GB, free: 15.23 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.001121/0.00112, allocations: 86.7 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.757e-05/2.74e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2463, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8538/1.1, allocations: 134 MB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/1.1, allocations: 83.19 kB / 1.02 GB, free: 3.254 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.01547/1.116, allocations: 3.221 MB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.116, allocations: 0 / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.116, allocations: 8 kB / 1.023 GB, free: 0.5156 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.0008655/1.117, allocations: 486.3 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.117, allocations: 8.031 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/1.117, allocations: 11.86 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/1.117, allocations: 174.9 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/1.117, allocations: 4 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/1.117, allocations: 8 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001621/1.117, allocations: 37.86 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/1.118, allocations: 71.28 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.118, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/1.118, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.118, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007171/1.118, allocations: 310.6 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/1.119, allocations: 74.38 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.019e-05/1.119, allocations: 31.61 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/1.119, allocations: 4.141 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/1.119, allocations: 95.39 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.345e-06/1.119, allocations: 7.938 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0004199/1.12, allocations: 123.7 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/1.12, allocations: 55.36 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/1.12, allocations: 117.9 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/1.12, allocations: 29.7 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/1.12, allocations: 91.17 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/1.12, allocations: 27.14 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/1.12, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.12, allocations: 326.6 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/1.12, allocations: 20.56 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/1.12, allocations: 59.02 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/1.12, allocations: 37.53 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.12, allocations: 4 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002879/1.121, allocations: 110.6 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.121, allocations: 8 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.121, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.121, allocations: 4 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/1.121, allocations: 23.86 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.121, allocations: 0.7812 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/1.121, allocations: 20.05 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/1.121, allocations: 11.86 kB / 1.025 GB, free: 14.14 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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.0001167/1.121, allocations: 116.8 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/1.121, allocations: 11.81 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/1.122, allocations: 137.8 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.122, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.122, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.122, allocations: 7.984 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007996/1.123, allocations: 403.1 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.123, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/1.123, allocations: 15.23 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.123, allocations: 4 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/1.123, allocations: 0 / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.123, allocations: 0 / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.123, allocations: 4.828 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/1.123, allocations: 230.4 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/1.124, allocations: 88.92 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/1.124, allocations: 3.984 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/1.124, allocations: 11.44 kB / 1.026 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/1.124, allocations: 11.97 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/1.124, allocations: 7.953 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001254/1.124, allocations: 105.3 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.124, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005016/1.125, allocations: 55.25 kB / 1.026 GB, free: 12.97 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * 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.0004971/1.125, allocations: 169.8 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002597/1.125, allocations: 83.17 kB / 1.026 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.125, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/1.126, allocations: 50.61 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/1.126, allocations: 7.984 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/1.126, allocations: 130.4 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/1.127, allocations: 0.7043 MB / 1.027 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.619e-05/1.127, allocations: 12.42 kB / 1.027 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/1.127, allocations: 11.44 kB / 1.027 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.042e-06/1.127, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of Templates: time 0.007277/1.134, allocations: 1.918 MB / 1.029 GB, free: 9.906 MB / 0.6511 GB