Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001036, allocations: 170.4 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008552/0.0008552, allocations: 89.11 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 11.88 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2677, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001055/0.2688, allocations: 0.6263 MB / 0.8974 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003147/0.272, allocations: 2.582 MB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.2722, allocations: 7.938 kB / 0.8999 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.315e-05/0.2723, allocations: 7.938 kB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.2727, allocations: 39.67 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.2743, allocations: 422.8 kB / 0.9004 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.2748, allocations: 299.1 kB / 0.9006 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.2749, allocations: 17.67 kB / 0.9007 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.2752, allocations: 135.5 kB / 0.9008 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.2755, allocations: 147.5 kB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.2756, allocations: 12 kB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007394/0.2763, allocations: 295.8 kB / 0.9012 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.2764, allocations: 59.83 kB / 0.9013 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2766, allocations: 111.5 kB / 0.9014 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.2777, allocations: 0.526 MB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2777, allocations: 4 kB / 0.9019 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.474e-06/0.2777, allocations: 0 / 0.9019 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.2778, allocations: 0 / 0.9019 GB, free: 62.87 MB / 0.6042 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.001411/0.2792, allocations: 0.6371 MB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.2792, allocations: 8.031 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.2794, allocations: 20.75 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2795, allocations: 192.8 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.2797, allocations: 135.3 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.2797, allocations: 20.31 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.28, allocations: 239.9 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2801, allocations: 0 / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.2801, allocations: 11.98 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.2801, allocations: 4 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.2803, allocations: 115.7 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.2807, allocations: 395.1 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.2819, allocations: 0.4954 MB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.2821, allocations: 158.3 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.2821, allocations: 8 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004112/0.2825, allocations: 308.2 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 5.28e-06/0.2826, allocations: 0 / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0007643/0.2833, allocations: 428.9 kB / 0.905 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/0.2834, allocations: 346.1 kB / 0.9053 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2836, allocations: 174 kB / 0.9055 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.2836, allocations: 41.7 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.2837, allocations: 93.14 kB / 0.9056 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.284e-05/0.2838, allocations: 114.8 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.2838, allocations: 49.7 kB / 0.9057 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.2839, allocations: 330.8 kB / 0.9061 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.2842, allocations: 117.1 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.2844, allocations: 168.9 kB / 0.9063 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.2849, allocations: 266.9 kB / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2849, allocations: 4 kB / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006488/0.2856, allocations: 378.8 kB / 0.9069 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2856, allocations: 8 kB / 0.907 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2856, allocations: 0 / 0.907 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2856, allocations: 7.984 kB / 0.907 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.286, allocations: 75.83 kB / 0.907 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.286, allocations: 4 kB / 0.907 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.2863, allocations: 55.66 kB / 0.9071 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.2863, allocations: 27.91 kB / 0.9071 GB, free: 56.95 MB / 0.6042 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.0001656/0.2865, allocations: 162.4 kB / 0.9073 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.2865, allocations: 23.75 kB / 0.9073 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/0.2871, allocations: 363 kB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.2872, allocations: 7.984 kB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2872, allocations: 8 kB / 0.9077 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.2873, allocations: 148.6 kB / 0.9078 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.2874, allocations: 16.09 kB / 0.9078 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2876, allocations: 39.97 kB / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.2878, allocations: 59.88 kB / 0.9079 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008318/0.2886, allocations: 1.352 MB / 0.9092 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007259/0.2893, allocations: 1.397 MB / 0.9106 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002087/0.2895, allocations: 168.2 kB / 0.9108 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.416e-05/0.2896, allocations: 127.8 kB / 0.9109 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of Backend: time 5.91e-07/0.2896, allocations: 4 kB / 0.9109 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.2915, allocations: 482.5 kB / 0.9113 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000798/0.2923, allocations: 0.8897 MB / 0.9122 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.008498/0.3008, allocations: 5.382 MB / 0.9175 GB, free: 46.23 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)