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.001391/0.001391, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001674/0.001674, allocations: 161.4 kB / 24.16 MB, free: 332 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 0.9965/0.9965, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.96/1.96, allocations: 389.6 MB / 0.6354 GB, free: 12.28 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.232e-06/1.232e-06, allocations: 0 / 0.7751 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.9e-05, allocations: 7.422 kB / 0.7751 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001288/0.001307, allocations: 0.7163 MB / 0.7758 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.003056, allocations: 1.601 MB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.003107, allocations: 0 / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.003133, allocations: 7.875 kB / 0.7774 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.003282, allocations: 21.7 kB / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.003609, allocations: 171.8 kB / 0.7776 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.00373, allocations: 123.6 kB / 0.7777 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.278e-05/0.003803, allocations: 11.97 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.003948, allocations: 72.77 kB / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.459e-05/0.004023, allocations: 43.88 kB / 0.7778 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.004045, allocations: 8.656 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.004197, allocations: 119.8 kB / 0.7779 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.004222, allocations: 33.61 kB / 0.778 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.004263, allocations: 31.92 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.004533, allocations: 191.4 kB / 0.7782 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004536, allocations: 0 / 0.7782 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004537, allocations: 0.8125 kB / 0.7782 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.00454, allocations: 4 kB / 0.7782 GB, free: 2.328 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.0004458/0.004986, allocations: 331.9 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.005018, allocations: 13.28 kB / 0.7785 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.00528, allocations: 44.73 kB / 0.7786 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.005418, allocations: 117.8 kB / 0.7787 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.005475, allocations: 59.97 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.005492, allocations: 11.12 kB / 0.7787 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.005609, allocations: 105.4 kB / 0.7788 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.005616, allocations: 192 / 0.7788 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.005628, allocations: 12.05 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.005633, allocations: 0 / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.005677, allocations: 23.97 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.006047, allocations: 378.5 kB / 0.7792 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.006348, allocations: 108.3 kB / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.006386, allocations: 31.78 kB / 0.7794 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.006402, allocations: 4 kB / 0.7794 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.006526, allocations: 110.5 kB / 0.7795 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 8.81e-07/0.006527, allocations: 0 / 0.7795 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001563/0.006683, allocations: 82.12 kB / 0.7796 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.00673, allocations: 107.7 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006834, allocations: 130.6 kB / 0.7798 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.006849, allocations: 26.3 kB / 0.7798 GB, free: 484 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.006891, allocations: 100.3 kB / 0.7799 GB, free: 376 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.006917, allocations: 28.52 kB / 0.7799 GB, free: 348 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.006971, allocations: 41.67 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.007063, allocations: 319.4 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.007104, allocations: 13.42 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.007134, allocations: 15.98 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.092e-05/0.007205, allocations: 43.58 kB / 0.7803 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.007207, allocations: 3.938 kB / 0.7803 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001073/0.007314, allocations: 82.2 kB / 0.7804 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.007327, allocations: 14.33 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.007331, allocations: 0 / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/0.007338, allocations: 1.156 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.007421, allocations: 19.98 kB / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.007423, allocations: 0 / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.007467, allocations: 4.875 kB / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.007477, allocations: 8.25 kB / 0.7805 GB, free: 15.77 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 0.0001393/0.007616, allocations: 126.3 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.007634, allocations: 8.625 kB / 0.7806 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.007768, allocations: 99.94 kB / 0.7807 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.00777, allocations: 3.938 kB / 0.7807 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.007772, allocations: 4 kB / 0.7807 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.007776, allocations: 0 / 0.7807 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.007886, allocations: 102.4 kB / 0.7808 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.007887, allocations: 1 kB / 0.7808 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.007944, allocations: 16 kB / 0.7808 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.007947, allocations: 0 / 0.7808 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.00796, allocations: 12.86 kB / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.007963, allocations: 0 / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007964, allocations: 0 / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.008091, allocations: 127.5 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.008133, allocations: 15.94 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.008151, allocations: 8.844 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-05/0.008197, allocations: 8 kB / 0.781 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.008227, allocations: 13 kB / 0.781 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.008238, allocations: 8 kB / 0.781 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.008261, allocations: 23.2 kB / 0.781 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008261, allocations: 0.75 kB / 0.781 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002545/0.008516, allocations: 67.75 kB / 0.7811 GB, free: 15.09 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.0001965/0.008712, allocations: 164.9 kB / 0.7812 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.008816, allocations: 67.42 kB / 0.7813 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.008818, allocations: 0 / 0.7813 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.937e-05/0.008867, allocations: 44.77 kB / 0.7814 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.356e-05/0.008961, allocations: 12 kB / 0.7814 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.009496, allocations: 238.8 kB / 0.7816 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.009536, allocations: 63.34 kB / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.049e-05/0.009597, allocations: 19.45 kB / 0.7817 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.009668, allocations: 67.36 kB / 0.7817 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.009668, allocations: 5.438 kB / 0.7817 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.00455/0.01422, allocations: 2.166 MB / 0.7839 GB, free: 12.34 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.042980987112969]