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.00141/0.00141, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001637/0.001637, allocations: 161 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 1.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.066 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 2.052/2.052, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] 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.292e-06/1.292e-06, allocations: 0.5469 kB / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.468e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001597/0.001622, allocations: 0.7702 MB / 0.7759 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.003583, allocations: 1.605 MB / 0.7775 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.003648, allocations: 0 / 0.7775 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.003679, allocations: 4.5 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.003844, allocations: 26.83 kB / 0.7775 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.004282, allocations: 163.2 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.004431, allocations: 119.6 kB / 0.7778 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.114e-05/0.004512, allocations: 15.98 kB / 0.7778 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.004687, allocations: 72.86 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.812e-05/0.004766, allocations: 40.61 kB / 0.7779 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.004787, allocations: 12 kB / 0.7779 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.00507, allocations: 128.4 kB / 0.778 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.005108, allocations: 27.91 kB / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.005152, allocations: 32.81 kB / 0.7781 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.005435, allocations: 195.4 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.005439, allocations: 0.9688 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.222e-06/0.00544, allocations: 0 / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.005445, allocations: 0 / 0.7783 GB, free: 2.207 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.0005254/0.005971, allocations: 326.5 kB / 0.7786 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.006011, allocations: 13.34 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.006278, allocations: 45.53 kB / 0.7786 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.006442, allocations: 131.1 kB / 0.7788 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.006511, allocations: 59.97 kB / 0.7788 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.006524, allocations: 4.375 kB / 0.7788 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.006659, allocations: 100.4 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.006669, allocations: 0.7188 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.00668, allocations: 9.062 kB / 0.7789 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.006688, allocations: 0 / 0.7789 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.006732, allocations: 25.62 kB / 0.779 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.007114, allocations: 376.5 kB / 0.7793 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.007364, allocations: 109.8 kB / 0.7794 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.007397, allocations: 43.34 kB / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.007414, allocations: 0 / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.007535, allocations: 110.7 kB / 0.7796 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.007536, allocations: 0 / 0.7796 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001548/0.007691, allocations: 82.78 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.007745, allocations: 110.8 kB / 0.7798 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/0.00782, allocations: 118.7 kB / 0.7799 GB, free: 400 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.007837, allocations: 30.52 kB / 0.7799 GB, free: 364 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.007878, allocations: 96.34 kB / 0.78 GB, free: 260 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.007904, allocations: 33.08 kB / 0.78 GB, free: 228 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.007949, allocations: 33.69 kB / 0.7801 GB, free: 188 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.008058, allocations: 322.8 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.008111, allocations: 19.92 kB / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.008135, allocations: 13.12 kB / 0.7804 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.362e-05/0.008209, allocations: 48.73 kB / 0.7804 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.00821, allocations: 0 / 0.7804 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001095/0.00832, allocations: 78.05 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.008336, allocations: 4 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008341, allocations: 0.5 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.00836, allocations: 4 kB / 0.7805 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.008451, allocations: 32.75 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.008455, allocations: 256 / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.008499, allocations: 8.625 kB / 0.7806 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.008511, allocations: 8.531 kB / 0.7806 GB, free: 15.64 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.635e-05/0.008597, allocations: 122.4 kB / 0.7807 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.008614, allocations: 7.938 kB / 0.7807 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.008772, allocations: 95.53 kB / 0.7808 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.008776, allocations: 4.031 kB / 0.7808 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.00878, allocations: 4.625 kB / 0.7808 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.008785, allocations: 3.25 kB / 0.7808 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.008894, allocations: 101.8 kB / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008895, allocations: 0 / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.008949, allocations: 19.94 kB / 0.7809 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.008952, allocations: 4 kB / 0.7809 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.008962, allocations: 11.92 kB / 0.7809 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.008965, allocations: 4 kB / 0.7809 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008966, allocations: 0 / 0.7809 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.009071, allocations: 114.8 kB / 0.781 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.009106, allocations: 26.7 kB / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.009123, allocations: 7.938 kB / 0.7811 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/0.009157, allocations: 4 kB / 0.7811 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.009196, allocations: 19.97 kB / 0.7811 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.009202, allocations: 0 / 0.7811 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.009226, allocations: 20.84 kB / 0.7811 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009227, allocations: 0 / 0.7811 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001986/0.009425, allocations: 67.75 kB / 0.7812 GB, free: 14.97 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.0002047/0.00963, allocations: 161.6 kB / 0.7813 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.009741, allocations: 60.69 kB / 0.7814 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.009746, allocations: 9.062 kB / 0.7814 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.009797, allocations: 40.78 kB / 0.7814 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.009916, allocations: 15.48 kB / 0.7815 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.01046, allocations: 239.4 kB / 0.7817 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.932e-05/0.01051, allocations: 63.97 kB / 0.7817 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.952e-05/0.01058, allocations: 18.77 kB / 0.7818 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.01065, allocations: 67.36 kB / 0.7818 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/0.01065, allocations: 0 / 0.7818 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.004573/0.01522, allocations: 2.178 MB / 0.784 GB, free: 12.21 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.096023523714393]