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.00106/0.00106, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001348/0.001348, allocations: 168.7 kB / 15.95 MB, free: 204 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.697/1.697, allocations: 205.4 MB / 222.1 MB, free: 5.395 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.578/1.578, allocations: 252 MB / 0.5102 GB, free: 4.824 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.0005665/0.0005666, allocations: 23.94 kB / 0.6243 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.6987, allocations: 106.3 MB / 0.7281 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001098/0.6998, allocations: 455 kB / 0.7286 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.7021, allocations: 1.522 MB / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.7022, allocations: 4 kB / 0.73 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.7022, allocations: 3.938 kB / 0.73 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.7025, allocations: 15.84 kB / 0.7301 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.7029, allocations: 115.7 kB / 0.7302 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.7031, allocations: 103.7 kB / 0.7303 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.7032, allocations: 23.97 kB / 0.7303 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.7033, allocations: 39.84 kB / 0.7303 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.7035, allocations: 43.83 kB / 0.7304 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.7035, allocations: 4 kB / 0.7304 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.7037, allocations: 75.94 kB / 0.7305 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.7037, allocations: 15.97 kB / 0.7305 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.7038, allocations: 41.64 kB / 0.7305 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.704, allocations: 141.7 kB / 0.7306 GB, free: 8.766 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.704, allocations: 0 / 0.7306 GB, free: 8.766 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.704, allocations: 4 kB / 0.7306 GB, free: 8.762 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.704, allocations: 0 / 0.7306 GB, free: 8.762 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.0007053/0.7047, allocations: 410.9 kB / 0.731 GB, free: 8.312 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7048, allocations: 8.031 kB / 0.731 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.7048, allocations: 11.91 kB / 0.7311 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.705, allocations: 194.8 kB / 0.7312 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.7051, allocations: 33.7 kB / 0.7313 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.7051, allocations: 8 kB / 0.7313 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.7053, allocations: 92.22 kB / 0.7314 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.7053, allocations: 4 kB / 0.7314 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.7054, allocations: 0 / 0.7314 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.7054, allocations: 0 / 0.7314 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.668e-05/0.7055, allocations: 51.92 kB / 0.7314 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.7062, allocations: 0.5204 MB / 0.7319 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.7066, allocations: 139.7 kB / 0.7321 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.7067, allocations: 46.66 kB / 0.7321 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.7068, allocations: 4 kB / 0.7321 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.707, allocations: 113.9 kB / 0.7322 GB, free: 6.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.7071, allocations: 0 / 0.7322 GB, free: 6.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0003585/0.7074, allocations: 141.8 kB / 0.7324 GB, free: 6.777 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.7075, allocations: 114.8 kB / 0.7325 GB, free: 6.641 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.7076, allocations: 122.2 kB / 0.7326 GB, free: 6.512 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.7076, allocations: 25.7 kB / 0.7326 GB, free: 6.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.7077, allocations: 104.2 kB / 0.7327 GB, free: 6.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.7078, allocations: 27.56 kB / 0.7327 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.7078, allocations: 0 / 0.7327 GB, free: 6.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7079, allocations: 326.8 kB / 0.733 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.708, allocations: 35.98 kB / 0.7331 GB, free: 5.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.712e-05/0.7081, allocations: 39.92 kB / 0.7331 GB, free: 5.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.163e-05/0.7082, allocations: 38.8 kB / 0.7332 GB, free: 5.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.7082, allocations: 0 / 0.7332 GB, free: 5.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002326/0.7084, allocations: 125.6 kB / 0.7333 GB, free: 5.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7085, allocations: 7.984 kB / 0.7333 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7085, allocations: 0 / 0.7333 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.7085, allocations: 11.94 kB / 0.7333 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.7086, allocations: 15.98 kB / 0.7333 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7086, allocations: 3.938 kB / 0.7333 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.7087, allocations: 15.91 kB / 0.7333 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.7087, allocations: 11.98 kB / 0.7333 GB, free: 5.715 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.0001147/0.7089, allocations: 114.6 kB / 0.7334 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.7089, allocations: 11.91 kB / 0.7335 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.7091, allocations: 117.9 kB / 0.7336 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.7092, allocations: 7.953 kB / 0.7336 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7092, allocations: 0 / 0.7336 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.7092, allocations: 4 kB / 0.7336 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.7095, allocations: 217.5 kB / 0.7338 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7095, allocations: 0 / 0.7338 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.7096, allocations: 19.98 kB / 0.7338 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.7096, allocations: 320 / 0.7338 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.7096, allocations: 11.94 kB / 0.7338 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7096, allocations: 4 kB / 0.7338 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7096, allocations: 7.953 kB / 0.7338 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.7099, allocations: 166.7 kB / 0.734 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.71, allocations: 100.9 kB / 0.7341 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.71, allocations: 4 kB / 0.7341 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.7101, allocations: 15.98 kB / 0.7341 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.7101, allocations: 15.94 kB / 0.7341 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.7102, allocations: 11.94 kB / 0.7341 GB, free: 4.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.7102, allocations: 95.27 kB / 0.7342 GB, free: 4.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7102, allocations: 3.938 kB / 0.7342 GB, free: 4.695 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002828/0.7105, allocations: 59.92 kB / 0.7343 GB, free: 4.637 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.0002366/0.7108, allocations: 157.3 kB / 0.7344 GB, free: 4.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.711, allocations: 95.84 kB / 0.7345 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.711, allocations: 4 kB / 0.7345 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.7111, allocations: 59.94 kB / 0.7346 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.7113, allocations: 11.09 kB / 0.7346 GB, free: 4.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.7118, allocations: 271.1 kB / 0.7349 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.712, allocations: 0.6965 MB / 0.7355 GB, free: 3.285 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.484e-05/0.7121, allocations: 16.55 kB / 0.7356 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.7122, allocations: 19.44 kB / 0.7356 GB, free: 3.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.7122, allocations: 0 / 0.7356 GB, free: 3.25 MB / 0.545 GB Notification: Performance of Templates: time 0.004442/0.7166, allocations: 1.599 MB / 0.7371 GB, free: 1.672 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: