Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 285.4 MB / 298 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009887/0.0009887, allocations: 176.9 kB / 366.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.1 MB / 0.6248 GB, free: 7.723 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008503/0.00085, allocations: 89.91 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.431e-05, allocations: 8 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7734/0.7734, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2056/0.979, allocations: 138.7 MB / 1.106 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.9793, allocations: 73.39 kB / 1.107 GB, free: 12.95 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.03233/1.012, allocations: 10.06 MB / 1.116 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.222e-06/1.012, allocations: 0 / 1.116 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.012, allocations: 8 kB / 1.116 GB, free: 2.941 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001254/1.013, allocations: 0.607 MB / 1.117 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.013, allocations: 8.031 kB / 1.117 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/1.013, allocations: 50.55 kB / 1.117 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/1.013, allocations: 15.81 kB / 1.117 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/1.013, allocations: 198.7 kB / 1.117 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/1.014, allocations: 130.7 kB / 1.117 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/1.014, allocations: 23.92 kB / 1.117 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/1.014, allocations: 247.7 kB / 1.118 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/1.014, allocations: 0 / 1.118 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/1.014, allocations: 8 kB / 1.118 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/1.014, allocations: 4 kB / 1.118 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/1.014, allocations: 115.8 kB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009239/1.015, allocations: 0.9511 MB / 1.119 GB, free: 360 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.017, allocations: 487.4 kB / 1.119 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/1.017, allocations: 159.1 kB / 1.119 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/1.017, allocations: 9.672 kB / 1.119 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004491/1.017, allocations: 303.9 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/1.017, allocations: 0 / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0006019/1.018, allocations: 313 kB / 1.12 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/1.018, allocations: 350.1 kB / 1.12 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.018, allocations: 160.5 kB / 1.12 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/1.018, allocations: 45.81 kB / 1.12 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/1.018, allocations: 105 kB / 1.121 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/1.018, allocations: 118.5 kB / 1.121 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/1.019, allocations: 4 kB / 1.121 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.019, allocations: 330.8 kB / 1.121 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/1.019, allocations: 93.11 kB / 1.121 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/1.019, allocations: 176.4 kB / 1.121 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/1.019, allocations: 107.2 kB / 1.121 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.019, allocations: 4 kB / 1.121 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005778/1.02, allocations: 344.4 kB / 1.122 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.02, allocations: 8 kB / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.02, allocations: 0 / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.02, allocations: 4 kB / 1.122 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/1.02, allocations: 83.81 kB / 1.122 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/1.02, allocations: 11.95 kB / 1.122 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/1.021, allocations: 51.66 kB / 1.122 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/1.021, allocations: 28.3 kB / 1.122 GB, free: 12.79 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.021, allocations: 144 kB / 1.122 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/1.021, allocations: 23.72 kB / 1.122 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006746/1.022, allocations: 353.9 kB / 1.122 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.022, allocations: 12.05 kB / 1.122 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.022, allocations: 3.984 kB / 1.122 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/1.022, allocations: 11.94 kB / 1.122 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/1.022, allocations: 357 kB / 1.123 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.022, allocations: 0 / 1.123 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/1.022, allocations: 79.83 kB / 1.123 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/1.022, allocations: 8 kB / 1.123 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/1.022, allocations: 12 kB / 1.123 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/1.022, allocations: 13.86 kB / 1.123 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.022, allocations: 3.938 kB / 1.123 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006947/1.023, allocations: 0.6058 MB / 1.123 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/1.023, allocations: 148.5 kB / 1.124 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/1.023, allocations: 20 kB / 1.124 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/1.024, allocations: 35.97 kB / 1.124 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.024, allocations: 51.89 kB / 1.124 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/1.024, allocations: 27.48 kB / 1.124 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.504e-05/1.024, allocations: 127.3 kB / 1.124 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.024, allocations: 0 / 1.124 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006894/1.025, allocations: 215.7 kB / 1.124 GB, free: 10.37 MB / 0.7292 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001669/1.026, allocations: 2.109 MB / 1.126 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005277/1.027, allocations: 308.9 kB / 1.126 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.027, allocations: 0 / 1.126 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/1.027, allocations: 172.3 kB / 1.127 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/1.027, allocations: 30.7 kB / 1.127 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/1.028, allocations: 0.5751 MB / 1.127 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/1.029, allocations: 0.7652 MB / 1.128 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00023/1.029, allocations: 53.66 kB / 1.128 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/1.029, allocations: 99.38 kB / 1.128 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/1.029, allocations: 0 / 1.128 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/1.05, allocations: 7.035 MB / 1.135 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/1.05, allocations: 196.1 kB / 1.135 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.97, allocations: 2.578 kB / 1.135 GB, free: 15.07 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)