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.006127/0.006132, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.001162/0.001162, allocations: 174 kB / 16.7 MB, free: 5.449 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 4.169/4.169, allocations: 389.1 MB / 406.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.01/4.01, allocations: 472.3 MB / 0.9024 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004794, allocations: 19.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1756, allocations: 98.72 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.781/0.9567, allocations: 126.6 MB / 1.228 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.9571, allocations: 79.42 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:57:7-57:32:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01642/0.9735, allocations: 3.39 MB / 1.232 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.836e-06/0.9736, allocations: 4 kB / 1.232 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.9736, allocations: 0 / 1.232 GB, free: 25.03 MB / 0.6198 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.0007284/0.9743, allocations: 426.1 kB / 1.232 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.9744, allocations: 8.031 kB / 1.232 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.9744, allocations: 9.031 kB / 1.232 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.9746, allocations: 177.8 kB / 1.232 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.042e-05/0.9746, allocations: 41.39 kB / 1.232 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.9747, allocations: 8.969 kB / 1.232 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.9749, allocations: 104.5 kB / 1.232 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.975, allocations: 0 / 1.232 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.975, allocations: 3.562 kB / 1.232 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.975, allocations: 4 kB / 1.232 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.9752, allocations: 43.36 kB / 1.232 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/0.976, allocations: 0.5121 MB / 1.233 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.9767, allocations: 137.7 kB / 1.233 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.9768, allocations: 49.48 kB / 1.233 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.9769, allocations: 5.156 kB / 1.233 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.9771, allocations: 109.1 kB / 1.233 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 4.148e-06/0.9771, allocations: 4 kB / 1.233 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004345/0.9776, allocations: 144.5 kB / 1.233 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.9776, allocations: 107.5 kB / 1.233 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.9778, allocations: 127.4 kB / 1.234 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.9778, allocations: 28.95 kB / 1.234 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.9779, allocations: 97.42 kB / 1.234 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.978, allocations: 36.97 kB / 1.234 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.978, allocations: 1.188 kB / 1.234 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.9781, allocations: 320.6 kB / 1.234 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.9782, allocations: 37.28 kB / 1.234 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.9784, allocations: 48.11 kB / 1.234 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.9785, allocations: 37.73 kB / 1.234 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9786, allocations: 4 kB / 1.234 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003528/0.9789, allocations: 124 kB / 1.234 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.979, allocations: 4 kB / 1.234 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.979, allocations: 6.703 kB / 1.234 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.979, allocations: 4.75 kB / 1.234 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.9793, allocations: 19.64 kB / 1.234 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.9793, allocations: 10.98 kB / 1.234 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.9795, allocations: 13.23 kB / 1.234 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.9795, allocations: 9.062 kB / 1.234 GB, free: 22.46 MB / 0.6198 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.booToRea.u) * 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.0001297/0.9796, allocations: 129.2 kB / 1.234 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.9797, allocations: 8.609 kB / 1.234 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.98, allocations: 119.5 kB / 1.235 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.98, allocations: 4.609 kB / 1.235 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.98, allocations: 4 kB / 1.235 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.9801, allocations: 0.7031 kB / 1.235 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.9803, allocations: 221.9 kB / 1.235 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.9803, allocations: 0.5625 kB / 1.235 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.9805, allocations: 22.61 kB / 1.235 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.9805, allocations: 0 / 1.235 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.9805, allocations: 7.922 kB / 1.235 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.9805, allocations: 0.7969 kB / 1.235 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9806, allocations: 3.953 kB / 1.235 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.9809, allocations: 169.1 kB / 1.235 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.981, allocations: 104.5 kB / 1.235 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.981, allocations: 4.578 kB / 1.235 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.9812, allocations: 13.77 kB / 1.235 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.9812, allocations: 12.5 kB / 1.235 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.9813, allocations: 8.75 kB / 1.235 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005074/0.9818, allocations: 102 kB / 1.235 GB, free: 37.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9818, allocations: 0 / 1.235 GB, free: 37.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004615/0.9823, allocations: 61.78 kB / 1.235 GB, free: 37.59 MB / 0.6355 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.booToRea.u) * 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.0002926/0.9826, allocations: 156.9 kB / 1.235 GB, free: 37.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.9829, allocations: 93.56 kB / 1.236 GB, free: 37.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9829, allocations: 4.156 kB / 1.236 GB, free: 37.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.9831, allocations: 50.81 kB / 1.236 GB, free: 37.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.9834, allocations: 17.61 kB / 1.236 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.984, allocations: 269.7 kB / 1.236 GB, free: 37.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.9843, allocations: 0.711 MB / 1.237 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.9844, allocations: 13.81 kB / 1.237 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.9845, allocations: 17.31 kB / 1.237 GB, free: 36.37 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.9845, allocations: 0 / 1.237 GB, free: 36.37 MB / 0.6355 GB Notification: Performance of Templates: time 0.005699/0.9902, allocations: 1.473 MB / 1.238 GB, free: 35.63 MB / 0.6355 GB