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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00198/0.00198, allocations: 196.5 kB / 377.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.4 MB / 0.6367 GB, free: 8.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008056/0.0008055, allocations: 92.22 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003858, allocations: 16 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 116.3 MB / 0.9884 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.721/1.054, allocations: 139.8 MB / 1.125 GB, free: 35.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/1.055, allocations: 73.69 kB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03227/1.087, allocations: 10.41 MB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.934e-06/1.087, allocations: 0 / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.491e-05/1.087, allocations: 4 kB / 1.135 GB, free: 27.46 MB / 0.7292 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.001764/1.089, allocations: 0.6465 MB / 1.136 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.089, allocations: 12.62 kB / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/1.089, allocations: 22.53 kB / 1.136 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/1.089, allocations: 180.8 kB / 1.136 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/1.089, allocations: 130.9 kB / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/1.089, allocations: 24.19 kB / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/1.09, allocations: 231.7 kB / 1.136 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.09, allocations: 0 / 1.136 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/1.09, allocations: 8.703 kB / 1.136 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.09, allocations: 4.938 kB / 1.136 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/1.09, allocations: 118.1 kB / 1.136 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/1.091, allocations: 394.5 kB / 1.137 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.092, allocations: 499.6 kB / 1.137 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.013e-05/1.092, allocations: 13.48 kB / 1.137 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005893/1.093, allocations: 312.7 kB / 1.138 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 4.048e-06/1.093, allocations: 0 / 1.138 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0009877/1.094, allocations: 413.7 kB / 1.138 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.094, allocations: 352.4 kB / 1.138 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/1.094, allocations: 153.4 kB / 1.139 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/1.094, allocations: 51.95 kB / 1.139 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/1.094, allocations: 99.14 kB / 1.139 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/1.095, allocations: 99.83 kB / 1.139 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/1.095, allocations: 12 kB / 1.139 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.095, allocations: 329.3 kB / 1.139 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/1.095, allocations: 114.8 kB / 1.139 GB, free: 23.22 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/1.095, allocations: 168.6 kB / 1.139 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/1.096, allocations: 119.3 kB / 1.139 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.096, allocations: 3.953 kB / 1.139 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007574/1.097, allocations: 376.2 kB / 1.14 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.097, allocations: 4.844 kB / 1.14 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.097, allocations: 1.594 kB / 1.14 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/1.097, allocations: 4 kB / 1.14 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/1.097, allocations: 87.39 kB / 1.14 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.097, allocations: 0 / 1.14 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/1.097, allocations: 60.19 kB / 1.14 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/1.097, allocations: 20.53 kB / 1.14 GB, free: 22.48 MB / 0.7292 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.0001766/1.098, allocations: 143.3 kB / 1.14 GB, free: 22.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/1.098, allocations: 33.17 kB / 1.14 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007547/1.098, allocations: 367.8 kB / 1.141 GB, free: 21.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.099, allocations: 8 kB / 1.141 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/1.099, allocations: 5.062 kB / 1.141 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.099, allocations: 7.797 kB / 1.141 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/1.099, allocations: 346.9 kB / 1.141 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.099, allocations: 8 kB / 1.141 GB, free: 21.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/1.099, allocations: 81.06 kB / 1.141 GB, free: 21.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/1.099, allocations: 4.703 kB / 1.141 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/1.099, allocations: 22.61 kB / 1.141 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.099, allocations: 7.422 kB / 1.141 GB, free: 21.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.099, allocations: 4 kB / 1.141 GB, free: 21.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/1.1, allocations: 0.604 MB / 1.142 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/1.1, allocations: 155.1 kB / 1.142 GB, free: 20.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/1.1, allocations: 22.25 kB / 1.142 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/1.101, allocations: 34.94 kB / 1.142 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.101, allocations: 48.53 kB / 1.142 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/1.101, allocations: 26.81 kB / 1.142 GB, free: 20.58 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001084/1.101, allocations: 131.4 kB / 1.142 GB, free: 20.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/1.101, allocations: 4 kB / 1.142 GB, free: 20.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009501/1.102, allocations: 219.8 kB / 1.142 GB, free: 20.25 MB / 0.7292 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,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.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.001018/1.103, allocations: 326.3 kB / 1.142 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007369/1.104, allocations: 316 kB / 1.143 GB, free: 19.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.104, allocations: 12.69 kB / 1.143 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/1.104, allocations: 186.2 kB / 1.143 GB, free: 19.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/1.104, allocations: 24.58 kB / 1.143 GB, free: 19.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/1.106, allocations: 0.6354 MB / 1.144 GB, free: 18.85 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/1.106, allocations: 0.7691 MB / 1.144 GB, free: 18.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002716/1.106, allocations: 51.17 kB / 1.144 GB, free: 18.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.106, allocations: 46.84 kB / 1.144 GB, free: 18 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/1.106, allocations: 0 / 1.144 GB, free: 18 MB / 0.7292 GB Notification: Performance of Templates: time 0.01315/1.12, allocations: 4.819 MB / 1.149 GB, free: 15.26 MB / 0.7292 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)