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.001301/0.001301, allocations: 80.8 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.001401/0.001401, allocations: 165 kB / 24.17 MB, free: 336 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.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.062 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.094/2.094, allocations: 389.6 MB / 0.6354 GB, free: 12.24 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.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.315e-06/2.315e-06, allocations: 0 / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.208e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001606/0.001628, allocations: 0.9157 MB / 0.7761 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.004004, allocations: 2.48 MB / 0.7785 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.00408, allocations: 4.781 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.004117, allocations: 15.8 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.0043, allocations: 49.97 kB / 0.7786 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.005039, allocations: 483.3 kB / 0.779 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.005298, allocations: 323 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.005341, allocations: 10.41 kB / 0.7793 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.005611, allocations: 202.4 kB / 0.7795 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.005757, allocations: 127.7 kB / 0.7796 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.005792, allocations: 20 kB / 0.7797 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005376/0.00633, allocations: 427.5 kB / 0.7801 GB, free: 396 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.006382, allocations: 65.03 kB / 0.7801 GB, free: 332 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.006458, allocations: 87.78 kB / 0.7802 GB, free: 244 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.007018, allocations: 0.5841 MB / 0.7808 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.007021, allocations: 3.938 kB / 0.7808 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007022, allocations: 1.625 kB / 0.7808 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.007026, allocations: 0 / 0.7808 GB, free: 15.65 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.0007145/0.00774, allocations: 0.5757 MB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.007773, allocations: 9.844 kB / 0.7814 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006297/0.008402, allocations: 134.9 kB / 0.7815 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.008502, allocations: 143.8 kB / 0.7816 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.008619, allocations: 231.4 kB / 0.7819 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.008645, allocations: 16.38 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.008828, allocations: 205.1 kB / 0.7821 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.00884, allocations: 1.062 kB / 0.7821 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.008858, allocations: 16.11 kB / 0.7821 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.008865, allocations: 7.938 kB / 0.7821 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.817e-05/0.008953, allocations: 68.61 kB / 0.7822 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.009176, allocations: 195.8 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.009849, allocations: 421.7 kB / 0.7827 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.009941, allocations: 111.7 kB / 0.7828 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.009969, allocations: 16.7 kB / 0.7829 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.01021, allocations: 279.4 kB / 0.7831 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.364e-06/0.01021, allocations: 0.6875 kB / 0.7831 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0003216/0.01053, allocations: 249.5 kB / 0.7834 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.01064, allocations: 350.1 kB / 0.7837 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.01074, allocations: 165.8 kB / 0.7839 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.01077, allocations: 41.7 kB / 0.7839 GB, free: 12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.01081, allocations: 105.1 kB / 0.784 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/0.01088, allocations: 116.2 kB / 0.7841 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/0.01097, allocations: 94.11 kB / 0.7842 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.01105, allocations: 330.8 kB / 0.7845 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.01115, allocations: 67.47 kB / 0.7846 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.185e-05/0.01124, allocations: 100.4 kB / 0.7847 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.01143, allocations: 173.5 kB / 0.7848 GB, free: 11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01143, allocations: 0.8438 kB / 0.7848 GB, free: 11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002358/0.01167, allocations: 221.4 kB / 0.7851 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01168, allocations: 11.98 kB / 0.7851 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01169, allocations: 0 / 0.7851 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.0117, allocations: 4 kB / 0.7851 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.01193, allocations: 95.23 kB / 0.7852 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01193, allocations: 3.938 kB / 0.7852 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01204, allocations: 43.77 kB / 0.7852 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.01206, 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.0001003/0.01216, allocations: 153.6 kB / 0.7854 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.0122, allocations: 27.98 kB / 0.7854 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.01252, allocations: 261.7 kB / 0.7856 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.01252, allocations: 8 kB / 0.7856 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.01253, allocations: 5.125 kB / 0.7857 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.01254, allocations: 11.92 kB / 0.7857 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.01275, allocations: 186 kB / 0.7858 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.01276, allocations: 4.906 kB / 0.7858 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.01293, allocations: 83.83 kB / 0.7859 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.01293, allocations: 6.25 kB / 0.7859 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.01295, allocations: 12 kB / 0.7859 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.01296, allocations: 11.98 kB / 0.786 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01296, allocations: 4.188 kB / 0.786 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.01326, allocations: 337.5 kB / 0.7863 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.01337, allocations: 55.69 kB / 0.7863 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.0134, allocations: 22.7 kB / 0.7864 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01351, allocations: 27.98 kB / 0.7864 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.01359, allocations: 51.84 kB / 0.7864 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.01361, allocations: 12 kB / 0.7864 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.01364, allocations: 49.33 kB / 0.7865 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01364, allocations: 3.938 kB / 0.7865 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004096/0.01405, allocations: 232.6 kB / 0.7867 GB, free: 9.008 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.0004359/0.01449, allocations: 349.2 kB / 0.787 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.01478, allocations: 214.1 kB / 0.7873 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.01478, allocations: 4 kB / 0.7873 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.01492, allocations: 143.7 kB / 0.7874 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.0151, allocations: 31.98 kB / 0.7874 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008671/0.01596, allocations: 0.5193 MB / 0.7879 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.01602, allocations: 94.48 kB / 0.788 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.01615, allocations: 58.06 kB / 0.7881 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.01629, allocations: 107.3 kB / 0.7882 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.01629, allocations: 1.031 kB / 0.7882 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of Templates: time 0.007824/0.02412, allocations: 6.427 MB / 0.7945 GB, free: 1.145 MB / 0.7448 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 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.314296277239919]