Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 108 kB / 15.6 MB, free: 132 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.001243/0.001243, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.637/1.637, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.765/1.765, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001808/0.001808, allocations: 66.89 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2599, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002521/0.2625, allocations: 0.9256 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003587/0.2661, allocations: 2.516 MB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.2663, allocations: 3.938 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.554e-05/0.2664, allocations: 11.81 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.2668, allocations: 51.62 kB / 0.7869 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.2689, allocations: 0.4944 MB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006165/0.2695, allocations: 315.1 kB / 0.7877 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.2696, allocations: 21.61 kB / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.2701, allocations: 139.6 kB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.2705, allocations: 151.5 kB / 0.788 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.2706, allocations: 24 kB / 0.788 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.2717, allocations: 307.8 kB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.2718, allocations: 75.77 kB / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.272, allocations: 119.5 kB / 0.7885 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.2732, allocations: 0.5377 MB / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2733, allocations: 0 / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2733, allocations: 4 kB / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.2733, allocations: 0 / 0.789 GB, free: 7.684 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.001952/0.2753, allocations: 0.6567 MB / 0.7897 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/0.2753, allocations: 12.03 kB / 0.7897 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.954e-05/0.2754, allocations: 50.67 kB / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.2756, allocations: 20.75 kB / 0.7897 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.2758, allocations: 196.7 kB / 0.7899 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.276, allocations: 127.4 kB / 0.79 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.2761, allocations: 24.38 kB / 0.7901 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.2766, allocations: 243.6 kB / 0.7903 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.2767, allocations: 4 kB / 0.7903 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.2767, allocations: 4 kB / 0.7903 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.2767, allocations: 4 kB / 0.7903 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.2771, allocations: 115.7 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007144/0.2778, allocations: 387.2 kB / 0.7908 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.2798, allocations: 495.3 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.2801, allocations: 166.3 kB / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.2801, allocations: 11.92 kB / 0.7914 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007435/0.2809, allocations: 319.5 kB / 0.7917 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/0.2809, allocations: 4 kB / 0.7917 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.00122/0.2821, allocations: 405.8 kB / 0.7921 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002702/0.2824, allocations: 354.1 kB / 0.7925 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.2826, allocations: 165.4 kB / 0.7926 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.2827, allocations: 46.2 kB / 0.7927 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2828, allocations: 105 kB / 0.7928 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.283, allocations: 102.5 kB / 0.7929 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.2832, allocations: 102.1 kB / 0.793 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2834, allocations: 326.8 kB / 0.7933 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.2838, allocations: 125 kB / 0.7934 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.2843, allocations: 169 kB / 0.7936 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007738/0.285, allocations: 263.6 kB / 0.7938 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2851, allocations: 128 / 0.7938 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001093/0.2862, allocations: 380 kB / 0.7942 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.2862, allocations: 11.94 kB / 0.7942 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.2862, allocations: 0 / 0.7942 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/0.2863, allocations: 8 kB / 0.7942 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.2868, allocations: 79.81 kB / 0.7943 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.2869, allocations: 4 kB / 0.7943 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.2873, allocations: 51.56 kB / 0.7943 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.2874, allocations: 23.98 kB / 0.7943 GB, free: 1.637 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.0003074/0.2877, allocations: 146.4 kB / 0.7945 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.2879, allocations: 23.75 kB / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.289, allocations: 362.7 kB / 0.7948 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.289, allocations: 12.17 kB / 0.7949 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/0.289, allocations: 8 kB / 0.7949 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.2891, allocations: 7.984 kB / 0.7949 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.2898, allocations: 353 kB / 0.7952 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.2898, allocations: 4 kB / 0.7952 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.2902, allocations: 75.84 kB / 0.7953 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.078e-05/0.2903, allocations: 7.938 kB / 0.7953 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.2903, allocations: 15.98 kB / 0.7953 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.2904, allocations: 4.25 kB / 0.7953 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/0.2904, allocations: 4 kB / 0.7953 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.2916, allocations: 0.4978 MB / 0.7958 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.2919, allocations: 148.6 kB / 0.7959 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/0.292, allocations: 16 kB / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.2924, allocations: 31.97 kB / 0.796 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.2925, allocations: 51.81 kB / 0.796 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.2926, allocations: 27.98 kB / 0.7961 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001536/0.2928, allocations: 132.8 kB / 0.7962 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2928, allocations: 0 / 0.7962 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009976/0.2938, allocations: 219.7 kB / 0.7964 GB, free: 15.39 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.002417/0.2962, allocations: 1.237 MB / 0.7976 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.2973, allocations: 359.5 kB / 0.798 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.2974, allocations: 0 / 0.798 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.2978, allocations: 192.5 kB / 0.7981 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.2983, allocations: 34.38 kB / 0.7982 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.3039, allocations: 2.756 MB / 0.8009 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.3044, allocations: 0.761 MB / 0.8016 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003522/0.3047, allocations: 62.3 kB / 0.8017 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.305, allocations: 99.33 kB / 0.8018 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of SimCode: time 6.02e-07/0.305, allocations: 0 / 0.8018 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/0.3432, allocations: 7.802 MB / 0.8094 GB, free: 2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.248, allocations: 8.047 kB / 0.8094 GB, free: 1.992 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.csv --start-time -43200 --stop-time 259200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)