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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 113.7 kB / 16.37 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 188.3 kB / 17.3 MB, free: 5.871 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.634/1.634, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.994/1.994, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001731/0.001731, allocations: 71.89 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.31, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002697/0.3127, allocations: 0.915 MB / 0.7857 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5684/0.8811, allocations: 2.506 MB / 0.7881 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.8813, allocations: 10.34 kB / 0.7882 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.48e-05/0.8814, allocations: 11.16 kB / 0.7882 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.8817, allocations: 49.73 kB / 0.7882 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.8829, allocations: 0.4899 MB / 0.7887 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.8831, allocations: 319.2 kB / 0.789 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.8832, allocations: 11.2 kB / 0.789 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.8834, allocations: 145.4 kB / 0.7891 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.8836, allocations: 150 kB / 0.7893 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.8836, allocations: 26.59 kB / 0.7893 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000525/0.8842, allocations: 375.7 kB / 0.7897 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.8842, allocations: 66.7 kB / 0.7897 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.8844, allocations: 116.4 kB / 0.7898 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.8849, allocations: 0.549 MB / 0.7904 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8849, allocations: 0 / 0.7904 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8849, allocations: 0 / 0.7904 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.8849, allocations: 0 / 0.7904 GB, free: 46.26 MB / 0.6544 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.001204/0.8862, allocations: 0.6637 MB / 0.791 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.8862, allocations: 10.97 kB / 0.791 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.634e-05/0.8863, allocations: 21.81 kB / 0.7911 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.818e-05/0.8864, allocations: 194.8 kB / 0.7912 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.8865, allocations: 130 kB / 0.7914 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.8866, allocations: 20.62 kB / 0.7914 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.8869, allocations: 242 kB / 0.7916 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.8869, allocations: 0.5 kB / 0.7916 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.8869, allocations: 9.047 kB / 0.7916 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.8869, allocations: 9.188 kB / 0.7916 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.8871, allocations: 115.6 kB / 0.7918 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.8875, allocations: 394.4 kB / 0.7921 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.8887, allocations: 0.4898 MB / 0.7926 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.8889, allocations: 157.8 kB / 0.7928 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.8889, allocations: 13.05 kB / 0.7928 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003759/0.8893, allocations: 316.8 kB / 0.7931 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.8893, allocations: 0 / 0.7931 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0007139/0.8901, allocations: 409.5 kB / 0.7935 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.8901, allocations: 349.8 kB / 0.7938 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.8903, allocations: 168.5 kB / 0.794 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.8903, allocations: 42.16 kB / 0.794 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.8903, allocations: 101.6 kB / 0.7941 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.8904, allocations: 107.8 kB / 0.7942 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.8905, allocations: 98.8 kB / 0.7943 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.8906, allocations: 330 kB / 0.7946 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.8908, allocations: 119.8 kB / 0.7947 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.8911, allocations: 168.7 kB / 0.7949 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.8916, allocations: 268.5 kB / 0.7951 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8916, allocations: 3.938 kB / 0.7951 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000645/0.8922, allocations: 376.8 kB / 0.7955 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8923, allocations: 10.88 kB / 0.7955 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.8923, allocations: 0 / 0.7955 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.8923, allocations: 4.625 kB / 0.7955 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.8927, allocations: 77.48 kB / 0.7956 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.8927, allocations: 3.281 kB / 0.7956 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.893, allocations: 52.48 kB / 0.7956 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.893, allocations: 20.22 kB / 0.7957 GB, free: 43.28 MB / 0.6544 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.0001203/0.8931, allocations: 162.5 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.8932, allocations: 25.27 kB / 0.7958 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/0.8938, allocations: 356.1 kB / 0.7962 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.8938, allocations: 7.281 kB / 0.7962 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8938, allocations: 3.438 kB / 0.7962 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.8939, allocations: 150 kB / 0.7963 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.894, allocations: 16.66 kB / 0.7963 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.8942, allocations: 31.52 kB / 0.7964 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.8943, allocations: 52.81 kB / 0.7964 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007988/0.8951, allocations: 1.351 MB / 0.7977 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006923/0.8958, allocations: 1.392 MB / 0.7991 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002138/0.8961, allocations: 166.7 kB / 0.7993 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.8961, allocations: 133.4 kB / 0.7994 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of Backend: time 4.71e-07/0.8961, allocations: 0 / 0.7994 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.8981, allocations: 487.2 kB / 0.7999 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006479/0.8988, allocations: 0.8083 MB / 0.8006 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.01167/0.9104, allocations: 5.789 MB / 0.8063 GB, free: 39.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)