Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001325/0.001325, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001599/0.001599, allocations: 193.3 kB / 16.13 MB, free: 6.652 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.745/1.745, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.713/1.713, allocations: 251.7 MB / 0.5088 GB, free: 3.352 MB / 414.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.001485/0.001485, allocations: 63.91 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7682, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002512/0.7708, allocations: 0.8025 MB / 0.7246 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002455/0.7733, allocations: 1.587 MB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.7733, allocations: 0 / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/0.7734, allocations: 3.938 kB / 0.7261 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.7736, allocations: 15.86 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.774, allocations: 135.7 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.7742, allocations: 111.7 kB / 0.7264 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.7744, allocations: 16 kB / 0.7264 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.7746, allocations: 39.84 kB / 0.7264 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.7748, allocations: 47.81 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.7748, allocations: 4 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.775, allocations: 83.88 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.7751, allocations: 23.91 kB / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.611e-05/0.7751, allocations: 39.73 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.7755, allocations: 189.5 kB / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.7755, allocations: 0 / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7755, allocations: 0 / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7756, allocations: 0 / 0.7268 GB, free: 10.05 MB / 0.545 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.0008852/0.7764, allocations: 431.1 kB / 0.7272 GB, free: 9.582 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.7765, allocations: 8.031 kB / 0.7272 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.7766, allocations: 8.844 kB / 0.7272 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.7768, allocations: 180.2 kB / 0.7274 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.7769, allocations: 34.27 kB / 0.7275 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.7769, allocations: 4.375 kB / 0.7275 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.7771, allocations: 112.3 kB / 0.7276 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.7772, allocations: 4 kB / 0.7276 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.7772, allocations: 0 / 0.7276 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.7772, allocations: 4 kB / 0.7276 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.7773, allocations: 43.92 kB / 0.7276 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.7782, allocations: 0.5244 MB / 0.7281 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.7788, allocations: 131.7 kB / 0.7282 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/0.7789, allocations: 50.59 kB / 0.7283 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.7789, allocations: 3.984 kB / 0.7283 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003608/0.7793, allocations: 117.8 kB / 0.7284 GB, free: 8.195 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.7793, allocations: 4 kB / 0.7284 GB, free: 8.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004077/0.7797, allocations: 145.4 kB / 0.7286 GB, free: 8.043 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.7798, allocations: 110.8 kB / 0.7287 GB, free: 7.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.78, allocations: 117.8 kB / 0.7288 GB, free: 7.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.78, allocations: 29.7 kB / 0.7288 GB, free: 7.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.7801, allocations: 96.31 kB / 0.7289 GB, free: 7.652 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.7802, allocations: 23.66 kB / 0.7289 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.7803, allocations: 41.69 kB / 0.729 GB, free: 7.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.7805, allocations: 322.9 kB / 0.7293 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.7806, allocations: 35.98 kB / 0.7293 GB, free: 7.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.902e-05/0.7807, allocations: 39.97 kB / 0.7293 GB, free: 7.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.7809, allocations: 75.94 kB / 0.7294 GB, free: 7.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7809, allocations: 0 / 0.7294 GB, free: 7.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002592/0.7812, allocations: 129.5 kB / 0.7295 GB, free: 6.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7812, allocations: 4 kB / 0.7295 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.7812, allocations: 0 / 0.7295 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.7812, allocations: 4 kB / 0.7295 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.7814, allocations: 27.97 kB / 0.7296 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.7814, allocations: 0 / 0.7296 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.7815, allocations: 7.906 kB / 0.7296 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.7815, allocations: 7.938 kB / 0.7296 GB, free: 6.926 MB / 0.545 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.0001677/0.7817, allocations: 137.6 kB / 0.7297 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.7817, allocations: 7.906 kB / 0.7297 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.782, allocations: 117.9 kB / 0.7298 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.782, allocations: 4.312 kB / 0.7298 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.782, allocations: 0 / 0.7298 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.782, allocations: 3.984 kB / 0.7298 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.7823, allocations: 225.4 kB / 0.7301 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7823, allocations: 0 / 0.7301 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/0.7824, allocations: 16 kB / 0.7301 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7824, allocations: 0 / 0.7301 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.7825, allocations: 11.98 kB / 0.7301 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7825, allocations: 0 / 0.7301 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.7825, allocations: 7.938 kB / 0.7301 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.7828, allocations: 174.6 kB / 0.7303 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.7829, allocations: 97.23 kB / 0.7303 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.7829, allocations: 4 kB / 0.7304 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.783, allocations: 11.98 kB / 0.7304 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.7831, allocations: 23.91 kB / 0.7304 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.7831, allocations: 4 kB / 0.7304 GB, free: 5.988 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.691e-05/0.7832, allocations: 102.3 kB / 0.7305 GB, free: 5.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7832, allocations: 0 / 0.7305 GB, free: 5.891 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00031/0.7835, allocations: 55.94 kB / 0.7305 GB, free: 5.836 MB / 0.545 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.0003319/0.7838, allocations: 163 kB / 0.7307 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.7841, allocations: 95.91 kB / 0.7308 GB, free: 5.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7841, allocations: 0 / 0.7308 GB, free: 5.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.7842, allocations: 51.92 kB / 0.7308 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.7845, allocations: 15.98 kB / 0.7309 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.7851, allocations: 270 kB / 0.7311 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.7855, allocations: 0.7004 MB / 0.7318 GB, free: 4.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.974e-05/0.7856, allocations: 16.55 kB / 0.7318 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.7856, allocations: 19.44 kB / 0.7318 GB, free: 4.453 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.7856, allocations: 3.938 kB / 0.7318 GB, free: 4.449 MB / 0.545 GB Notification: Performance of Templates: time 0.005355/0.791, allocations: 1.65 MB / 0.7334 GB, free: 2.816 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)