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.0157/0.0157, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001822/0.001822, allocations: 184.1 kB / 15.94 MB, free: 5.926 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 2.076/2.076, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.202/2.202, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008117/0.0008119, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6128/0.6137, allocations: 98.71 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.7998, allocations: 126.6 MB / 0.807 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.8001, allocations: 67.97 kB / 0.807 GB, free: 15.64 MB / 0.6355 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.01487/0.8149, allocations: 3.397 MB / 0.8103 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.885e-06/0.815, allocations: 0 / 0.8103 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.802e-06/0.815, allocations: 0 / 0.8103 GB, free: 12.23 MB / 0.6355 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.0006644/0.8157, allocations: 419.3 kB / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.8157, allocations: 16.03 kB / 0.8107 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.8158, allocations: 11.89 kB / 0.8108 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.816, allocations: 178.9 kB / 0.8109 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.8161, allocations: 33.7 kB / 0.811 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.8161, allocations: 8 kB / 0.811 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.8164, allocations: 110.5 kB / 0.8111 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.274e-06/0.8164, allocations: 0 / 0.8111 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.8164, allocations: 7.938 kB / 0.8111 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-06/0.8164, allocations: 8 kB / 0.8111 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.8166, allocations: 47.91 kB / 0.8111 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008044/0.8174, allocations: 0.5049 MB / 0.8116 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.818, allocations: 135.8 kB / 0.8118 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.818, allocations: 7.938 kB / 0.8118 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.8183, allocations: 110 kB / 0.8119 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.499e-06/0.8183, allocations: 0 / 0.8119 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.000435/0.8187, allocations: 149.4 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.8188, allocations: 102.8 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.819, allocations: 121 kB / 0.8122 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.819, allocations: 29.7 kB / 0.8123 GB, free: 10 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.8191, allocations: 100.4 kB / 0.8124 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.8191, allocations: 27.56 kB / 0.8124 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.8192, allocations: 7.938 kB / 0.8124 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.8193, allocations: 322.8 kB / 0.8127 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.8195, allocations: 27.98 kB / 0.8127 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.8196, allocations: 57.69 kB / 0.8128 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.8198, allocations: 28 kB / 0.8128 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.288e-06/0.8198, allocations: 4 kB / 0.8128 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003727/0.8202, allocations: 125.5 kB / 0.8129 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.8202, allocations: 4 kB / 0.8129 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.105e-06/0.8202, allocations: 0 / 0.8129 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.8202, allocations: 7.953 kB / 0.8129 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.8204, allocations: 19.92 kB / 0.813 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.8204, allocations: 4 kB / 0.813 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.8206, allocations: 23.86 kB / 0.813 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.8206, allocations: 4 kB / 0.813 GB, free: 9.223 MB / 0.6355 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.0001429/0.8208, allocations: 122.1 kB / 0.8131 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.8208, allocations: 11.89 kB / 0.8131 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.8212, allocations: 117.9 kB / 0.8132 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.642e-06/0.8212, allocations: 4 kB / 0.8132 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.8212, allocations: 7.953 kB / 0.8132 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.8212, allocations: 3.984 kB / 0.8132 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.8215, allocations: 217.4 kB / 0.8134 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-06/0.8215, allocations: 0 / 0.8134 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.8217, allocations: 23.94 kB / 0.8135 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.41e-06/0.8217, allocations: 0 / 0.8135 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.8217, allocations: 7.984 kB / 0.8135 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.365e-06/0.8217, allocations: 0 / 0.8135 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.497e-06/0.8217, allocations: 4 kB / 0.8135 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.8221, allocations: 186.1 kB / 0.8137 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.8222, allocations: 108.9 kB / 0.8138 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.8223, allocations: 12.27 kB / 0.8138 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.8224, allocations: 4 kB / 0.8138 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.8225, allocations: 27.91 kB / 0.8138 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.8225, allocations: 8 kB / 0.8138 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.723e-05/0.8226, allocations: 99.27 kB / 0.8139 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.8e-07/0.8226, allocations: 0 / 0.8139 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004165/0.8231, allocations: 55.94 kB / 0.814 GB, free: 8.102 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.0002927/0.8234, allocations: 155.5 kB / 0.8141 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.8237, allocations: 92.45 kB / 0.8142 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.819e-06/0.8237, allocations: 7.938 kB / 0.8142 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.8239, allocations: 48.06 kB / 0.8143 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.8241, allocations: 15.92 kB / 0.8143 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.8247, allocations: 263.1 kB / 0.8145 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.8251, allocations: 0.7044 MB / 0.8152 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.8252, allocations: 16.86 kB / 0.8152 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.8253, allocations: 19.42 kB / 0.8152 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of SimCode: time 1.486e-06/0.8253, allocations: 0 / 0.8152 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of Templates: time 0.00565/0.8309, allocations: 1.473 MB / 0.8167 GB, free: 5.262 MB / 0.6355 GB