Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 108.8 kB / 16.29 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002464/0.002464, allocations: 181.1 kB / 17.22 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.955/1.955, allocations: 292.3 MB / 0.5495 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.91 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3345, allocations: 114.6 MB / 0.7841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002585/0.3371, allocations: 0.7394 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.3399, allocations: 1.572 MB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.34, allocations: 4 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.3401, allocations: 3.938 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.3403, allocations: 23.73 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.3409, allocations: 155 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.3411, allocations: 123.6 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3413, allocations: 19.98 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3415, allocations: 47.91 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3416, allocations: 47.83 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.3417, allocations: 15.94 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.342, allocations: 99.91 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.342, allocations: 19.98 kB / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.3421, allocations: 55.77 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.3425, allocations: 195.7 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3425, allocations: 3.938 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3425, allocations: 4 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.3425, allocations: 0 / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009233/0.3435, allocations: 419.1 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.3435, allocations: 8.031 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.3436, allocations: 8.844 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.3439, allocations: 176.2 kB / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.344, allocations: 42.25 kB / 0.7877 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.344, allocations: 8.375 kB / 0.7877 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5966/0.9406, allocations: 97.94 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.9407, allocations: 3.094 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.9407, allocations: 5.094 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.9407, allocations: 1.719 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.9409, allocations: 43.97 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.9417, allocations: 0.5189 MB / 0.7884 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.9422, allocations: 137.3 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.9423, allocations: 45.05 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.9423, allocations: 6.609 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.9426, allocations: 111.7 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 2.595e-06/0.9426, allocations: 3.625 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0003554/0.943, allocations: 142.2 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.9431, allocations: 111.3 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.9432, allocations: 135.1 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.9432, allocations: 29.52 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.9432, allocations: 87.33 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.9433, allocations: 36.11 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.9433, allocations: 33.06 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.9434, allocations: 321.2 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.9435, allocations: 37.06 kB / 0.7896 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.9436, allocations: 33.45 kB / 0.7896 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.9437, allocations: 83.7 kB / 0.7897 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9437, allocations: 0.6562 kB / 0.7897 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002316/0.944, allocations: 128.3 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.944, allocations: 5.25 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.944, allocations: 0 / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.944, allocations: 2.719 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.9441, allocations: 19.42 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.9441, allocations: 3.938 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.9442, allocations: 15.88 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.9443, allocations: 10.94 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.9444, allocations: 116.9 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.9444, allocations: 11.69 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.9447, allocations: 116.8 kB / 0.7901 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.9447, allocations: 6.844 kB / 0.7901 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9447, allocations: 3.938 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.9447, allocations: 2.875 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.9449, allocations: 219.6 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9449, allocations: 3.281 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-05/0.945, allocations: 26.95 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.945, allocations: 0 / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.945, allocations: 6.719 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.945, allocations: 2.688 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9451, allocations: 4.438 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.9453, allocations: 174.2 kB / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.9454, allocations: 105.6 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.9454, allocations: 4.188 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.9455, allocations: 13.64 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.9456, allocations: 15.84 kB / 0.7907 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.9456, allocations: 6.125 kB / 0.7907 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.9457, allocations: 100.3 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9457, allocations: 0 / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000301/0.946, allocations: 54.56 kB / 0.7908 GB, free: 46.82 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002594/0.9462, allocations: 151.3 kB / 0.791 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.9465, allocations: 96.78 kB / 0.791 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.9465, allocations: 0.6875 kB / 0.791 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.9467, allocations: 56.14 kB / 0.7911 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.9469, allocations: 17.48 kB / 0.7911 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.9474, allocations: 233.5 kB / 0.7913 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.9476, allocations: 0.6978 MB / 0.792 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.514e-05/0.9477, allocations: 17.72 kB / 0.792 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.9477, allocations: 12.69 kB / 0.7921 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.9477, allocations: 2.625 kB / 0.7921 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.005197/0.9529, allocations: 1.735 MB / 0.7937 GB, free: 45.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)