Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01104/0.01104, allocations: 222.7 kB / 15.18 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001165/0.001165, allocations: 177.5 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.541/3.541, allocations: 389.1 MB / 405.9 MB, free: 68.51 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.508/4.508, allocations: 472.3 MB / 0.9018 GB, free: 13.34 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004924, allocations: 12 kB / 1.008 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.4998, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001262/0.5011, allocations: 1.159 MB / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.5024, allocations: 0.8483 MB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.5025, allocations: 0 / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.5025, allocations: 10.67 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.5027, allocations: 7.938 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.503, allocations: 111.6 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.5032, allocations: 99.66 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.502e-05/0.5033, allocations: 16.31 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.5034, allocations: 39.84 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.5035, allocations: 39.83 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.5035, allocations: 4.844 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.5037, allocations: 71.44 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.5038, allocations: 15.92 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.5038, allocations: 37.7 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.504, allocations: 136.9 kB / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.504, allocations: 7.938 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.988e-06/0.504, allocations: 0 / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.389e-06/0.504, allocations: 0 / 1.107 GB, free: 181.2 MB / 0.6823 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.0006096/0.5047, allocations: 402 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5047, allocations: 10 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.5048, allocations: 11.86 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.5049, allocations: 174.9 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/0.505, allocations: 44.3 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.505, allocations: 11.98 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.5052, allocations: 97.8 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.721e-06/0.5053, allocations: 0 / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.5053, allocations: 5.219 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-06/0.5053, allocations: 5.453 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.5054, allocations: 47.92 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.5061, allocations: 0.5123 MB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.5066, allocations: 138.6 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.5067, allocations: 45.31 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.5068, allocations: 7.953 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.507, allocations: 115.1 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 3.676e-06/0.507, allocations: 1.594 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0003917/0.5074, allocations: 129.5 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5075, allocations: 118.7 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.5076, allocations: 124 kB / 1.108 GB, free: 179 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.5077, allocations: 29.7 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.5077, allocations: 92.31 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.5078, allocations: 37.12 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.5078, allocations: 0.5625 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.5078, allocations: 325.6 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.508, allocations: 31.98 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.5081, allocations: 53.62 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.5082, allocations: 36.81 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.919e-06/0.5082, allocations: 0 / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003124/0.5086, allocations: 137 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5086, allocations: 4 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.77e-06/0.5086, allocations: 0 / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5086, allocations: 4 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.5088, allocations: 17.05 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5088, allocations: 4 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.509, allocations: 18.86 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.509, allocations: 3.938 kB / 1.109 GB, free: 178.2 MB / 0.6823 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.907e-05/0.5091, allocations: 123.6 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.5092, allocations: 17.62 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.5094, allocations: 111.8 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.254e-06/0.5095, allocations: 9.062 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5095, allocations: 0 / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.119e-06/0.5095, allocations: 7.922 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.5097, allocations: 221.4 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.341e-06/0.5097, allocations: 0 / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.5099, allocations: 17.12 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.977e-06/0.5099, allocations: 4 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.5099, allocations: 11.27 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5099, allocations: 7.922 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.618e-06/0.5099, allocations: 5.953 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.5103, allocations: 165.5 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.5104, allocations: 100.5 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.5104, allocations: 9.375 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5105, allocations: 7.953 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.5106, allocations: 19.97 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.5106, allocations: 4 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.624e-05/0.5107, allocations: 103.2 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.92e-07/0.5107, allocations: 1.688 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000379/0.5111, allocations: 54.25 kB / 1.11 GB, free: 177.2 MB / 0.6823 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.0002324/0.5114, allocations: 151.8 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.5117, allocations: 92.5 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5117, allocations: 0 / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.5118, allocations: 55.02 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.5121, allocations: 8 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.5126, allocations: 274.4 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.5128, allocations: 0.7004 MB / 1.111 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.5129, allocations: 19.98 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.513, allocations: 19.42 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.482e-06/0.513, allocations: 0 / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.005128/0.5181, allocations: 1.558 MB / 1.113 GB, free: 174.4 MB / 0.6823 GB