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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009432/0.0009433, allocations: 178.5 kB / 326.5 MB, free: 2.688 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.919/1.919, allocations: 205 MB / 0.5767 GB, free: 20.96 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.001015/0.001015, allocations: 94.64 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003203, allocations: 11.72 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001038/0.2379, allocations: 0.638 MB / 0.8974 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.2406, allocations: 2.578 MB / 0.8999 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.2406, allocations: 3.938 kB / 0.8999 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.268e-05/0.2407, allocations: 3.938 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.2409, allocations: 43.69 kB / 0.9 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.2416, allocations: 426.8 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.2419, allocations: 295.1 kB / 0.9006 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.453e-05/0.2419, allocations: 17.67 kB / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2421, allocations: 135.5 kB / 0.9008 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.2423, allocations: 147.5 kB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.2423, allocations: 12 kB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.2427, allocations: 299.8 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.2428, allocations: 59.78 kB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.968e-05/0.2429, allocations: 115.4 kB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.2434, allocations: 0.5298 MB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2435, allocations: 0 / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2435, allocations: 0 / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2435, allocations: 0 / 0.9019 GB, free: 62.84 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.001179/0.2447, allocations: 0.6333 MB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2447, allocations: 12.03 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.2448, allocations: 20.75 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2449, allocations: 196.7 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.245, allocations: 123.4 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.2451, allocations: 24.38 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.2454, allocations: 235.9 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2455, allocations: 4 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.2455, allocations: 4 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2455, allocations: 4 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.2457, allocations: 115.7 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.2461, allocations: 399.1 kB / 0.9036 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.2472, allocations: 0.4915 MB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.2474, allocations: 162.3 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.2475, allocations: 11.97 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003739/0.2478, allocations: 308.3 kB / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.685e-06/0.2479, allocations: 3.938 kB / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006719/0.2485, allocations: 409.8 kB / 0.9049 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/0.2486, allocations: 354.6 kB / 0.9053 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2487, allocations: 174 kB / 0.9055 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.2488, allocations: 41.7 kB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.2488, allocations: 97.12 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.2489, allocations: 114.4 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.249, allocations: 49.69 kB / 0.9057 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.249, allocations: 330.8 kB / 0.9061 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.2493, allocations: 117 kB / 0.9062 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.2495, allocations: 172.9 kB / 0.9063 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.25, allocations: 263.9 kB / 0.9066 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.25, allocations: 0 / 0.9066 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006334/0.2506, allocations: 383.3 kB / 0.907 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2507, allocations: 4 kB / 0.907 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2507, allocations: 8 kB / 0.907 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2507, allocations: 3.938 kB / 0.907 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.251, allocations: 79.88 kB / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.2511, allocations: 7.938 kB / 0.9071 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.2513, allocations: 55.66 kB / 0.9071 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.2514, allocations: 23.92 kB / 0.9071 GB, free: 56.91 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.0001346/0.2515, allocations: 154.5 kB / 0.9073 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.2516, allocations: 27.73 kB / 0.9073 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/0.2522, allocations: 362 kB / 0.9076 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.2522, allocations: 7.984 kB / 0.9077 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2522, allocations: 0 / 0.9077 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.2523, allocations: 148.6 kB / 0.9078 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.2524, allocations: 19.91 kB / 0.9078 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.2526, allocations: 43.97 kB / 0.9079 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2527, allocations: 47.88 kB / 0.9079 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000838/0.2535, allocations: 1.36 MB / 0.9092 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006866/0.2542, allocations: 1.393 MB / 0.9106 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001999/0.2545, allocations: 172.7 kB / 0.9108 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.592e-05/0.2545, allocations: 131.7 kB / 0.9109 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of Backend: time 4.61e-07/0.2545, allocations: 0 / 0.9109 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.2563, allocations: 488.4 kB / 0.9113 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007582/0.2571, allocations: 0.8858 MB / 0.9122 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.007772/0.2648, allocations: 5.4 MB / 0.9175 GB, free: 46.22 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)