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.628/1.628, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001074/0.001074, allocations: 181 kB / 371.8 MB, free: 10.24 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.022/2.022, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.0009014/0.0009013, allocations: 99.11 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 11.41 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1983, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.0007729/0.1991, allocations: 0.5797 MB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.2013, allocations: 2.346 MB / 0.9823 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.2014, allocations: 3.938 kB / 0.9823 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.2014, allocations: 3.938 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.2016, allocations: 55.83 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.2023, allocations: 367 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.2024, allocations: 179.6 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.2025, allocations: 21.61 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.2026, allocations: 135.6 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2028, allocations: 135.6 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.2028, allocations: 16 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.2032, allocations: 275.7 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.2032, allocations: 59.78 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.2033, allocations: 57.64 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.2036, allocations: 379.1 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2036, allocations: 0 / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2036, allocations: 0 / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2037, allocations: 0 / 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.001093/0.2048, allocations: 0.6224 MB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2048, allocations: 8.031 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.2048, allocations: 58.48 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.2049, allocations: 19.81 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.916e-05/0.205, allocations: 197.8 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.2051, allocations: 122.8 kB / 0.985 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.2052, allocations: 24 kB / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.2054, allocations: 243.6 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2055, allocations: 3.938 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.2055, allocations: 8 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2055, allocations: 4 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.2057, allocations: 123.7 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006363/0.2063, allocations: 0.955 MB / 0.9863 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.2076, allocations: 0.4918 MB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2076, allocations: 11.98 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.2079, allocations: 300.1 kB / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.2079, allocations: 0 / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.000612/0.2085, allocations: 402.2 kB / 0.9874 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.2087, allocations: 354.1 kB / 0.9878 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2088, allocations: 181.1 kB / 0.9879 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2088, allocations: 37.7 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.2089, allocations: 104.9 kB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.2089, allocations: 118.5 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.209, allocations: 4 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.209, allocations: 338.8 kB / 0.9885 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.2092, allocations: 101.1 kB / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.2095, allocations: 180.3 kB / 0.9888 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.2097, allocations: 116.7 kB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2097, allocations: 0 / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005788/0.2103, allocations: 372.9 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2103, allocations: 4 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2103, allocations: 4 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2103, allocations: 7.953 kB / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.2107, allocations: 79.88 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2107, allocations: 7.938 kB / 0.9894 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.211, allocations: 63.78 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.2111, allocations: 23.98 kB / 0.9894 GB, free: 16.8 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.0001133/0.2112, allocations: 145.8 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.2112, allocations: 27.7 kB / 0.9896 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.2118, allocations: 370 kB / 0.99 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2118, allocations: 8 kB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.2118, allocations: 7.953 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.2118, allocations: 7.984 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.2121, allocations: 349.1 kB / 0.9903 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2121, allocations: 4.375 kB / 0.9903 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.2124, allocations: 75.84 kB / 0.9904 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2124, allocations: 7.984 kB / 0.9904 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.2124, allocations: 12 kB / 0.9904 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2124, allocations: 7.938 kB / 0.9904 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2124, allocations: 4.188 kB / 0.9904 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.213, allocations: 0.6255 MB / 0.991 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2131, allocations: 148.6 kB / 0.9912 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.2132, allocations: 12 kB / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.2134, allocations: 35.97 kB / 0.9912 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.2135, allocations: 59.83 kB / 0.9913 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.2136, allocations: 23.98 kB / 0.9913 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.2136, allocations: 123.2 kB / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.42e-07/0.2136, allocations: 0 / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004927/0.2141, allocations: 211.7 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.001069/0.2152, allocations: 2.11 MB / 0.9937 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.2157, allocations: 307.6 kB / 0.994 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2157, allocations: 0 / 0.994 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.2159, allocations: 183.7 kB / 0.9941 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.2161, allocations: 28.83 kB / 0.9942 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2173, allocations: 2.053 MB / 0.9962 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.2175, allocations: 0.7652 MB / 0.9969 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.2177, allocations: 57.06 kB / 0.997 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.2178, allocations: 96.12 kB / 0.9971 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2178, allocations: 0 / 0.9971 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.235, allocations: 7.204 MB / 1.004 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.2352, allocations: 215.9 kB / 1.004 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.337, allocations: 7.938 kB / 1.004 GB, free: 1.309 MB / 0.6198 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)