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.572/2.572, allocations: 252.6 MB / 265.2 MB, free: 5.695 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.001443/0.001443, allocations: 189.4 kB / 324.5 MB, free: 14.41 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 1.993/1.993, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001607/0.001606, allocations: 90.28 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.042e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2009, allocations: 106.2 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8559/1.057, allocations: 133.8 MB / 1.025 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/1.057, allocations: 86.19 kB / 1.026 GB, free: 0.7617 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.01526/1.072, allocations: 3.241 MB / 1.029 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/1.073, allocations: 0 / 1.029 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.654e-06/1.073, allocations: 0 / 1.029 GB, free: 13.97 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008444/1.073, allocations: 489.9 kB / 1.029 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.073, allocations: 11.97 kB / 1.029 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/1.074, allocations: 11.86 kB / 1.029 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/1.074, allocations: 178.4 kB / 1.029 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/1.074, allocations: 0 / 1.029 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/1.074, allocations: 11.94 kB / 1.029 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/1.074, allocations: 72.66 kB / 1.029 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.074, allocations: 0 / 1.029 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/1.074, allocations: 0 / 1.029 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.074, allocations: 3.938 kB / 1.029 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/1.074, allocations: 42.61 kB / 1.03 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007678/1.075, allocations: 335.5 kB / 1.03 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/1.075, allocations: 83.89 kB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/1.075, allocations: 31.23 kB / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/1.076, allocations: 0 / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/1.076, allocations: 99.62 kB / 1.03 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 4.258e-06/1.076, allocations: 0 / 1.03 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0004563/1.076, allocations: 138.3 kB / 1.03 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/1.076, allocations: 55.39 kB / 1.03 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/1.076, allocations: 120.8 kB / 1.03 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/1.077, allocations: 29.2 kB / 1.03 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/1.077, allocations: 95.11 kB / 1.03 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/1.077, allocations: 31.72 kB / 1.031 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/1.077, allocations: 0 / 1.031 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.077, allocations: 321.5 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/1.077, allocations: 31.73 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/1.077, allocations: 60.55 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/1.077, allocations: 31.72 kB / 1.031 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.077, allocations: 0 / 1.031 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003156/1.078, allocations: 129.9 kB / 1.031 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.078, allocations: 11.94 kB / 1.031 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.078, allocations: 0 / 1.031 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/1.078, allocations: 7.984 kB / 1.031 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/1.078, allocations: 15.95 kB / 1.031 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/1.078, allocations: 7.922 kB / 1.031 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/1.078, allocations: 14.88 kB / 1.031 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/1.078, allocations: 12.08 kB / 1.031 GB, free: 11.5 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.0001131/1.078, allocations: 119.8 kB / 1.031 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/1.078, allocations: 11.81 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/1.079, allocations: 149.5 kB / 1.031 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.079, allocations: 0 / 1.031 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.079, allocations: 3.953 kB / 1.031 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.079, allocations: 3.984 kB / 1.031 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008275/1.08, allocations: 437.4 kB / 1.032 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.08, allocations: 0 / 1.032 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/1.08, allocations: 15.98 kB / 1.032 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/1.08, allocations: 0 / 1.032 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/1.08, allocations: 15.45 kB / 1.032 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.08, allocations: 0 / 1.032 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.08, allocations: 3.984 kB / 1.032 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/1.08, allocations: 229 kB / 1.032 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/1.08, allocations: 84.92 kB / 1.032 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/1.08, allocations: 8 kB / 1.032 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/1.081, allocations: 19.06 kB / 1.032 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/1.081, allocations: 7.984 kB / 1.032 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/1.081, allocations: 7.938 kB / 1.032 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.539e-05/1.081, allocations: 104.4 kB / 1.032 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/1.081, allocations: 0 / 1.032 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004753/1.081, allocations: 63.23 kB / 1.032 GB, free: 10.28 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.0005819/1.082, allocations: 176 kB / 1.033 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003019/1.082, allocations: 83.42 kB / 1.033 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.082, allocations: 3.938 kB / 1.033 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/1.082, allocations: 45.44 kB / 1.033 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/1.083, allocations: 16.11 kB / 1.033 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/1.083, allocations: 142.2 kB / 1.033 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/1.084, allocations: 0.7005 MB / 1.033 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.188e-05/1.084, allocations: 12.42 kB / 1.033 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/1.084, allocations: 15.42 kB / 1.034 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of SimCode: time 7.52e-07/1.084, allocations: 4 kB / 1.034 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of Templates: time 0.007262/1.091, allocations: 1.959 MB / 1.035 GB, free: 7.168 MB / 0.6511 GB