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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",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.603/1.603, allocations: 288.2 MB / 303.2 MB, free: 8.207 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.001051/0.001051, allocations: 181.1 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 0.6305 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000987/0.0009869, allocations: 99.84 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 15.56 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2172, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.0009841/0.2182, allocations: 0.5874 MB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.2204, allocations: 2.33 MB / 0.9823 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.2204, allocations: 7.938 kB / 0.9823 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.2205, allocations: 3.938 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.2207, allocations: 55.83 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.2213, allocations: 363 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.2215, allocations: 175.7 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.291e-05/0.2216, allocations: 13.62 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.2217, allocations: 151.5 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.2219, allocations: 135.6 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.2219, allocations: 12 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.2223, allocations: 271.7 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.2224, allocations: 55.8 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.2225, allocations: 61.62 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.2229, allocations: 383.1 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2229, allocations: 0 / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.223, allocations: 0 / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.361e-06/0.223, allocations: 4 kB / 0.984 GB, free: 22.97 MB / 0.6198 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.001294/0.2243, allocations: 0.6224 MB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.2243, allocations: 12.03 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.2244, allocations: 54.47 kB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.2245, allocations: 19.81 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.2247, allocations: 190.7 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.2248, allocations: 126.8 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.2249, allocations: 24 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.2252, allocations: 247.6 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2253, allocations: 0 / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.2253, allocations: 11.98 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2253, allocations: 4 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.2256, allocations: 119.7 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000895/0.2265, allocations: 0.955 MB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.2278, allocations: 495.6 kB / 0.9867 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.2279, allocations: 12 kB / 0.9868 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004378/0.2283, allocations: 308 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.305e-06/0.2284, allocations: 0 / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0007374/0.2291, allocations: 410.5 kB / 0.9874 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.2293, allocations: 350.1 kB / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.2294, allocations: 173.6 kB / 0.9879 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.2294, allocations: 49.69 kB / 0.988 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.2295, allocations: 105 kB / 0.9881 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.699e-05/0.2296, allocations: 106.5 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.2297, allocations: 15.94 kB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.2297, allocations: 326.8 kB / 0.9885 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.23, allocations: 109 kB / 0.9886 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.2302, allocations: 172.4 kB / 0.9888 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.2305, allocations: 123.8 kB / 0.9889 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2305, allocations: 0 / 0.9889 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005833/0.2311, allocations: 373.2 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2311, allocations: 8 kB / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2311, allocations: 4 kB / 0.9893 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2311, allocations: 7.953 kB / 0.9893 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.2315, allocations: 75.88 kB / 0.9893 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.2315, allocations: 7.938 kB / 0.9894 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.2318, allocations: 55.66 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.2318, allocations: 27.97 kB / 0.9894 GB, free: 16.79 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.232, allocations: 153.8 kB / 0.9896 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.232, allocations: 23.72 kB / 0.9896 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005631/0.2326, allocations: 374 kB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2326, allocations: 8 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/0.2326, allocations: 7.953 kB / 0.99 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.2326, allocations: 7.984 kB / 0.99 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.2329, allocations: 345.1 kB / 0.9903 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2329, allocations: 4 kB / 0.9903 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.2332, allocations: 79.83 kB / 0.9904 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2332, allocations: 4 kB / 0.9904 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.2332, allocations: 20.38 kB / 0.9904 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.2332, allocations: 7.984 kB / 0.9904 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2332, allocations: 8 kB / 0.9904 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.2338, allocations: 0.6019 MB / 0.991 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.2339, allocations: 148.6 kB / 0.9912 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.234, allocations: 16 kB / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.2342, allocations: 43.97 kB / 0.9912 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.2343, allocations: 51.83 kB / 0.9913 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.2343, allocations: 23.98 kB / 0.9913 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.92e-05/0.2344, allocations: 127.2 kB / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2344, allocations: 0 / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005169/0.2349, allocations: 207.8 kB / 0.9916 GB, free: 14.36 MB / 0.6198 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) * 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 (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.001169/0.2361, allocations: 2.114 MB / 0.9937 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.2367, allocations: 312.5 kB / 0.994 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2367, allocations: 4 kB / 0.994 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.2369, allocations: 181 kB / 0.9941 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.2371, allocations: 32.81 kB / 0.9942 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.2384, allocations: 2.059 MB / 0.9962 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.2386, allocations: 0.7652 MB / 0.9969 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000212/0.2388, allocations: 52.7 kB / 0.997 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.2389, allocations: 99.38 kB / 0.9971 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.2389, allocations: 0 / 0.9971 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.2553, allocations: 7.186 MB / 1.004 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.2555, allocations: 217 kB / 1.004 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.17, allocations: 0 / 1.004 GB, free: 1.305 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)