Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.685/4.685, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.004082/0.004081, allocations: 358.2 kB / 0.644 GB, free: 185.7 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.544/4.544, allocations: 410.7 MB / 1.112 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001765/0.001765, allocations: 187.5 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004889, allocations: 12 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5794/0.5799, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001439/0.5814, allocations: 1.211 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.5826, allocations: 0.7413 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.5827, allocations: 1.812 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.5827, allocations: 3.938 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.916e-05/0.5828, allocations: 15.91 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.5832, allocations: 92.73 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.5833, allocations: 71.72 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.5834, allocations: 14.33 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.5835, allocations: 31.84 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/0.5836, allocations: 39.83 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.5836, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.5838, allocations: 84.92 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.5839, allocations: 15.95 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.5839, allocations: 42.14 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.5841, allocations: 94.72 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.225e-06/0.5841, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.901e-06/0.5841, allocations: 3.938 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.921e-06/0.5841, allocations: 0.9688 kB / 1.463 GB, free: 281.9 MB / 0.8542 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.0006198/0.5848, allocations: 456.8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.5848, allocations: 11.62 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.5849, allocations: 9.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.618e-05/0.585, allocations: 178.9 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.585, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.585, allocations: 8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.5852, allocations: 78.55 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.344e-06/0.5853, allocations: 1.875 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.5853, allocations: 5.031 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.5853, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.5855, allocations: 41.03 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.586, allocations: 331.4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.5862, allocations: 58.56 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.5863, allocations: 43.48 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.5863, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.5866, allocations: 96.17 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 3.391e-06/0.5866, allocations: 1.875 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0004562/0.5871, allocations: 169 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.5871, allocations: 55.39 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.5872, allocations: 125.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.5872, allocations: 25.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.5873, allocations: 104.4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.5873, allocations: 24.22 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-06/0.5873, allocations: 2.969 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.5874, allocations: 318.8 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.5875, allocations: 27.98 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.5876, allocations: 71.81 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.5878, allocations: 42.05 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.593e-06/0.5878, allocations: 4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003234/0.5881, allocations: 127.4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5881, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.056e-06/0.5882, allocations: 4.594 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5882, allocations: 4.75 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.5883, allocations: 16.36 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5883, allocations: 16.38 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.5885, allocations: 14.06 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.5885, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.52e-05/0.5886, allocations: 134.6 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.5887, allocations: 7.906 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.589, allocations: 149.6 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.004e-06/0.5891, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.186e-06/0.5891, allocations: 1.625 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-06/0.5891, allocations: 3.953 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.5897, allocations: 429.7 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.302e-06/0.5897, allocations: 5.047 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.5898, allocations: 11.94 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.5898, allocations: 1.188 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.5899, allocations: 11.95 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.348e-06/0.5899, allocations: 3.984 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.052e-06/0.5899, allocations: 1.031 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.5902, allocations: 226.1 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.5903, allocations: 85.02 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.5903, allocations: 6.234 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.5905, allocations: 15.95 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.5905, allocations: 11.97 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.5906, allocations: 4 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.5906, allocations: 107.6 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.01e-07/0.5906, allocations: 1.656 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003985/0.591, allocations: 40 kB / 1.467 GB, free: 277.9 MB / 0.8542 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0003413/0.5914, allocations: 162.2 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.5917, allocations: 91.58 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.406e-06/0.5917, allocations: 0 / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.5919, allocations: 52.88 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.5922, allocations: 18.33 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.5927, allocations: 230.1 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.5929, allocations: 0.6975 MB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.993e-05/0.5929, allocations: 13.39 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.593, allocations: 12.44 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.44e-06/0.593, allocations: 0 / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005035/0.598, allocations: 1.619 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB