Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.462/2.462, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001314/0.001313, allocations: 182.5 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.277/2.277, allocations: 205.4 MB / 0.5772 GB, free: 21.15 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.0009778/0.0009772, allocations: 104 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005101, allocations: 12.44 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 106.3 MB / 0.8995 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.4653, allocations: 133.3 MB / 1.03 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003983/0.4657, allocations: 75.95 kB / 1.03 GB, free: 12.43 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.08342/0.5492, allocations: 10.38 MB / 1.04 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5492, allocations: 0 / 1.04 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.5493, allocations: 4 kB / 1.04 GB, free: 2.02 MB / 0.6823 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.002055/0.5513, allocations: 0.6306 MB / 1.041 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5514, allocations: 8.031 kB / 1.041 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.622e-05/0.5515, allocations: 20.75 kB / 1.041 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.5517, allocations: 188 kB / 1.041 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.5519, allocations: 135.2 kB / 1.041 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-05/0.552, allocations: 24.36 kB / 1.041 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.5526, allocations: 240.3 kB / 1.041 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.5526, allocations: 19.86 kB / 1.041 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.5527, allocations: 4 kB / 1.041 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.5527, allocations: 8 kB / 1.041 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.5531, allocations: 111.8 kB / 1.041 GB, free: 500 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.5545, allocations: 0.9589 MB / 1.042 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/0.5572, allocations: 491.3 kB / 1.043 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.5576, allocations: 158.1 kB / 1.043 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/0.5577, allocations: 12 kB / 1.043 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000681/0.5584, allocations: 304.4 kB / 1.043 GB, free: 14.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 4.188e-06/0.5584, allocations: 0 / 1.043 GB, free: 14.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001349/0.5598, allocations: 410.3 kB / 1.043 GB, free: 13.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002634/0.5601, allocations: 358 kB / 1.044 GB, free: 13.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.5603, allocations: 164 kB / 1.044 GB, free: 13.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.5604, allocations: 45.7 kB / 1.044 GB, free: 13.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.5605, allocations: 108.9 kB / 1.044 GB, free: 13.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.5607, allocations: 106.5 kB / 1.044 GB, free: 13.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.5607, allocations: 16.06 kB / 1.044 GB, free: 13.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5609, allocations: 334.8 kB / 1.045 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.5614, allocations: 105.1 kB / 1.045 GB, free: 12.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.5619, allocations: 180.4 kB / 1.045 GB, free: 12.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005056/0.5624, allocations: 120 kB / 1.045 GB, free: 12.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5625, allocations: 0 / 1.045 GB, free: 12.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001299/0.5638, allocations: 365 kB / 1.045 GB, free: 11.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.5638, allocations: 8 kB / 1.045 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.5638, allocations: 0 / 1.045 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.5639, allocations: 4 kB / 1.045 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.5646, allocations: 79.88 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.5647, allocations: 8 kB / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.5652, allocations: 51.72 kB / 1.045 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.5653, allocations: 19.98 kB / 1.045 GB, free: 11.72 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.0002635/0.5656, allocations: 157.6 kB / 1.046 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.5657, allocations: 31.7 kB / 1.046 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.5669, allocations: 366.9 kB / 1.046 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.5669, allocations: 8 kB / 1.046 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.567, allocations: 4 kB / 1.046 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.567, allocations: 7.984 kB / 1.046 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.5676, allocations: 349.1 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.5676, allocations: 4 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/0.5683, allocations: 83.95 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.5683, allocations: 4 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.408e-05/0.5684, allocations: 16 kB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.5684, allocations: 7.938 kB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.5684, allocations: 12.3 kB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.5696, allocations: 489.6 kB / 1.047 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.5699, allocations: 144.5 kB / 1.047 GB, free: 9.934 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.623e-05/0.57, allocations: 23.98 kB / 1.047 GB, free: 9.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.5704, allocations: 39.92 kB / 1.047 GB, free: 9.871 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.5706, allocations: 55.98 kB / 1.047 GB, free: 9.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/0.5707, allocations: 24 kB / 1.047 GB, free: 9.793 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000173/0.5709, allocations: 131.8 kB / 1.047 GB, free: 9.664 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/0.5709, allocations: 0 / 1.047 GB, free: 9.664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001008/0.5719, allocations: 215.7 kB / 1.048 GB, free: 9.453 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.0008823/0.5728, allocations: 314 kB / 1.048 GB, free: 9.133 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.574, allocations: 315.5 kB / 1.048 GB, free: 8.828 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.574, allocations: 0 / 1.048 GB, free: 8.828 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.5745, allocations: 188.3 kB / 1.048 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.5749, allocations: 38.88 kB / 1.048 GB, free: 8.609 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.5767, allocations: 0.6403 MB / 1.049 GB, free: 7.914 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.5772, allocations: 0.7652 MB / 1.05 GB, free: 7.121 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004965/0.5777, allocations: 64.36 kB / 1.05 GB, free: 7.059 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.578, allocations: 47.41 kB / 1.05 GB, free: 7.012 MB / 0.698 GB Notification: Performance of SimCode: time 1.253e-06/0.578, allocations: 0 / 1.05 GB, free: 7.012 MB / 0.698 GB Notification: Performance of Templates: time 0.01492/0.5929, allocations: 4.694 MB / 1.054 GB, free: 2.336 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)