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.001157/0.001157, allocations: 109.4 kB / 15.69 MB, free: 124 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.001146/0.001146, allocations: 188.7 kB / 16.62 MB, free: 6.613 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.387/1.387, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.736/1.736, allocations: 292.3 MB / 0.549 GB, free: 12.7 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.002993/0.002993, allocations: 70.62 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2717, allocations: 114.5 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002421/0.2742, allocations: 0.9057 MB / 0.7845 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.2774, allocations: 2.519 MB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.2775, allocations: 3.938 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.746e-05/0.2776, allocations: 15.81 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.2779, allocations: 47.61 kB / 0.787 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2791, allocations: 0.5011 MB / 0.7875 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.2794, allocations: 311.1 kB / 0.7878 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.2795, allocations: 21.67 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.2798, allocations: 135.6 kB / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.28, allocations: 151.5 kB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.076e-05/0.2801, allocations: 24 kB / 0.7882 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006422/0.2807, allocations: 375.7 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.2808, allocations: 63.8 kB / 0.7886 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.2809, allocations: 127.5 kB / 0.7887 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006384/0.2816, allocations: 0.5455 MB / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2816, allocations: 0 / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2816, allocations: 0 / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2816, allocations: 4 kB / 0.7892 GB, free: 7.445 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.00135/0.283, allocations: 0.6644 MB / 0.7899 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.283, allocations: 12.03 kB / 0.7899 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.2831, allocations: 46.73 kB / 0.7899 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/0.2832, allocations: 20.75 kB / 0.79 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.2833, allocations: 192.7 kB / 0.7901 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.2835, allocations: 127.4 kB / 0.7903 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.2835, allocations: 20.38 kB / 0.7903 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.2839, allocations: 243.6 kB / 0.7905 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2839, allocations: 0 / 0.7905 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.2839, allocations: 4 kB / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2839, allocations: 11.94 kB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.2842, allocations: 115.8 kB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.2846, allocations: 383.2 kB / 0.791 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.286, allocations: 0.4914 MB / 0.7915 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.2863, allocations: 162.2 kB / 0.7916 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.2863, allocations: 15.94 kB / 0.7917 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000542/0.2869, allocations: 323.4 kB / 0.792 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 4.909e-06/0.2869, allocations: 0 / 0.792 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008339/0.2877, allocations: 422.1 kB / 0.7924 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001825/0.2879, allocations: 350.1 kB / 0.7927 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.2881, allocations: 165.4 kB / 0.7929 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.2882, allocations: 41.7 kB / 0.7929 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.2882, allocations: 101 kB / 0.793 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.2884, allocations: 106.8 kB / 0.7931 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.2885, allocations: 106.1 kB / 0.7932 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2887, allocations: 330.8 kB / 0.7935 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.289, allocations: 113.1 kB / 0.7936 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.2893, allocations: 165 kB / 0.7938 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.2898, allocations: 266.6 kB / 0.794 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2898, allocations: 0 / 0.794 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007386/0.2906, allocations: 376.5 kB / 0.7944 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2906, allocations: 8 kB / 0.7944 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2906, allocations: 0 / 0.7944 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.2906, allocations: 4 kB / 0.7944 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.291, allocations: 83.75 kB / 0.7945 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.291, allocations: 4 kB / 0.7945 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.2913, allocations: 55.56 kB / 0.7945 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.2914, allocations: 19.98 kB / 0.7946 GB, free: 1.395 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.0001593/0.2915, allocations: 158.4 kB / 0.7947 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.2916, allocations: 27.75 kB / 0.7947 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006299/0.2922, allocations: 354 kB / 0.7951 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.2922, allocations: 8 kB / 0.7951 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.2923, allocations: 4 kB / 0.7951 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.2923, allocations: 7.984 kB / 0.7951 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.2927, allocations: 349.1 kB / 0.7954 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.2927, allocations: 4 kB / 0.7954 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.2929, allocations: 80.14 kB / 0.7955 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.293, allocations: 4 kB / 0.7955 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.293, allocations: 20 kB / 0.7955 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.293, allocations: 11.92 kB / 0.7955 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.293, allocations: 11.94 kB / 0.7955 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.2938, allocations: 0.49 MB / 0.796 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.2939, allocations: 140.6 kB / 0.7962 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.294, allocations: 19.98 kB / 0.7962 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.2942, allocations: 31.97 kB / 0.7962 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2944, allocations: 51.89 kB / 0.7963 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.2944, allocations: 23.98 kB / 0.7963 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001071/0.2945, allocations: 128.8 kB / 0.7964 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2945, allocations: 4 kB / 0.7964 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005871/0.2951, allocations: 215.7 kB / 0.7966 GB, free: 15.15 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.001409/0.2965, allocations: 1.249 MB / 0.7978 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006781/0.2972, allocations: 338.7 kB / 0.7982 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2972, allocations: 0 / 0.7982 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.2975, allocations: 192 kB / 0.7983 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.2978, allocations: 31.94 kB / 0.7984 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.3016, allocations: 2.758 MB / 0.8011 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.302, allocations: 0.7611 MB / 0.8018 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.3022, allocations: 54.08 kB / 0.8019 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.3024, allocations: 99.38 kB / 0.802 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.3024, allocations: 0 / 0.802 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.3266, allocations: 7.816 MB / 0.8096 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.285, allocations: 10.84 kB / 0.8096 GB, free: 1.77 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)