Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.001441/0.001441, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001152/0.001152, allocations: 170.5 kB / 25.18 MB, free: 8.328 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.9336/0.9336, allocations: 177.2 MB / 205.6 MB, free: 4.367 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.899/1.899, allocations: 389.6 MB / 0.6364 GB, free: 13.29 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.7755 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.69e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002144/0.002171, allocations: 0.9139 MB / 0.7764 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002995/0.005166, allocations: 2.482 MB / 0.7789 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.005266, allocations: 4 kB / 0.7789 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.506e-05/0.005312, allocations: 11.81 kB / 0.7789 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.005525, allocations: 47.61 kB / 0.7789 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.006585, allocations: 478 kB / 0.7794 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.006962, allocations: 322.9 kB / 0.7797 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.007014, allocations: 14.45 kB / 0.7797 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.007384, allocations: 203.7 kB / 0.7799 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.007563, allocations: 123.7 kB / 0.78 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.007611, allocations: 24 kB / 0.78 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007367/0.008348, allocations: 419.5 kB / 0.7804 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.008417, allocations: 71.78 kB / 0.7805 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.407e-05/0.008511, allocations: 87.84 kB / 0.7806 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008473/0.009358, allocations: 0.584 MB / 0.7811 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.009362, allocations: 0 / 0.7811 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.009363, allocations: 0 / 0.7811 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.009368, allocations: 4 kB / 0.7811 GB, free: 8.805 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.000895/0.01026, allocations: 0.5674 MB / 0.7817 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.0103, allocations: 12.03 kB / 0.7817 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008052/0.0111, allocations: 148.5 kB / 0.7819 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.01122, allocations: 130.3 kB / 0.782 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.01136, allocations: 230.2 kB / 0.7822 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.01141, allocations: 20.38 kB / 0.7822 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.01163, allocations: 212.2 kB / 0.7824 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.01165, allocations: 4.125 kB / 0.7824 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.01166, allocations: 12.12 kB / 0.7824 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.01167, allocations: 4 kB / 0.7824 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.01179, allocations: 67.8 kB / 0.7825 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.01208, allocations: 199 kB / 0.7827 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/0.01294, allocations: 419.2 kB / 0.7831 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.01306, allocations: 118.2 kB / 0.7832 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.01309, allocations: 8 kB / 0.7832 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.01338, allocations: 287.4 kB / 0.7835 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.01338, allocations: 0 / 0.7835 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0004189/0.0138, allocations: 233.2 kB / 0.7837 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.01394, allocations: 354.1 kB / 0.7841 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.01406, allocations: 175.7 kB / 0.7842 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.01409, allocations: 37.7 kB / 0.7843 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.01413, allocations: 93.12 kB / 0.7843 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/0.01423, allocations: 123 kB / 0.7845 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.01434, allocations: 94.11 kB / 0.7845 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.01444, allocations: 338.7 kB / 0.7849 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.01456, allocations: 61.66 kB / 0.7849 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.01468, allocations: 100.3 kB / 0.785 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.01492, allocations: 175.9 kB / 0.7852 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01493, allocations: 0 / 0.7852 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003217/0.01525, allocations: 213.1 kB / 0.7854 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.01526, allocations: 4 kB / 0.7854 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.01527, allocations: 4 kB / 0.7854 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.01528, allocations: 0 / 0.7854 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.01557, allocations: 95.8 kB / 0.7855 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01558, allocations: 7.938 kB / 0.7855 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.01573, allocations: 51.7 kB / 0.7856 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.01576, allocations: 20.73 kB / 0.7856 GB, free: 3.734 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.0001133/0.01588, allocations: 141.8 kB / 0.7857 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.01594, allocations: 39.91 kB / 0.7857 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.01633, allocations: 250.3 kB / 0.786 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.01634, allocations: 12 kB / 0.786 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.01635, allocations: 4 kB / 0.786 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.01636, allocations: 11.92 kB / 0.786 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.01661, allocations: 186.2 kB / 0.7862 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.01662, allocations: 7.984 kB / 0.7862 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.01683, allocations: 71.91 kB / 0.7863 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.01684, allocations: 11.98 kB / 0.7863 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.01687, allocations: 15.98 kB / 0.7863 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.01688, allocations: 7.938 kB / 0.7863 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.01688, allocations: 4 kB / 0.7863 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.01725, allocations: 349.8 kB / 0.7866 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.01736, allocations: 55.66 kB / 0.7867 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.01741, allocations: 16 kB / 0.7867 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.01755, allocations: 27.97 kB / 0.7867 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.01764, allocations: 59.8 kB / 0.7868 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.01766, allocations: 15.98 kB / 0.7868 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.527e-05/0.01771, allocations: 48.78 kB / 0.7869 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01771, allocations: 0 / 0.7869 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005305/0.01824, allocations: 235.1 kB / 0.7871 GB, free: 2.105 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.0005105/0.01875, allocations: 345.3 kB / 0.7874 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.01908, allocations: 213 kB / 0.7876 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.01909, allocations: 0 / 0.7876 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.01926, allocations: 137.5 kB / 0.7877 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.01945, allocations: 39.91 kB / 0.7878 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009502/0.0204, allocations: 0.5324 MB / 0.7883 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.02053, allocations: 159.6 kB / 0.7884 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.02069, allocations: 107.3 kB / 0.7886 GB, free: 496 kB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/0.02069, allocations: 3.938 kB / 0.7886 GB, free: 492 kB / 0.7448 GB Notification: Performance of Templates: time 0.00765/0.02834, allocations: 5.626 MB / 0.794 GB, free: 10.85 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.976754669100046]