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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009715/0.0009716, allocations: 175.5 kB / 327.5 MB, free: 2.156 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.503/1.503, allocations: 205.4 MB / 0.5785 GB, free: 20.23 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.0007549/0.0007545, allocations: 86.22 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003928, allocations: 12.16 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.3383, allocations: 133.5 MB / 1.032 GB, free: 10 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.3386, allocations: 75.95 kB / 1.032 GB, free: 9.93 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54:32:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.03148/0.3701, allocations: 10.39 MB / 1.042 GB, free: 15.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.165e-06/0.3701, allocations: 0 / 1.042 GB, free: 15.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.3701, allocations: 4 kB / 1.042 GB, free: 15.52 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001221/0.3714, allocations: 0.6268 MB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3714, allocations: 8.031 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.383e-05/0.3715, allocations: 24.73 kB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3717, allocations: 198.9 kB / 1.043 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.3718, allocations: 131.2 kB / 1.043 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.3719, allocations: 20.38 kB / 1.043 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.3722, allocations: 248.3 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3723, allocations: 7.875 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.3723, allocations: 12 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3723, allocations: 4 kB / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.3725, allocations: 123.7 kB / 1.043 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009286/0.3735, allocations: 0.9511 MB / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.3748, allocations: 495.2 kB / 1.045 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.3751, allocations: 154.3 kB / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.3751, allocations: 11.94 kB / 1.045 GB, free: 12.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004474/0.3756, allocations: 304.5 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.326e-06/0.3756, allocations: 0 / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0007436/0.3763, allocations: 402.8 kB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.3765, allocations: 366.1 kB / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3767, allocations: 178 kB / 1.046 GB, free: 10.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.3767, allocations: 37.7 kB / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.3768, allocations: 104.9 kB / 1.046 GB, free: 10.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.3769, allocations: 106.5 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.3769, allocations: 12 kB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.377, allocations: 342.8 kB / 1.047 GB, free: 10.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.3773, allocations: 101.1 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.3776, allocations: 176.4 kB / 1.047 GB, free: 9.871 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.3781, allocations: 278.5 kB / 1.047 GB, free: 9.574 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3781, allocations: 4 kB / 1.047 GB, free: 9.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007101/0.3788, allocations: 361 kB / 1.047 GB, free: 9.211 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3789, allocations: 8 kB / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3789, allocations: 0 / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3789, allocations: 4 kB / 1.047 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.3792, allocations: 87.81 kB / 1.047 GB, free: 9.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.3793, allocations: 4.375 kB / 1.047 GB, free: 9.109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.3796, allocations: 55.66 kB / 1.048 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.3796, allocations: 23.98 kB / 1.048 GB, free: 9.031 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.3798, allocations: 158 kB / 1.048 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.3799, allocations: 35.66 kB / 1.048 GB, free: 8.832 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.3805, allocations: 346.1 kB / 1.048 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.3805, allocations: 8.188 kB / 1.048 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.3805, allocations: 4 kB / 1.048 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.3806, allocations: 15.91 kB / 1.048 GB, free: 8.461 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.381, allocations: 357.1 kB / 1.048 GB, free: 8.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.381, allocations: 7.984 kB / 1.048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.3813, allocations: 72.28 kB / 1.049 GB, free: 7.984 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.3813, allocations: 4 kB / 1.049 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.3813, allocations: 19.98 kB / 1.049 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.3813, allocations: 8 kB / 1.049 GB, free: 7.953 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3813, allocations: 7.938 kB / 1.049 GB, free: 7.945 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006482/0.382, allocations: 489.6 kB / 1.049 GB, free: 7.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.3822, allocations: 160.5 kB / 1.049 GB, free: 7.234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.3822, allocations: 16 kB / 1.049 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.3825, allocations: 35.97 kB / 1.049 GB, free: 7.184 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.3826, allocations: 51.88 kB / 1.049 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.3826, allocations: 27.98 kB / 1.049 GB, free: 7.105 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001107/0.3828, allocations: 127.8 kB / 1.049 GB, free: 6.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3828, allocations: 0 / 1.049 GB, free: 6.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006711/0.3834, allocations: 211.7 kB / 1.05 GB, free: 6.773 MB / 0.698 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006848/0.3841, allocations: 324.8 kB / 1.05 GB, free: 6.445 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000584/0.3847, allocations: 311.5 kB / 1.05 GB, free: 6.141 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3847, allocations: 4 kB / 1.05 GB, free: 6.137 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.385, allocations: 184.5 kB / 1.05 GB, free: 5.957 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.3853, allocations: 37.61 kB / 1.05 GB, free: 5.922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.3863, allocations: 0.6331 MB / 1.051 GB, free: 5.234 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3867, allocations: 0.7614 MB / 1.052 GB, free: 4.449 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002723/0.3869, allocations: 55.62 kB / 1.052 GB, free: 4.395 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.3871, allocations: 51.41 kB / 1.052 GB, free: 4.344 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.3871, allocations: 0 / 1.052 GB, free: 4.344 MB / 0.698 GB Notification: Performance of Templates: time 0.3412/0.7283, allocations: 4.692 MB / 1.056 GB, free: 149 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)