Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.22/5.22, allocations: 0.5623 GB / 0.5776 GB, free: 3.414 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.002531/0.00253, allocations: 370.6 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.672/4.672, allocations: 410.7 MB / 1.113 GB, free: 5.957 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.001863/0.001863, allocations: 188 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005183/0.0005186, allocations: 15.98 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7681, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00141/0.7695, allocations: 446.8 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00365/0.7732, allocations: 1.489 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.7734, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.7735, allocations: 4.625 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.7738, allocations: 12.98 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007627/0.7745, allocations: 112.3 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.7748, allocations: 97.2 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.775, allocations: 14.16 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.7752, allocations: 45.45 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.7753, allocations: 35.84 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.7754, allocations: 7.938 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.7758, allocations: 68.91 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.7758, allocations: 15.92 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.7759, allocations: 41.64 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.7763, allocations: 139.7 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7763, allocations: 3.938 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7764, allocations: 0 / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.7764, allocations: 0 / 1.464 GB, free: 281.8 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001116/0.7775, allocations: 414.8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.7776, allocations: 11.62 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.7777, allocations: 11.91 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.7779, allocations: 171 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.778, allocations: 34.25 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.7781, allocations: 8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.7785, allocations: 104.5 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.7785, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.7785, allocations: 4 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.7786, allocations: 7.922 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.7788, allocations: 47.92 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.7799, allocations: 0.5169 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.7811, allocations: 131.1 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.7813, allocations: 51.72 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.7814, allocations: 1.062 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003727/0.7818, allocations: 114 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 5.3e-06/0.7818, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0006764/0.7825, allocations: 142.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.7826, allocations: 107.5 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.7828, allocations: 132.4 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.7828, allocations: 26.77 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.7829, allocations: 100.2 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.783, allocations: 27.78 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.783, allocations: 1.094 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.7831, allocations: 318.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.7834, allocations: 40.58 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.7837, allocations: 55.36 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.7839, allocations: 32 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.7839, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005523/0.7845, allocations: 129.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.7846, allocations: 8.781 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.7846, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.7846, allocations: 5.859 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.785, allocations: 24.81 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.785, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.7853, allocations: 16.92 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.7854, allocations: 8 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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.0001766/0.7856, allocations: 114.7 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.7856, allocations: 17.14 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.7862, allocations: 117.5 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.7862, allocations: 7.953 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7862, allocations: 4.609 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.7863, allocations: 96.91 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.7864, allocations: 9.406 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.7867, allocations: 11.98 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.683e-05/0.7868, allocations: 13.58 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007364/0.7876, allocations: 378.4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005781/0.7882, allocations: 460.2 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001864/0.7884, allocations: 47.97 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001078/0.7885, allocations: 99.27 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of Backend: time 1.252e-06/0.7885, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.79, allocations: 180.7 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0007988/0.7909, allocations: 0.6575 MB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.008985/0.7999, allocations: 1.609 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB