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.001333/0.001332, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001549/0.001549, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.794/1.794, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0006113/0.0006114, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5983, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0009184/0.5992, allocations: 450.3 kB / 0.7284 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.6017, allocations: 1.506 MB / 0.7299 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.6017, allocations: 0 / 0.7299 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.6018, allocations: 3.938 kB / 0.7299 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.602, allocations: 27.89 kB / 0.7299 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.6024, allocations: 123.6 kB / 0.73 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.6025, allocations: 67.91 kB / 0.7301 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.6026, allocations: 15.98 kB / 0.7301 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.6027, allocations: 43.84 kB / 0.7301 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.6028, allocations: 39.83 kB / 0.7302 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.6029, allocations: 8 kB / 0.7302 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.603, allocations: 71.94 kB / 0.7303 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.6031, allocations: 15.92 kB / 0.7303 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.6031, allocations: 41.7 kB / 0.7303 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.6033, allocations: 153.6 kB / 0.7305 GB, free: 8.867 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.6033, allocations: 0 / 0.7305 GB, free: 8.867 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6033, allocations: 3.938 kB / 0.7305 GB, free: 8.863 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.6034, allocations: 0 / 0.7305 GB, free: 8.863 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.0006408/0.604, allocations: 407 kB / 0.7309 GB, free: 8.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.604, allocations: 12.02 kB / 0.7309 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.6041, allocations: 7.906 kB / 0.7309 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.6042, allocations: 186.8 kB / 0.7311 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.6043, allocations: 33.7 kB / 0.7311 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.6044, allocations: 4 kB / 0.7311 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.6046, allocations: 108.2 kB / 0.7312 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6046, allocations: 0 / 0.7312 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.6046, allocations: 0 / 0.7312 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.6046, allocations: 0 / 0.7312 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.654e-05/0.6047, allocations: 51.91 kB / 0.7312 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.6054, allocations: 0.5282 MB / 0.7318 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.6059, allocations: 135.8 kB / 0.7319 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.6059, allocations: 7.984 kB / 0.7319 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.6061, allocations: 118 kB / 0.732 GB, free: 7.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.6061, allocations: 0 / 0.732 GB, free: 7.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0003186/0.6065, allocations: 141.5 kB / 0.7321 GB, free: 6.926 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.6065, allocations: 106.8 kB / 0.7322 GB, free: 6.797 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.6066, allocations: 129.8 kB / 0.7324 GB, free: 6.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.6067, allocations: 29.7 kB / 0.7324 GB, free: 6.625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.6067, allocations: 88.33 kB / 0.7325 GB, free: 6.535 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.6068, allocations: 39.73 kB / 0.7325 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.6068, allocations: 4 kB / 0.7325 GB, free: 6.492 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6069, allocations: 322.8 kB / 0.7328 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.607, allocations: 31.98 kB / 0.7329 GB, free: 6.137 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.6071, allocations: 39.92 kB / 0.7329 GB, free: 6.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.6072, allocations: 36 kB / 0.7329 GB, free: 6.062 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6072, allocations: 0 / 0.7329 GB, free: 6.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002271/0.6074, allocations: 125 kB / 0.733 GB, free: 5.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6074, allocations: 4 kB / 0.7331 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.6075, allocations: 8 kB / 0.7331 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6075, allocations: 3.953 kB / 0.7331 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.6076, allocations: 27.92 kB / 0.7331 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.6076, allocations: 0 / 0.7331 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.6077, allocations: 11.89 kB / 0.7331 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.6077, allocations: 4 kB / 0.7331 GB, free: 5.879 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 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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.0001109/0.6078, allocations: 124.9 kB / 0.7332 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.6079, allocations: 7.906 kB / 0.7332 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.6081, allocations: 121.9 kB / 0.7333 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6081, allocations: 0 / 0.7333 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.6081, allocations: 11.89 kB / 0.7334 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6081, allocations: 0 / 0.7334 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.6083, allocations: 217.5 kB / 0.7336 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6083, allocations: 0 / 0.7336 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.054e-05/0.6084, allocations: 27.92 kB / 0.7336 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.6084, allocations: 0 / 0.7336 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.6085, allocations: 4 kB / 0.7336 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.6085, allocations: 0 / 0.7336 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.6085, allocations: 3.984 kB / 0.7336 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.6087, allocations: 198.4 kB / 0.7338 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.6088, allocations: 105.1 kB / 0.7339 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.6088, allocations: 15.89 kB / 0.7339 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.6089, allocations: 8 kB / 0.7339 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.609, allocations: 23.89 kB / 0.7339 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.609, allocations: 8 kB / 0.7339 GB, free: 4.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.723e-05/0.6091, allocations: 98.14 kB / 0.734 GB, free: 4.809 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6091, allocations: 0 / 0.734 GB, free: 4.809 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002578/0.6094, allocations: 59.94 kB / 0.7341 GB, free: 4.75 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 (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.0002065/0.6096, allocations: 143.2 kB / 0.7342 GB, free: 4.602 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.6098, allocations: 99.83 kB / 0.7343 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6098, allocations: 0 / 0.7343 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.55e-05/0.6099, allocations: 55.91 kB / 0.7344 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.6101, allocations: 8 kB / 0.7344 GB, free: 4.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.6106, allocations: 267.1 kB / 0.7346 GB, free: 4.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.6108, allocations: 0.7043 MB / 0.7353 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.738e-05/0.6109, allocations: 16.55 kB / 0.7353 GB, free: 3.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.611, allocations: 15.42 kB / 0.7354 GB, free: 3.379 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.611, allocations: 0 / 0.7354 GB, free: 3.379 MB / 0.545 GB Notification: Performance of Templates: time 0.004144/0.6151, allocations: 1.595 MB / 0.7369 GB, free: 1.801 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: