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.0009103/0.0009103, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001151/0.001151, allocations: 169.9 kB / 25.18 MB, free: 9.109 MB / 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.9716/0.9716, allocations: 177.1 MB / 205.6 MB, free: 5.043 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.891/1.891, allocations: 389.6 MB / 0.6364 GB, free: 12.22 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.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.795e-06/2.795e-06, allocations: 0 / 0.7755 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.795e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001955/0.001983, allocations: 0.9133 MB / 0.7764 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002786/0.004769, allocations: 2.483 MB / 0.7788 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.004871, allocations: 0 / 0.7788 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.936e-05/0.004921, allocations: 12.31 kB / 0.7788 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.005155, allocations: 64.5 kB / 0.7789 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.006275, allocations: 463.2 kB / 0.7793 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.006631, allocations: 327.5 kB / 0.7797 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.006684, allocations: 14.45 kB / 0.7797 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.007032, allocations: 193.9 kB / 0.7799 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.0072, allocations: 133 kB / 0.78 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.007244, allocations: 24 kB / 0.78 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007883/0.008032, allocations: 423.5 kB / 0.7804 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.008105, allocations: 69.38 kB / 0.7805 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.252e-05/0.008198, allocations: 95.77 kB / 0.7806 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007934/0.008991, allocations: 0.5802 MB / 0.7811 GB, free: 296 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.008995, allocations: 0 / 0.7811 GB, free: 296 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.433e-06/0.008996, allocations: 0 / 0.7811 GB, free: 296 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.009001, allocations: 1.344 kB / 0.7811 GB, free: 296 kB / 0.7292 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.0008824/0.009884, allocations: 0.5768 MB / 0.7817 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.009923, allocations: 8.75 kB / 0.7817 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006127/0.01054, allocations: 138.9 kB / 0.7818 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.01066, allocations: 139.1 kB / 0.782 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.0108, allocations: 231.2 kB / 0.7822 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.01084, allocations: 20.38 kB / 0.7822 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.01106, allocations: 209 kB / 0.7824 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.01108, allocations: 1.5 kB / 0.7824 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.01109, allocations: 8.125 kB / 0.7824 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.0111, allocations: 8 kB / 0.7824 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.04e-05/0.01119, allocations: 64.77 kB / 0.7825 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.01144, allocations: 203.1 kB / 0.7827 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.01213, allocations: 426.5 kB / 0.7831 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.01223, allocations: 105.5 kB / 0.7832 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.01226, allocations: 19.92 kB / 0.7832 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.01251, allocations: 283.4 kB / 0.7835 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.01251, allocations: 0 / 0.7835 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0003267/0.01284, allocations: 236.9 kB / 0.7837 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.01297, allocations: 362 kB / 0.784 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.01307, allocations: 169.8 kB / 0.7842 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.0131, allocations: 37.7 kB / 0.7842 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.01314, allocations: 101.1 kB / 0.7843 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.01322, allocations: 119.2 kB / 0.7845 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-05/0.01331, allocations: 90.11 kB / 0.7845 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.0134, allocations: 338.8 kB / 0.7849 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.0135, allocations: 64.11 kB / 0.7849 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.4e-05/0.01359, allocations: 100.3 kB / 0.785 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.01379, allocations: 166.1 kB / 0.7852 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01379, allocations: 1.094 kB / 0.7852 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002659/0.01406, allocations: 218.2 kB / 0.7854 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.01408, allocations: 4.781 kB / 0.7854 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01409, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.0141, allocations: 4.5 kB / 0.7854 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.01433, allocations: 92.45 kB / 0.7855 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.01434, allocations: 15.92 kB / 0.7855 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.01446, allocations: 45.2 kB / 0.7855 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.01449, allocations: 15.98 kB / 0.7856 GB, free: 11.25 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.0001148/0.0146, allocations: 148.2 kB / 0.7857 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.01465, allocations: 31.92 kB / 0.7857 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.01498, allocations: 269.1 kB / 0.786 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.01499, allocations: 8 kB / 0.786 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.015, allocations: 7.938 kB / 0.786 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.015, allocations: 5.344 kB / 0.786 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.01521, allocations: 190 kB / 0.7862 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01522, allocations: 4 kB / 0.7862 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01537, allocations: 79.83 kB / 0.7863 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.01538, allocations: 5.281 kB / 0.7863 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.0154, allocations: 15.98 kB / 0.7863 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.0154, allocations: 4 kB / 0.7863 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.0154, allocations: 4.625 kB / 0.7863 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.01574, allocations: 333.8 kB / 0.7866 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.01588, allocations: 65.5 kB / 0.7867 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.01592, allocations: 19.95 kB / 0.7867 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.01606, allocations: 23.97 kB / 0.7867 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.01616, allocations: 55.8 kB / 0.7868 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.01618, allocations: 21.05 kB / 0.7868 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.01623, allocations: 45.33 kB / 0.7868 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01623, allocations: 0 / 0.7868 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005502/0.01678, allocations: 233 kB / 0.7871 GB, free: 9.641 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.0004987/0.01728, allocations: 349.3 kB / 0.7874 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.01761, allocations: 221 kB / 0.7876 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.01762, allocations: 0.625 kB / 0.7876 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.01779, allocations: 140 kB / 0.7877 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.01798, allocations: 40.48 kB / 0.7878 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009452/0.01892, allocations: 0.5461 MB / 0.7883 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.01904, allocations: 150.3 kB / 0.7885 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.01921, allocations: 107.9 kB / 0.7886 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.01921, allocations: 0 / 0.7886 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.007789/0.027, allocations: 5.647 MB / 0.7941 GB, free: 2.477 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 > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.846583848819137]