Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 80.75 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 169 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.031/1.031, allocations: 177.1 MB / 204.7 MB, free: 5.418 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.922/1.922, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.7753 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.067e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002491/0.002522, allocations: 0.7704 MB / 0.7761 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.004902, allocations: 1.597 MB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.004976, allocations: 0 / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.005016, allocations: 8.922 kB / 0.7776 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.005206, allocations: 17.33 kB / 0.7777 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.005695, allocations: 167.2 kB / 0.7778 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.00587, allocations: 115.6 kB / 0.7779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.005966, allocations: 15.97 kB / 0.778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.00619, allocations: 79.81 kB / 0.778 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.006283, allocations: 35.94 kB / 0.7781 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.006309, allocations: 15.91 kB / 0.7781 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.006597, allocations: 127.8 kB / 0.7782 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.00663, allocations: 27.91 kB / 0.7782 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.006676, allocations: 35.91 kB / 0.7783 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.006994, allocations: 187.4 kB / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.006997, allocations: 0 / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.216e-06/0.007001, allocations: 3.984 kB / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.007005, allocations: 0 / 0.7784 GB, free: 2.152 MB / 0.7292 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.0005617/0.007567, allocations: 335 kB / 0.7788 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.007607, allocations: 9.344 kB / 0.7788 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/0.007906, allocations: 48.73 kB / 0.7788 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.008075, allocations: 121.7 kB / 0.7789 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.849e-05/0.008154, allocations: 67.95 kB / 0.779 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.008174, allocations: 9.406 kB / 0.779 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.008334, allocations: 89.48 kB / 0.7791 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.008343, allocations: 192 / 0.7791 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.008354, allocations: 9.219 kB / 0.7791 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.008361, allocations: 4 kB / 0.7791 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.311e-05/0.008414, allocations: 19.97 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.009126, allocations: 377.5 kB / 0.7795 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.009453, allocations: 109.7 kB / 0.7796 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.009492, allocations: 31.94 kB / 0.7796 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.009513, allocations: 4.094 kB / 0.7796 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.00966, allocations: 111.4 kB / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.009662, allocations: 0 / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001916/0.009854, allocations: 81.78 kB / 0.7798 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.009916, allocations: 110.8 kB / 0.7799 GB, free: 480 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.009998, allocations: 127.7 kB / 0.78 GB, free: 340 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.01002, allocations: 29.7 kB / 0.7801 GB, free: 304 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.01006, allocations: 98.09 kB / 0.7802 GB, free: 200 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.0101, allocations: 31.72 kB / 0.7802 GB, free: 168 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.01016, allocations: 33.69 kB / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.01027, allocations: 322.8 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/0.01033, allocations: 12.91 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.033e-05/0.01036, allocations: 11.98 kB / 0.7806 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.01044, allocations: 49.31 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01044, allocations: 0 / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001296/0.01057, allocations: 86.95 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01059, allocations: 7.938 kB / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01059, allocations: 0 / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.0106, allocations: 0.875 kB / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.01072, allocations: 23.98 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.01072, allocations: 0 / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.01078, allocations: 8.859 kB / 0.7807 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.01079, allocations: 8.25 kB / 0.7807 GB, free: 15.59 MB / 0.7448 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 8.705e-05/0.01088, allocations: 114.3 kB / 0.7808 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.0109, allocations: 21.33 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.01108, allocations: 90.03 kB / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01109, allocations: 1.219 kB / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01109, allocations: 0 / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.0111, allocations: 4 kB / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.01122, allocations: 102.5 kB / 0.781 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01123, allocations: 0 / 0.781 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.0113, allocations: 24.98 kB / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.01131, allocations: 4 kB / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.01132, allocations: 3.938 kB / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01132, allocations: 0.5 kB / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.01133, allocations: 8.922 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.01148, allocations: 125.1 kB / 0.7812 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.01152, allocations: 20.73 kB / 0.7812 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01155, allocations: 7.922 kB / 0.7812 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.437e-05/0.0116, allocations: 8.719 kB / 0.7812 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.01164, allocations: 8.031 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.01166, allocations: 12.66 kB / 0.7813 GB, free: 15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.76e-05/0.01168, allocations: 16.86 kB / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01168, allocations: 5.031 kB / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002876/0.01197, allocations: 67.73 kB / 0.7813 GB, free: 14.91 MB / 0.7448 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.0002685/0.01224, allocations: 164 kB / 0.7815 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.01238, allocations: 60.77 kB / 0.7816 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.01238, allocations: 0 / 0.7816 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.297e-05/0.01245, allocations: 48.7 kB / 0.7816 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.0126, allocations: 25.16 kB / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.01325, allocations: 236.2 kB / 0.7819 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.462e-05/0.0133, allocations: 63.34 kB / 0.7819 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.007e-05/0.01337, allocations: 14.77 kB / 0.7819 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.01345, allocations: 68.28 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.01345, allocations: 0 / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.005312/0.01876, allocations: 2.169 MB / 0.7841 GB, free: 12.16 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.131149276159704]