Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.711/4.711, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002484/0.002483, allocations: 357.7 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.159/4.159, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002541/0.002541, allocations: 172.4 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004886, allocations: 12.75 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2013, allocations: 115.3 MB / 1.461 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001768/0.2031, allocations: 1.227 MB / 1.463 GB, free: 5.363 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2046, allocations: 0.7376 MB / 1.463 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.2047, allocations: 3.938 kB / 1.463 GB, free: 4.613 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.2047, allocations: 4 kB / 1.463 GB, free: 4.609 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.2048, allocations: 19.84 kB / 1.463 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.2053, allocations: 95.7 kB / 1.463 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.2054, allocations: 83.7 kB / 1.463 GB, free: 4.414 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.172e-05/0.2055, allocations: 7.984 kB / 1.463 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.2056, allocations: 47.78 kB / 1.464 GB, free: 4.359 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.2057, allocations: 39.83 kB / 1.464 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.2057, allocations: 8 kB / 1.464 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.206, allocations: 75.91 kB / 1.464 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.206, allocations: 19.92 kB / 1.464 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.206, allocations: 41.64 kB / 1.464 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.2063, allocations: 108 kB / 1.464 GB, free: 4.066 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2063, allocations: 0 / 1.464 GB, free: 4.066 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.215e-06/0.2063, allocations: 7.938 kB / 1.464 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.2063, allocations: 0 / 1.464 GB, free: 4.059 MB / 0.6042 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.0007416/0.2071, allocations: 488 kB / 1.464 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2071, allocations: 8.031 kB / 1.464 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.2072, allocations: 7.906 kB / 1.464 GB, free: 3.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2073, allocations: 186.7 kB / 1.464 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.2073, allocations: 4 kB / 1.464 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.2073, allocations: 11.98 kB / 1.464 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.2076, allocations: 81.58 kB / 1.465 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2076, allocations: 8 kB / 1.465 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2076, allocations: 0 / 1.465 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2077, allocations: 3.984 kB / 1.465 GB, free: 3.168 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.2079, allocations: 51.97 kB / 1.465 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.2085, allocations: 344.6 kB / 1.465 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.2088, allocations: 78.67 kB / 1.465 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.209, allocations: 40.84 kB / 1.465 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.209, allocations: 0 / 1.465 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.2093, allocations: 107.4 kB / 1.465 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.2093, allocations: 0 / 1.465 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005996/0.2099, allocations: 185.4 kB / 1.465 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.21, allocations: 55.41 kB / 1.465 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.2101, allocations: 134.1 kB / 1.466 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2101, allocations: 33.69 kB / 1.466 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.2102, allocations: 96.03 kB / 1.466 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.2102, allocations: 27.66 kB / 1.466 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.2103, allocations: 0 / 1.466 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.2103, allocations: 322.8 kB / 1.466 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2105, allocations: 31.97 kB / 1.466 GB, free: 1.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.2106, allocations: 77.08 kB / 1.466 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.2108, allocations: 35.98 kB / 1.466 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2108, allocations: 0 / 1.466 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003825/0.2112, allocations: 141.4 kB / 1.466 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2112, allocations: 8 kB / 1.466 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2112, allocations: 0 / 1.466 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2112, allocations: 7.938 kB / 1.466 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.2114, allocations: 19.92 kB / 1.466 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2115, allocations: 3.953 kB / 1.466 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.2116, allocations: 28.02 kB / 1.466 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.2117, allocations: 7.938 kB / 1.466 GB, free: 1.223 MB / 0.6042 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 0.000125/0.2118, allocations: 120.4 kB / 1.466 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.2119, allocations: 15.81 kB / 1.466 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005298/0.2124, allocations: 166.2 kB / 1.467 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.2124, allocations: 7.984 kB / 1.467 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2124, allocations: 4 kB / 1.467 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.2125, allocations: 88.97 kB / 1.467 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.2125, allocations: 4.141 kB / 1.467 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.2127, allocations: 11.98 kB / 1.467 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.2128, allocations: 11.97 kB / 1.467 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005837/0.2134, allocations: 236.9 kB / 1.467 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005324/0.2139, allocations: 322.6 kB / 1.467 GB, free: 212 kB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001779/0.2141, allocations: 47.97 kB / 1.467 GB, free: 164 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001079/0.2142, allocations: 110.6 kB / 1.467 GB, free: 56 kB / 0.6042 GB Notification: Performance of Backend: time 7.11e-07/0.2143, allocations: 4 kB / 1.467 GB, free: 52 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009017/0.2152, allocations: 189.3 kB / 1.468 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007356/0.2159, allocations: 0.6574 MB / 1.468 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.006379/0.2223, allocations: 1.726 MB / 1.47 GB, free: 13.44 MB / 0.6198 GB