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.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001264/0.001265, allocations: 172.7 kB / 15.95 MB, free: 208 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.585/1.585, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.649/1.649, allocations: 252 MB / 0.5102 GB, free: 4.828 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.0005447/0.0005448, allocations: 19.98 kB / 0.6243 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5961/0.5967, allocations: 106.3 MB / 0.7281 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001162/0.5979, allocations: 0.5956 MB / 0.7287 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002996/0.6009, allocations: 2.41 MB / 0.7311 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.698e-05/0.601, allocations: 0 / 0.7311 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.6011, allocations: 11.86 kB / 0.7311 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.6013, allocations: 55.61 kB / 0.7311 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.6021, allocations: 406.8 kB / 0.7315 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.6024, allocations: 275.1 kB / 0.7318 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.6025, allocations: 15.66 kB / 0.7318 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.6027, allocations: 127.6 kB / 0.7319 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.6029, allocations: 143.6 kB / 0.7321 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.603, allocations: 12 kB / 0.7321 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.6034, allocations: 283.7 kB / 0.7323 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.6035, allocations: 59.84 kB / 0.7324 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.6036, allocations: 61.58 kB / 0.7325 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.6041, allocations: 399.1 kB / 0.7328 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.6041, allocations: 3.984 kB / 0.7328 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6041, allocations: 0 / 0.7328 GB, free: 6.523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6041, allocations: 0 / 0.7328 GB, free: 6.523 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.001326/0.6054, allocations: 0.6331 MB / 0.7335 GB, free: 5.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6055, allocations: 16.03 kB / 0.7335 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.84e-05/0.6056, allocations: 19.81 kB / 0.7335 GB, free: 5.805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.6057, allocations: 192.8 kB / 0.7337 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.6059, allocations: 126.8 kB / 0.7338 GB, free: 5.426 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.6059, allocations: 23.98 kB / 0.7338 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.6063, allocations: 231.8 kB / 0.734 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6063, allocations: 3.938 kB / 0.734 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.6064, allocations: 11.98 kB / 0.7341 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.6064, allocations: 4 kB / 0.7341 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.6066, allocations: 103.8 kB / 0.7342 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.6071, allocations: 414.9 kB / 0.7346 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.6085, allocations: 491.3 kB / 0.735 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.6087, allocations: 162.3 kB / 0.7352 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.6087, allocations: 8 kB / 0.7352 GB, free: 3.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.6092, allocations: 311.5 kB / 0.7355 GB, free: 3.375 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.914e-06/0.6092, allocations: 0 / 0.7355 GB, free: 3.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0007841/0.61, allocations: 414.5 kB / 0.7359 GB, free: 2.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.6102, allocations: 362.5 kB / 0.7362 GB, free: 2.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.6104, allocations: 163.2 kB / 0.7364 GB, free: 2.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.6104, allocations: 41.69 kB / 0.7364 GB, free: 2.316 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.6105, allocations: 93.14 kB / 0.7365 GB, free: 2.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.6106, allocations: 114.5 kB / 0.7366 GB, free: 2.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.6106, allocations: 15.94 kB / 0.7366 GB, free: 2.094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6108, allocations: 334.8 kB / 0.737 GB, free: 1.758 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.611, allocations: 121 kB / 0.7371 GB, free: 1.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.6113, allocations: 157 kB / 0.7372 GB, free: 1.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.6116, allocations: 121.1 kB / 0.7373 GB, free: 1.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6116, allocations: 3.938 kB / 0.7373 GB, free: 1.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007424/0.6124, allocations: 375.8 kB / 0.7377 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.6124, allocations: 11.94 kB / 0.7377 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.6124, allocations: 0 / 0.7377 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.6125, allocations: 4 kB / 0.7377 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.6129, allocations: 79.88 kB / 0.7378 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.613, allocations: 7.922 kB / 0.7378 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.6132, allocations: 55.66 kB / 0.7378 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.6133, allocations: 23.98 kB / 0.7379 GB, free: 0.8047 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.0002053/0.6135, allocations: 153.7 kB / 0.738 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.6136, allocations: 23.72 kB / 0.738 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007358/0.6143, allocations: 358.1 kB / 0.7384 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.6143, allocations: 11.98 kB / 0.7384 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.6144, allocations: 4 kB / 0.7384 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.6144, allocations: 4 kB / 0.7384 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.6149, allocations: 353.1 kB / 0.7387 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6149, allocations: 4 kB / 0.7387 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.6152, allocations: 71.91 kB / 0.7388 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.6152, allocations: 4 kB / 0.7388 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.6152, allocations: 23.98 kB / 0.7388 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.6152, allocations: 8.25 kB / 0.7388 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6153, allocations: 4 kB / 0.7388 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007919/0.6161, allocations: 0.4901 MB / 0.7393 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.6163, allocations: 152.5 kB / 0.7395 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/0.6163, allocations: 19.98 kB / 0.7395 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.6166, allocations: 39.98 kB / 0.7395 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.6167, allocations: 51.83 kB / 0.7396 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.6168, allocations: 23.98 kB / 0.7396 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001126/0.6169, allocations: 127.8 kB / 0.7397 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6169, allocations: 0 / 0.7397 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007515/0.6177, allocations: 219.7 kB / 0.7399 GB, free: 14.55 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.0006995/0.6184, allocations: 328.8 kB / 0.7402 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007243/0.6191, allocations: 322.3 kB / 0.7406 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6191, allocations: 0 / 0.7406 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.6194, allocations: 183.7 kB / 0.7407 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.6197, allocations: 32.17 kB / 0.7408 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.6208, allocations: 0.6371 MB / 0.7414 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.6211, allocations: 0.7614 MB / 0.7421 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.6213, allocations: 55.25 kB / 0.7422 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.6215, allocations: 51.41 kB / 0.7422 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of SimCode: time 2.014e-06/0.6215, allocations: 0 / 0.7422 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.01025/0.6317, allocations: 5.153 MB / 0.7473 GB, free: 6.965 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) Environment - environmentSimulation: