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.001366/0.001366, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.704/1.704, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.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.796/1.796, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001527/0.001527, allocations: 65.98 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3484, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002361/0.3508, allocations: 0.7393 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.3531, allocations: 1.569 MB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.3532, allocations: 0 / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.998e-05/0.3532, allocations: 3.938 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.3534, allocations: 19.8 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.3538, allocations: 163.4 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.354, allocations: 119.6 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3542, allocations: 23.97 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3543, allocations: 39.92 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.3544, allocations: 51.81 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.3545, allocations: 16 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3546, allocations: 79.95 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.3547, allocations: 35.83 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.3548, allocations: 43.8 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.3551, allocations: 187.8 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.3551, allocations: 11.98 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3551, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3551, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 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.0007823/0.3559, allocations: 423.2 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3559, allocations: 8.031 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.356, allocations: 8.844 kB / 0.7868 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3562, allocations: 180.2 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/0.3563, allocations: 42.2 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3563, allocations: 8.375 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3565, allocations: 108.3 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3566, allocations: 0 / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3566, allocations: 0 / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3566, allocations: 0 / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.3568, allocations: 51.91 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.3576, allocations: 0.5127 MB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000491/0.3581, allocations: 139.7 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.3582, allocations: 42.66 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.3582, allocations: 3.938 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.3585, allocations: 109.9 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.3585, allocations: 4 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0003581/0.3589, allocations: 149.4 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.359, allocations: 102.8 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3591, allocations: 133.7 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.3592, allocations: 29.7 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3594, allocations: 92.48 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.3594, allocations: 31.55 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.3595, allocations: 37.83 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.3597, allocations: 322.8 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/0.3598, allocations: 39.97 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.3599, allocations: 31.98 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3601, allocations: 84.97 kB / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3601, allocations: 0 / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002632/0.3604, allocations: 140.1 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3604, allocations: 8 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3604, allocations: 4 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3605, allocations: 0 / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3606, allocations: 19.98 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3606, allocations: 0 / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.3607, allocations: 11.84 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3607, allocations: 11.92 kB / 0.7892 GB, free: 7.227 MB / 0.6075 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.0001145/0.3608, allocations: 131.3 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.3609, allocations: 4 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.3611, allocations: 121.9 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3611, allocations: 0 / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3612, allocations: 4.234 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.3612, allocations: 0 / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.3614, allocations: 221.5 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3614, allocations: 3.984 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.3615, allocations: 23.98 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3615, allocations: 0 / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3615, allocations: 4 kB / 0.7896 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3615, allocations: 0 / 0.7896 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.3616, allocations: 3.938 kB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.3618, allocations: 178.6 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.414e-05/0.3619, allocations: 96.94 kB / 0.7899 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.3619, allocations: 12 kB / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.362, allocations: 7.984 kB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.3621, allocations: 15.92 kB / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3621, allocations: 4 kB / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.63e-05/0.3622, allocations: 102.3 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3622, allocations: 0 / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000311/0.3625, allocations: 59.92 kB / 0.7901 GB, free: 6.152 MB / 0.6075 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.0002671/0.3628, allocations: 167 kB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.363, allocations: 95.97 kB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3631, allocations: 0 / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.752e-05/0.3632, allocations: 55.91 kB / 0.7904 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.3634, allocations: 16 kB / 0.7904 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.3639, allocations: 244 kB / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.3642, allocations: 0.7002 MB / 0.7913 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.862e-05/0.3643, allocations: 16.55 kB / 0.7914 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.3643, allocations: 15.44 kB / 0.7914 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3643, allocations: 0 / 0.7914 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of Templates: time 0.005069/0.3694, allocations: 1.73 MB / 0.7931 GB, free: 3.066 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)