Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.0009827/0.0009827, 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.001008/0.001008, allocations: 161 kB / 24.17 MB, free: 328 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.9807/0.9807, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.144/2.144, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.435e-05, allocations: 8.297 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001717/0.001741, allocations: 0.9091 MB / 0.7761 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.004362, allocations: 2.484 MB / 0.7785 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.004452, allocations: 7.719 kB / 0.7785 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.00449, allocations: 11.81 kB / 0.7785 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.004684, allocations: 43.56 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009374/0.005622, allocations: 485 kB / 0.779 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.005919, allocations: 319.8 kB / 0.7793 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.005965, allocations: 14.45 kB / 0.7793 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.006256, allocations: 202.3 kB / 0.7795 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.006405, allocations: 123.7 kB / 0.7796 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.006441, allocations: 24 kB / 0.7797 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.0071, allocations: 424.1 kB / 0.7801 GB, free: 392 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.007164, allocations: 68.84 kB / 0.7801 GB, free: 324 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.007248, allocations: 83.84 kB / 0.7802 GB, free: 240 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006973/0.007946, allocations: 0.5841 MB / 0.7808 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.00795, allocations: 8.438 kB / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007951, allocations: 0.5312 kB / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.007956, allocations: 0.9375 kB / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007686/0.008725, allocations: 0.5758 MB / 0.7814 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.008761, allocations: 9.594 kB / 0.7814 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006455/0.009406, allocations: 142.5 kB / 0.7815 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.009509, allocations: 136.2 kB / 0.7816 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.009628, allocations: 230.2 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.009661, allocations: 21.3 kB / 0.7819 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.009852, allocations: 209.1 kB / 0.7821 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.009861, allocations: 192 / 0.7821 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.009879, allocations: 13.06 kB / 0.7821 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.009886, allocations: 4 kB / 0.7821 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.009983, allocations: 68.64 kB / 0.7821 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.01023, allocations: 191.1 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.01094, allocations: 419.3 kB / 0.7827 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.01104, allocations: 122.2 kB / 0.7828 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.01107, allocations: 13.34 kB / 0.7829 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.01133, allocations: 283.4 kB / 0.7831 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.01133, allocations: 0 / 0.7831 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0003457/0.01168, allocations: 246.9 kB / 0.7834 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.01179, allocations: 350.6 kB / 0.7837 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.01189, allocations: 165.8 kB / 0.7839 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.01193, allocations: 47.34 kB / 0.7839 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.01197, allocations: 97.08 kB / 0.784 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.01204, allocations: 119.1 kB / 0.7841 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01214, allocations: 94.11 kB / 0.7842 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002823/0.01243, allocations: 334.2 kB / 0.7845 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.01255, allocations: 65.66 kB / 0.7846 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.01265, allocations: 100.4 kB / 0.7847 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.01284, allocations: 172.1 kB / 0.7848 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01284, allocations: 0 / 0.7848 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002529/0.0131, allocations: 215.6 kB / 0.785 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.01311, allocations: 8 kB / 0.7851 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.01312, allocations: 2.781 kB / 0.7851 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.01313, allocations: 4 kB / 0.7851 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.01337, allocations: 91.86 kB / 0.7851 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01337, allocations: 3.938 kB / 0.7852 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.01349, allocations: 47.75 kB / 0.7852 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.01351, allocations: 11.98 kB / 0.7852 GB, free: 10.61 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001137/0.01362, allocations: 150.2 kB / 0.7854 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.01367, allocations: 33.47 kB / 0.7854 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.014, allocations: 263.4 kB / 0.7856 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.01401, allocations: 12 kB / 0.7856 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01402, allocations: 4 kB / 0.7857 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.01403, allocations: 14.67 kB / 0.7857 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.01425, allocations: 186 kB / 0.7858 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.01425, allocations: 4 kB / 0.7858 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.01442, allocations: 83.83 kB / 0.7859 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.01442, allocations: 4 kB / 0.7859 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.01444, allocations: 15.98 kB / 0.7859 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01445, allocations: 8 kB / 0.786 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.01445, allocations: 4.969 kB / 0.786 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.01474, allocations: 337.5 kB / 0.7863 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.01485, allocations: 51.7 kB / 0.7863 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.01488, allocations: 21.39 kB / 0.7863 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.015, allocations: 31.97 kB / 0.7864 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.01509, allocations: 47.86 kB / 0.7864 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.01511, allocations: 17.39 kB / 0.7864 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.01515, allocations: 53.31 kB / 0.7865 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01515, allocations: 0 / 0.7865 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004725/0.01563, allocations: 231.2 kB / 0.7867 GB, free: 8.996 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004562/0.01608, allocations: 346.5 kB / 0.787 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.01638, allocations: 223.5 kB / 0.7873 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.01638, allocations: 4.5 kB / 0.7873 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.01651, allocations: 146.9 kB / 0.7874 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.01667, allocations: 27.98 kB / 0.7874 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007815/0.01745, allocations: 0.516 MB / 0.7879 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.01751, allocations: 94.75 kB / 0.788 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.01764, allocations: 52.17 kB / 0.7881 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.01778, allocations: 108.4 kB / 0.7882 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of SimCode: time 1.001e-06/0.01778, allocations: 0 / 0.7882 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.008277/0.02606, allocations: 6.469 MB / 0.7945 GB, free: 1.109 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.220093850977719]