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.001353/0.001353, 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.001794/0.001794, allocations: 193.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.691/1.691, 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 7.0.3-maint.7.0.x/package.mo): time 1.723/1.723, allocations: 251.7 MB / 0.5092 GB, free: 3.09 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.001468/0.001469, allocations: 79.88 kB / 0.6223 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7624/0.7638, allocations: 104.7 MB / 0.7245 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002227/0.7661, allocations: 0.7339 MB / 0.7252 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.7681, allocations: 1.576 MB / 0.7268 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.7682, allocations: 4 kB / 0.7268 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.7682, allocations: 3.938 kB / 0.7268 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.7685, allocations: 27.73 kB / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.7689, allocations: 155.5 kB / 0.7269 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.7691, allocations: 119.7 kB / 0.7271 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.7693, allocations: 12 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.7694, allocations: 51.83 kB / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.7695, allocations: 51.83 kB / 0.7272 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.7696, allocations: 12 kB / 0.7272 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.7698, allocations: 83.94 kB / 0.7273 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.7698, allocations: 27.86 kB / 0.7273 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.483e-05/0.7699, allocations: 47.78 kB / 0.7273 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.7702, allocations: 197.5 kB / 0.7275 GB, free: 9.773 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7703, allocations: 0 / 0.7275 GB, free: 9.773 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7703, allocations: 0 / 0.7275 GB, free: 9.773 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7703, allocations: 0 / 0.7275 GB, free: 9.773 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.0007794/0.7711, allocations: 431 kB / 0.7279 GB, free: 9.305 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.7711, allocations: 8.031 kB / 0.7279 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.7712, allocations: 12.84 kB / 0.728 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.7714, allocations: 176.2 kB / 0.7281 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.91e-05/0.7715, allocations: 34.25 kB / 0.7282 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.7715, allocations: 8.375 kB / 0.7282 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.7717, allocations: 104.3 kB / 0.7283 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7718, allocations: 3.984 kB / 0.7283 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.7718, allocations: 0 / 0.7283 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.7718, allocations: 4 kB / 0.7283 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.7719, allocations: 47.91 kB / 0.7283 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.7726, allocations: 0.5243 MB / 0.7288 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.7731, allocations: 135.7 kB / 0.729 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.7732, allocations: 42.58 kB / 0.729 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.7733, allocations: 12.02 kB / 0.729 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.7735, allocations: 113.9 kB / 0.7291 GB, free: 7.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.7735, allocations: 0 / 0.7291 GB, free: 7.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0003426/0.7739, allocations: 141.4 kB / 0.7293 GB, free: 7.773 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.774, allocations: 106.8 kB / 0.7294 GB, free: 7.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.7741, allocations: 133.7 kB / 0.7295 GB, free: 7.504 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.7741, allocations: 25.7 kB / 0.7295 GB, free: 7.473 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.7741, allocations: 92.33 kB / 0.7296 GB, free: 7.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.7742, allocations: 39.83 kB / 0.7296 GB, free: 7.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.7743, allocations: 33.7 kB / 0.7297 GB, free: 7.301 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7744, allocations: 326.8 kB / 0.73 GB, free: 6.973 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-05/0.7745, allocations: 35.98 kB / 0.73 GB, free: 6.938 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.99e-05/0.7746, allocations: 35.98 kB / 0.73 GB, free: 6.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.7748, allocations: 76.75 kB / 0.7301 GB, free: 6.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7748, allocations: 0 / 0.7301 GB, free: 6.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002621/0.775, allocations: 141.4 kB / 0.7303 GB, free: 6.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.7751, allocations: 9.875 kB / 0.7303 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7751, allocations: 0 / 0.7303 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.7751, allocations: 4 kB / 0.7303 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.7752, allocations: 15.98 kB / 0.7303 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.7752, allocations: 0 / 0.7303 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.7753, allocations: 15.89 kB / 0.7303 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.7754, allocations: 11.94 kB / 0.7303 GB, free: 6.629 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.0001086/0.7755, allocations: 118.7 kB / 0.7304 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.7755, allocations: 15.84 kB / 0.7304 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.7757, allocations: 122.1 kB / 0.7306 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.7758, allocations: 4 kB / 0.7306 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7758, allocations: 0 / 0.7306 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.7758, allocations: 0 / 0.7306 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.776, allocations: 221.4 kB / 0.7308 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.776, allocations: 4 kB / 0.7308 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.7761, allocations: 19.98 kB / 0.7308 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.7761, allocations: 4 kB / 0.7308 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.7761, allocations: 4 kB / 0.7308 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.7761, allocations: 4 kB / 0.7308 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.7761, allocations: 3.984 kB / 0.7308 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.7764, allocations: 170.5 kB / 0.731 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.7765, allocations: 109 kB / 0.7311 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.7765, allocations: 0 / 0.7311 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.7766, allocations: 8 kB / 0.7311 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.7766, allocations: 15.92 kB / 0.7311 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.7767, allocations: 11.98 kB / 0.7311 GB, free: 5.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.7767, allocations: 97.27 kB / 0.7312 GB, free: 5.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7767, allocations: 0 / 0.7312 GB, free: 5.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002783/0.777, allocations: 59.88 kB / 0.7313 GB, free: 5.551 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.0002377/0.7773, allocations: 159.1 kB / 0.7314 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.7775, allocations: 99.89 kB / 0.7315 GB, free: 5.289 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7775, allocations: 3.938 kB / 0.7315 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.7776, allocations: 55.98 kB / 0.7316 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.7778, allocations: 15.98 kB / 0.7316 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.7783, allocations: 248.4 kB / 0.7318 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.7786, allocations: 0.7002 MB / 0.7325 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.994e-05/0.7787, allocations: 16.69 kB / 0.7325 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.7788, allocations: 23.42 kB / 0.7325 GB, free: 4.176 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.7788, allocations: 0 / 0.7325 GB, free: 4.176 MB / 0.545 GB Notification: Performance of Templates: time 0.004773/0.7836, allocations: 1.722 MB / 0.7342 GB, free: 2.477 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)