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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009744/0.0009742, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000989/0.0009893, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.684/1.684, allocations: 251.9 MB / 0.51 GB, free: 4.926 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000555/0.0005552, allocations: 12 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5677, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001116/0.5688, allocations: 0.5872 MB / 0.7286 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.5715, allocations: 2.422 MB / 0.7309 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.5716, allocations: 3.938 kB / 0.7309 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.5716, allocations: 11.86 kB / 0.7309 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.5718, allocations: 43.89 kB / 0.731 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.5726, allocations: 418.1 kB / 0.7314 GB, free: 7.945 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.5728, allocations: 183.7 kB / 0.7316 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.607e-05/0.5729, allocations: 23.64 kB / 0.7316 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.5731, allocations: 139.6 kB / 0.7317 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.5733, allocations: 143.5 kB / 0.7318 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.5734, allocations: 12 kB / 0.7319 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.5739, allocations: 283.8 kB / 0.7321 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.574, allocations: 71.7 kB / 0.7322 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.574, allocations: 61.58 kB / 0.7323 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.5745, allocations: 407 kB / 0.7326 GB, free: 6.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5745, allocations: 0 / 0.7326 GB, free: 6.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.123e-06/0.5745, allocations: 0 / 0.7326 GB, free: 6.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.5745, allocations: 0 / 0.7326 GB, free: 6.641 MB / 0.545 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.001268/0.5758, allocations: 0.6293 MB / 0.7333 GB, free: 5.961 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5758, allocations: 8.031 kB / 0.7333 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.5759, allocations: 23.81 kB / 0.7333 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.5761, allocations: 192.8 kB / 0.7335 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.5763, allocations: 126.8 kB / 0.7336 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.5763, allocations: 24 kB / 0.7336 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.5767, allocations: 239.6 kB / 0.7338 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5767, allocations: 0 / 0.7338 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.5767, allocations: 8 kB / 0.7338 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.5768, allocations: 4 kB / 0.7339 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.577, allocations: 111.7 kB / 0.734 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.5774, allocations: 411 kB / 0.7344 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.5788, allocations: 495.6 kB / 0.7348 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.5789, allocations: 11.98 kB / 0.7348 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000426/0.5793, allocations: 311.6 kB / 0.7351 GB, free: 3.684 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.5793, allocations: 0 / 0.7351 GB, free: 3.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0007463/0.5801, allocations: 401 kB / 0.7355 GB, free: 3.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.5803, allocations: 358.6 kB / 0.7359 GB, free: 2.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.5804, allocations: 163.2 kB / 0.736 GB, free: 2.688 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.5804, allocations: 45.69 kB / 0.7361 GB, free: 2.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5806, allocations: 97.12 kB / 0.7361 GB, free: 2.539 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.5807, allocations: 110.6 kB / 0.7363 GB, free: 2.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.5807, allocations: 8 kB / 0.7363 GB, free: 2.422 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002648/0.581, allocations: 338.8 kB / 0.7366 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.5812, allocations: 117.1 kB / 0.7367 GB, free: 1.969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.5815, allocations: 161 kB / 0.7369 GB, free: 1.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.5818, allocations: 118.7 kB / 0.737 GB, free: 1.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5818, allocations: 0 / 0.737 GB, free: 1.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007072/0.5825, allocations: 382.9 kB / 0.7373 GB, free: 1.309 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5826, allocations: 8 kB / 0.7373 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.5826, allocations: 0 / 0.7373 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.5826, allocations: 4 kB / 0.7373 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.583, allocations: 79.88 kB / 0.7374 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.583, allocations: 0 / 0.7374 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.5833, allocations: 59.59 kB / 0.7375 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.5834, allocations: 27.92 kB / 0.7375 GB, free: 1.133 MB / 0.545 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.0001661/0.5835, allocations: 154 kB / 0.7376 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.5836, allocations: 32.41 kB / 0.7377 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000684/0.5843, allocations: 366.1 kB / 0.738 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.5843, allocations: 8 kB / 0.738 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.5843, allocations: 4 kB / 0.738 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.5843, allocations: 7.984 kB / 0.738 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.5847, allocations: 353.1 kB / 0.7384 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5847, allocations: 4 kB / 0.7384 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.585, allocations: 71.91 kB / 0.7385 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.5851, allocations: 4 kB / 0.7385 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.5851, allocations: 23.98 kB / 0.7385 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.5851, allocations: 7.938 kB / 0.7385 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5851, allocations: 4 kB / 0.7385 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007956/0.5859, allocations: 0.6217 MB / 0.7391 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.5861, allocations: 148.5 kB / 0.7392 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.5862, allocations: 15.98 kB / 0.7393 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.5864, allocations: 39.98 kB / 0.7393 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.5865, allocations: 55.81 kB / 0.7393 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.5866, allocations: 20 kB / 0.7394 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001112/0.5867, allocations: 139.7 kB / 0.7395 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5867, allocations: 4 kB / 0.7395 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000633/0.5874, allocations: 211.7 kB / 0.7397 GB, free: 14.67 MB / 0.5606 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.0005057/0.5879, allocations: 320.9 kB / 0.74 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007658/0.5886, allocations: 330.2 kB / 0.7403 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5887, allocations: 4 kB / 0.7403 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.5889, allocations: 179.7 kB / 0.7405 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.5891, allocations: 24.17 kB / 0.7405 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009546/0.5901, allocations: 0.6322 MB / 0.7411 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.5905, allocations: 0.7696 MB / 0.7419 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002068/0.5907, allocations: 53.56 kB / 0.7419 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5908, allocations: 47.41 kB / 0.742 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.5908, allocations: 0 / 0.742 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.0101/0.6009, allocations: 5.162 MB / 0.747 GB, free: 7.129 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: