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.00179/0.00179, allocations: 108 kB / 15.61 MB, free: 152 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.002166/0.002166, allocations: 192.6 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.593/1.593, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.819/1.819, 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.001776/0.001777, allocations: 73.05 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2518, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002524/0.2544, allocations: 0.9153 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003596/0.258, allocations: 2.512 MB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.2583, allocations: 11.94 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.153e-05/0.2584, allocations: 15.8 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004363/0.2589, allocations: 43.62 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.2606, allocations: 0.4944 MB / 0.7874 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.2611, allocations: 311.1 kB / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.2612, allocations: 21.66 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.2614, allocations: 135.7 kB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.2617, allocations: 155.5 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.406e-05/0.2618, allocations: 24 kB / 0.788 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007612/0.2626, allocations: 307.8 kB / 0.7883 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2627, allocations: 71.78 kB / 0.7884 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.2628, allocations: 115.5 kB / 0.7885 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.2639, allocations: 0.5494 MB / 0.789 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.2639, allocations: 3.984 kB / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2639, allocations: 0 / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.2639, allocations: 0 / 0.789 GB, free: 7.688 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.001678/0.2656, allocations: 0.6528 MB / 0.7896 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.2656, allocations: 12.02 kB / 0.7897 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.833e-05/0.2657, allocations: 58.61 kB / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.2658, allocations: 20.75 kB / 0.7897 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.2661, allocations: 188.8 kB / 0.7899 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.2663, allocations: 131.4 kB / 0.79 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.2663, allocations: 20.31 kB / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.2667, allocations: 243.7 kB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2667, allocations: 0 / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.2668, allocations: 8 kB / 0.7903 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2668, allocations: 4 kB / 0.7903 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.267, allocations: 123.7 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.2675, allocations: 387.2 kB / 0.7908 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.269, allocations: 491.3 kB / 0.7913 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.2692, allocations: 162.3 kB / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.2693, allocations: 15.92 kB / 0.7914 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000584/0.2699, allocations: 315.6 kB / 0.7917 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.955e-06/0.2699, allocations: 0 / 0.7917 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0009531/0.2708, allocations: 409.7 kB / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002108/0.2711, allocations: 354.6 kB / 0.7925 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.2713, allocations: 169.4 kB / 0.7926 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.2713, allocations: 37.7 kB / 0.7927 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.2714, allocations: 109 kB / 0.7928 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.2716, allocations: 106.5 kB / 0.7929 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.2718, allocations: 102.1 kB / 0.793 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2719, allocations: 330.8 kB / 0.7933 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.2722, allocations: 121.2 kB / 0.7934 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.2726, allocations: 169.7 kB / 0.7936 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.2732, allocations: 269.2 kB / 0.7938 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2732, allocations: 0 / 0.7938 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008099/0.274, allocations: 380.9 kB / 0.7942 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.2741, allocations: 6.656 kB / 0.7942 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2741, allocations: 0 / 0.7942 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2741, allocations: 4 kB / 0.7942 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.2745, allocations: 79.81 kB / 0.7943 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2745, allocations: 4 kB / 0.7943 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.2748, allocations: 55.56 kB / 0.7943 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.2749, allocations: 19.98 kB / 0.7943 GB, free: 1.648 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.0001845/0.2751, allocations: 158.4 kB / 0.7945 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.2752, allocations: 27.73 kB / 0.7945 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007083/0.2759, allocations: 362 kB / 0.7949 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.2759, allocations: 8 kB / 0.7949 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.2759, allocations: 4 kB / 0.7949 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.276, allocations: 3.984 kB / 0.7949 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.2764, allocations: 353.1 kB / 0.7952 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.2765, allocations: 0 / 0.7952 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.2768, allocations: 79.77 kB / 0.7953 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.2768, allocations: 4 kB / 0.7953 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.2768, allocations: 16.25 kB / 0.7953 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.2768, allocations: 16 kB / 0.7953 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2769, allocations: 4 kB / 0.7953 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/0.2777, allocations: 0.4899 MB / 0.7958 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.2779, allocations: 144.6 kB / 0.7959 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.278, allocations: 19.98 kB / 0.796 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.2782, allocations: 27.97 kB / 0.796 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2784, allocations: 55.83 kB / 0.796 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.2784, allocations: 27.98 kB / 0.7961 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001002/0.2785, allocations: 128.8 kB / 0.7962 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2785, allocations: 0 / 0.7962 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000617/0.2791, allocations: 219.7 kB / 0.7964 GB, free: 15.4 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.001569/0.2807, allocations: 1.249 MB / 0.7976 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007506/0.2815, allocations: 355.5 kB / 0.798 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2815, allocations: 3.938 kB / 0.798 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.2818, 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.0003032/0.2821, allocations: 38.36 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.003753/0.2859, allocations: 2.754 MB / 0.8009 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2862, allocations: 0.761 MB / 0.8016 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.2864, allocations: 55.69 kB / 0.8017 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.2866, allocations: 95.39 kB / 0.8018 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of SimCode: time 8.22e-07/0.2866, allocations: 0 / 0.8018 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.3146, allocations: 7.8 MB / 0.8094 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/8.094, allocations: 7.078 kB / 0.8094 GB, free: 2.004 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.csv --start-time 43200 --stop-time 345600 --timeout 50 --relative-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)