Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",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.001556/0.001556, 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.0018/0.0018, allocations: 192.7 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.64/1.64, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.856/1.856, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001429/0.001429, allocations: 65.97 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2568, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002356/0.2592, allocations: 0.9075 MB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.2627, allocations: 2.515 MB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.2628, allocations: 0 / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.005e-05/0.2629, allocations: 15.75 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.2632, allocations: 51.62 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.2643, allocations: 0.4944 MB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.2647, allocations: 311.1 kB / 0.7877 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.2647, allocations: 9.688 kB / 0.7877 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.265, allocations: 147.6 kB / 0.7878 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.2652, allocations: 151.5 kB / 0.788 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.2653, allocations: 24 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005711/0.2658, allocations: 311.8 kB / 0.7883 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.2659, allocations: 71.78 kB / 0.7884 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.2661, allocations: 111.5 kB / 0.7885 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.2668, allocations: 0.5416 MB / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2668, allocations: 0 / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2668, allocations: 0 / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2668, allocations: 0 / 0.789 GB, free: 7.723 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.001404/0.2682, allocations: 0.6645 MB / 0.7896 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.2683, allocations: 12.03 kB / 0.7896 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.141e-05/0.2683, allocations: 50.67 kB / 0.7897 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.05e-05/0.2684, allocations: 20.75 kB / 0.7897 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.2686, allocations: 204.6 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.2687, allocations: 135.3 kB / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.2688, allocations: 20.38 kB / 0.7901 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.2692, allocations: 243.6 kB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2692, allocations: 0 / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.2692, allocations: 8 kB / 0.7903 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2692, allocations: 4 kB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.2695, allocations: 111.7 kB / 0.7904 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.2699, allocations: 391.2 kB / 0.7908 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.2713, allocations: 495.3 kB / 0.7913 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.2716, allocations: 158.3 kB / 0.7914 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.2716, allocations: 23.84 kB / 0.7914 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004632/0.2721, allocations: 311.6 kB / 0.7917 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.724e-06/0.2721, allocations: 0 / 0.7917 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008047/0.2729, allocations: 413.6 kB / 0.7921 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.2731, allocations: 354.1 kB / 0.7925 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.2732, allocations: 167.1 kB / 0.7926 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.2733, allocations: 41.7 kB / 0.7927 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.2733, allocations: 97.05 kB / 0.7928 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2735, allocations: 118.5 kB / 0.7929 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.2736, allocations: 102.1 kB / 0.793 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2737, allocations: 326.8 kB / 0.7933 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.274, allocations: 117 kB / 0.7934 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.2743, allocations: 176.9 kB / 0.7936 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.2749, allocations: 266.2 kB / 0.7938 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2749, allocations: 0 / 0.7938 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007797/0.2757, allocations: 376.9 kB / 0.7942 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2757, allocations: 6.656 kB / 0.7942 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2758, allocations: 4 kB / 0.7942 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.2758, allocations: 4 kB / 0.7942 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.2762, allocations: 79.88 kB / 0.7943 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.2762, allocations: 7.938 kB / 0.7943 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.2765, allocations: 51.56 kB / 0.7943 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.2766, allocations: 23.98 kB / 0.7943 GB, free: 1.66 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.0002225/0.2768, allocations: 145.8 kB / 0.7945 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.2769, allocations: 27.75 kB / 0.7945 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007595/0.2777, allocations: 358.1 kB / 0.7948 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.2777, allocations: 8 kB / 0.7949 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.2777, allocations: 11.98 kB / 0.7949 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.2777, allocations: 4 kB / 0.7949 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.2782, allocations: 357 kB / 0.7952 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.2782, allocations: 4 kB / 0.7952 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.2785, allocations: 75.78 kB / 0.7953 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.2785, allocations: 4 kB / 0.7953 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.2786, allocations: 19.98 kB / 0.7953 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.2786, allocations: 7.938 kB / 0.7953 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.2786, allocations: 4 kB / 0.7953 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.2794, allocations: 0.4982 MB / 0.7958 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.2796, allocations: 152.6 kB / 0.796 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.2796, allocations: 16 kB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.2799, allocations: 23.97 kB / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.28, allocations: 59.81 kB / 0.796 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.28, allocations: 27.98 kB / 0.7961 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001102/0.2801, allocations: 128.8 kB / 0.7962 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2801, allocations: 0 / 0.7962 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006207/0.2808, allocations: 215.7 kB / 0.7964 GB, free: 15.41 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.001437/0.2822, allocations: 1.244 MB / 0.7976 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007864/0.283, allocations: 355.5 kB / 0.798 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.283, allocations: 0 / 0.798 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.2833, allocations: 187.7 kB / 0.7981 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.2836, allocations: 31.94 kB / 0.7982 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.2874, allocations: 2.751 MB / 0.8009 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2878, allocations: 0.7687 MB / 0.8016 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.288, allocations: 59.23 kB / 0.8017 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.2882, allocations: 95.39 kB / 0.8017 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of SimCode: time 1.232e-06/0.2882, allocations: 0 / 0.8017 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3143, allocations: 7.77 MB / 0.8093 GB, free: 2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.112, allocations: 11.67 kB / 0.8093 GB, free: 1.988 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)