Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.49/1.49, allocations: 287.4 MB / 302.6 MB, free: 8.246 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.000849/0.0008492, allocations: 178.6 kB / 371.1 MB, free: 10.81 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.257/1.257, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007244/0.0007248, allocations: 94.3 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003578, allocations: 11.56 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1839, allocations: 115.3 MB / 0.9788 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.0007624/0.1847, allocations: 0.5872 MB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.1867, allocations: 2.322 MB / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.1868, allocations: 0 / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.1868, allocations: 11.81 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.187, allocations: 43.75 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.1875, allocations: 370.9 kB / 0.982 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1877, allocations: 255.2 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.1878, allocations: 17.56 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.1879, allocations: 127.6 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1881, allocations: 135.5 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.1881, allocations: 12 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.1885, allocations: 271.7 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.1885, allocations: 55.84 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.1886, allocations: 61.58 kB / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.1889, allocations: 375.1 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1889, allocations: 4 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1889, allocations: 3.984 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.1889, allocations: 4 kB / 0.9833 GB, free: 23.43 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.0009894/0.1899, allocations: 0.6226 MB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.19, allocations: 8.031 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.19, allocations: 50.73 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.19, allocations: 20.75 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.1901, allocations: 188 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.1902, allocations: 127.4 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.1903, allocations: 24.36 kB / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1905, allocations: 259.4 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1906, allocations: 7.938 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1906, allocations: 4 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1906, allocations: 12 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.1908, allocations: 115.8 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.1914, allocations: 0.9473 MB / 0.9856 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.1926, allocations: 487.2 kB / 0.986 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1928, allocations: 162.3 kB / 0.9862 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.1928, allocations: 7.984 kB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.1932, allocations: 311.8 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 1.904e-06/0.1932, allocations: 0 / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0006003/0.1938, allocations: 398.5 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/0.1939, allocations: 358.6 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.194, allocations: 176.1 kB / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.194, allocations: 45.69 kB / 0.9874 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.1941, allocations: 101 kB / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.1941, allocations: 114.5 kB / 0.9876 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.1941, allocations: 12 kB / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.1942, allocations: 326.8 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.1944, allocations: 105.1 kB / 0.9881 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.1947, allocations: 188.3 kB / 0.9882 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.1951, allocations: 278.6 kB / 0.9885 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1951, allocations: 3.938 kB / 0.9885 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005903/0.1957, allocations: 365 kB / 0.9889 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.1957, allocations: 4 kB / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1957, allocations: 0 / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1957, allocations: 4 kB / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.1961, allocations: 83.94 kB / 0.989 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1961, allocations: 8 kB / 0.989 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.1964, allocations: 67.59 kB / 0.989 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.1964, allocations: 19.98 kB / 0.989 GB, free: 16.89 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 9.894e-05/0.1965, allocations: 157.9 kB / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.1966, allocations: 27.7 kB / 0.9892 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.1971, allocations: 354.1 kB / 0.9896 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1971, allocations: 12 kB / 0.9896 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1971, allocations: 8 kB / 0.9896 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1971, allocations: 7.922 kB / 0.9896 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.1974, allocations: 353 kB / 0.9899 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1974, allocations: 4 kB / 0.9899 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.1977, allocations: 75.83 kB / 0.99 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1977, allocations: 8.375 kB / 0.99 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.1977, allocations: 12 kB / 0.99 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1978, allocations: 8 kB / 0.99 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1978, allocations: 11.92 kB / 0.99 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.1982, allocations: 489.8 kB / 0.9905 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1984, allocations: 156.5 kB / 0.9907 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.1984, allocations: 12 kB / 0.9907 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1987, allocations: 39.97 kB / 0.9907 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.1987, allocations: 51.88 kB / 0.9908 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.1988, allocations: 23.98 kB / 0.9908 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.28e-05/0.1989, allocations: 127.2 kB / 0.9909 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1989, allocations: 0 / 0.9909 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005136/0.1994, allocations: 207.8 kB / 0.9911 GB, free: 14.66 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.0009622/0.2004, allocations: 1.237 MB / 0.9923 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.2008, allocations: 311.6 kB / 0.9926 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2008, allocations: 7.938 kB / 0.9926 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.201, allocations: 176.6 kB / 0.9928 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.2013, allocations: 35.92 kB / 0.9928 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.2031, allocations: 1.532 MB / 0.9943 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.2033, allocations: 0.7653 MB / 0.9951 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002363/0.2035, allocations: 53.81 kB / 0.9951 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.2037, allocations: 91.39 kB / 0.9952 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2037, allocations: 0 / 0.9952 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.2196, allocations: 7.21 MB / 1.002 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001163/0.2197, allocations: 226.8 kB / 1.002 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.061, allocations: 0 / 1.002 GB, free: 3.008 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)