Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.001089, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 222.4 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 66.73 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1968, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002213/0.1991, allocations: 0.9152 MB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.2024, allocations: 2.515 MB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.2026, allocations: 4 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.129e-05/0.2027, allocations: 15.8 kB / 0.7868 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.2031, allocations: 47.56 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.2048, allocations: 0.4983 MB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.2054, allocations: 323.1 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.2055, allocations: 9.688 kB / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.2058, allocations: 135.6 kB / 0.7878 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.2062, allocations: 151.5 kB / 0.788 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.98e-05/0.2063, allocations: 24 kB / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007476/0.207, allocations: 311.8 kB / 0.7883 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.9e-05/0.2071, allocations: 71.8 kB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2073, allocations: 123.5 kB / 0.7885 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.2083, allocations: 0.5455 MB / 0.789 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2083, allocations: 0 / 0.789 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2083, allocations: 0 / 0.789 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.2083, allocations: 0 / 0.789 GB, free: 7.664 MB / 0.6075 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.001384/0.2097, allocations: 0.6644 MB / 0.7897 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2098, allocations: 8.031 kB / 0.7897 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.325e-05/0.2098, allocations: 46.73 kB / 0.7897 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.2099, allocations: 20.75 kB / 0.7897 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.21, allocations: 188.7 kB / 0.7899 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.2102, allocations: 131.4 kB / 0.79 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.2102, allocations: 16.38 kB / 0.79 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.2106, allocations: 247.6 kB / 0.7903 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2106, allocations: 0 / 0.7903 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.2106, allocations: 11.94 kB / 0.7903 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2106, allocations: 7.984 kB / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.2109, allocations: 123.7 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.2113, allocations: 387.2 kB / 0.7908 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.2126, allocations: 491.3 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.2129, allocations: 158.3 kB / 0.7914 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.2129, allocations: 23.86 kB / 0.7914 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004358/0.2134, allocations: 307.6 kB / 0.7917 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/0.2134, allocations: 0 / 0.7917 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007885/0.2142, allocations: 415 kB / 0.7921 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.2143, allocations: 358.1 kB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2145, allocations: 165.6 kB / 0.7926 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.2145, allocations: 45.69 kB / 0.7927 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.2146, allocations: 97.05 kB / 0.7928 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.869e-05/0.2147, allocations: 110.5 kB / 0.7929 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.2148, allocations: 98.12 kB / 0.793 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2149, allocations: 338.8 kB / 0.7933 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.2152, allocations: 113.1 kB / 0.7934 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.2155, allocations: 172.9 kB / 0.7936 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.216, allocations: 261.6 kB / 0.7938 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.216, allocations: 7.938 kB / 0.7938 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000745/0.2168, allocations: 380.5 kB / 0.7942 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2168, allocations: 4 kB / 0.7942 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2168, allocations: 0 / 0.7942 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2168, allocations: 4 kB / 0.7942 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.2172, allocations: 75.88 kB / 0.7943 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.2172, allocations: 3.938 kB / 0.7943 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.2175, allocations: 59.66 kB / 0.7943 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.2176, allocations: 19.98 kB / 0.7943 GB, free: 1.621 MB / 0.6075 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.0001567/0.2178, allocations: 158.4 kB / 0.7945 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.2178, allocations: 23.75 kB / 0.7945 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006655/0.2185, allocations: 362 kB / 0.7949 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2185, allocations: 8 kB / 0.7949 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.2185, allocations: 4 kB / 0.7949 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.2185, allocations: 7.984 kB / 0.7949 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.2189, allocations: 353 kB / 0.7952 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2189, allocations: 4.312 kB / 0.7952 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.2192, allocations: 71.89 kB / 0.7953 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.2192, allocations: 16 kB / 0.7953 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.2193, allocations: 8 kB / 0.7953 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.2193, allocations: 15.92 kB / 0.7953 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2193, allocations: 4 kB / 0.7953 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.22, allocations: 0.4938 MB / 0.7958 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.2201, allocations: 144.6 kB / 0.7959 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.2202, allocations: 15.98 kB / 0.796 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.2204, allocations: 35.97 kB / 0.796 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2206, allocations: 51.83 kB / 0.796 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.2206, allocations: 23.98 kB / 0.7961 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001071/0.2207, allocations: 132.8 kB / 0.7962 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2207, allocations: 0 / 0.7962 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00058/0.2213, allocations: 215.7 kB / 0.7964 GB, free: 15.38 MB / 0.6231 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.001539/0.2228, allocations: 1.245 MB / 0.7976 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007512/0.2236, allocations: 359.5 kB / 0.798 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.2236, allocations: 4 kB / 0.798 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.2239, allocations: 187.8 kB / 0.7981 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.2243, allocations: 40.86 kB / 0.7982 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.2279, allocations: 2.748 MB / 0.8009 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2282, allocations: 0.7649 MB / 0.8016 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000212/0.2285, allocations: 50.31 kB / 0.8017 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.2286, allocations: 107.3 kB / 0.8018 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.2286, allocations: 0 / 0.8018 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.2536, allocations: 7.792 MB / 0.8094 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/7.915, allocations: 14.56 kB / 0.8094 GB, free: 1.977 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)