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 4.969/4.969, allocations: 0.5623 GB / 0.5769 GB, free: 3.301 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.002412/0.002412, allocations: 357.1 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.325/4.325, allocations: 410.7 MB / 1.112 GB, free: 6 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.001778/0.001778, allocations: 186.4 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008164/0.0008167, allocations: 15.98 kB / 1.348 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6014/0.6022, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0007597/0.603, allocations: 459 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.6048, allocations: 1.485 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.6049, allocations: 2.25 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.6049, allocations: 3.938 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.6051, allocations: 19.8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.6054, allocations: 104.4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.6055, allocations: 100.3 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.6056, allocations: 14.05 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.6058, allocations: 32.41 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.6059, allocations: 48.48 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.6059, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.6061, allocations: 81.03 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.6061, allocations: 11.98 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.6062, allocations: 37.64 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.6064, allocations: 134.5 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.687e-06/0.6064, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.986e-06/0.6064, allocations: 0.75 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.012e-06/0.6064, allocations: 0 / 1.463 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.0005925/0.607, allocations: 413.8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6071, allocations: 15.62 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.6071, allocations: 9.188 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.923e-05/0.6072, allocations: 175 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.6073, allocations: 37.64 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.6074, allocations: 8.656 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.6076, allocations: 99.8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6076, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.6076, allocations: 8.625 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-06/0.6076, allocations: 0.6562 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.6078, allocations: 47.91 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.6084, allocations: 0.5198 MB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.6089, allocations: 131.4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.609, allocations: 47.47 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.609, allocations: 1.781 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.6093, allocations: 124.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 3.735e-06/0.6093, allocations: 0.625 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0003936/0.6097, allocations: 137 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.6098, allocations: 106.8 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.6099, allocations: 125.7 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.6099, allocations: 33.7 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.6099, allocations: 97.89 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.61, allocations: 27.77 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.61, allocations: 4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.6101, allocations: 319.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.6102, allocations: 32.92 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.6103, allocations: 54.2 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.6105, allocations: 37.17 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.837e-06/0.6105, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003025/0.6108, allocations: 128.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6108, allocations: 9.312 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.709e-06/0.6108, allocations: 4.203 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6109, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.611, allocations: 35.86 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.41e-06/0.6111, allocations: 2.781 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.6112, allocations: 15.89 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.6112, allocations: 4 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 9.45e-05/0.6113, allocations: 121.3 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.6114, allocations: 9.406 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.6116, allocations: 121.2 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.63e-06/0.6117, allocations: 8.797 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-06/0.6117, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.702e-06/0.6117, allocations: 0.875 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.6119, allocations: 221.5 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.6119, allocations: 0 / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.6121, allocations: 24.58 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.002e-06/0.6121, allocations: 1.25 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.6121, allocations: 0 / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.839e-06/0.6121, allocations: 4 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.589e-06/0.6121, allocations: 3.953 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.6124, allocations: 174.4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.6125, allocations: 97 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.6126, allocations: 7.984 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.6127, allocations: 13.78 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.6128, allocations: 16.66 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.6128, allocations: 9.094 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.39e-05/0.6129, allocations: 99.27 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.11e-07/0.6129, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003636/0.6133, allocations: 67.2 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002361/0.6135, allocations: 143.2 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.6138, allocations: 95.83 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.022e-06/0.6138, allocations: 0 / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.614, allocations: 52.11 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.6143, allocations: 11.94 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.6148, allocations: 263.5 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.6149, allocations: 0.7031 MB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.615, allocations: 15.97 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.6151, allocations: 15.44 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.591e-06/0.6151, allocations: 0 / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.005023/0.6202, allocations: 1.573 MB / 1.47 GB, free: 274.9 MB / 0.8542 GB