Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.724/4.724, 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.002416/0.002416, allocations: 356.5 kB / 0.644 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.379/4.379, allocations: 410.7 MB / 1.112 GB, free: 5.984 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.001752/0.001752, allocations: 180.5 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005069, allocations: 12 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6281/0.6286, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00139/0.6301, allocations: 1.213 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.6312, allocations: 0.7444 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.6313, allocations: 1.656 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.6313, allocations: 3.938 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.6314, allocations: 7.922 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.6318, allocations: 98.2 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.811e-05/0.6319, allocations: 75.7 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.274e-05/0.632, allocations: 7.984 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.245e-05/0.6321, allocations: 35.86 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.6322, allocations: 36.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.6322, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.6324, allocations: 84.62 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.6324, allocations: 11.98 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.6325, allocations: 40.17 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.6327, allocations: 101.9 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.4e-06/0.6327, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.769e-06/0.6327, allocations: 3.938 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.035e-06/0.6327, allocations: 0 / 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.0005782/0.6333, allocations: 455.9 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.6333, allocations: 17.38 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.6334, allocations: 7.906 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.6335, allocations: 174.9 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.6335, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.6335, allocations: 9.828 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.6337, allocations: 82.73 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.539e-06/0.6338, allocations: 1.438 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.6338, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-06/0.6338, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.634, allocations: 45.22 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.6345, allocations: 334.6 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.6347, allocations: 64.12 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.6348, allocations: 37.91 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.6348, allocations: 3.984 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.6351, allocations: 97.55 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 2.564e-06/0.6351, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0004622/0.6356, allocations: 162.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.6356, allocations: 56.06 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.6357, allocations: 128.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.6357, allocations: 29.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.6358, allocations: 96.27 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.6358, allocations: 23.66 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-06/0.6358, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.6359, allocations: 323.4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.636, allocations: 28.48 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.6361, allocations: 70.38 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.6362, allocations: 47.64 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-06/0.6363, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002925/0.6366, allocations: 128.4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6366, allocations: 11.59 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-06/0.6366, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6366, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.6368, allocations: 17.64 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.535e-06/0.6368, allocations: 7.891 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.6369, allocations: 21.58 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.637, 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 8.357e-05/0.6371, allocations: 127.2 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.6371, allocations: 7.906 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.6375, allocations: 151.7 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-06/0.6375, allocations: 1.031 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.331e-06/0.6375, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.811e-06/0.6375, allocations: 5.203 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/0.6381, allocations: 426.9 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-06/0.6381, allocations: 7.938 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.6382, allocations: 16.42 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-06/0.6382, allocations: 4.688 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.6383, allocations: 7.953 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.122e-06/0.6383, allocations: 6.156 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.586e-06/0.6383, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.6386, allocations: 229.6 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.6386, allocations: 82.77 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.6387, allocations: 8 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.6388, allocations: 15.94 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.6389, allocations: 10.39 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.6389, allocations: 7.984 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.639, allocations: 99.2 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.59e-07/0.639, allocations: 4 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003898/0.6394, allocations: 36 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.000348/0.6398, allocations: 163.5 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000275/0.6401, allocations: 89.77 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.402e-06/0.6401, allocations: 4.5 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.6402, allocations: 52.69 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.0003618/0.6406, allocations: 12.97 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.0004557/0.6411, allocations: 231.5 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.6412, allocations: 0.698 MB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.729e-05/0.6413, allocations: 11.5 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.6414, allocations: 16.5 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.436e-06/0.6414, allocations: 0 / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005006/0.6464, allocations: 1.615 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB