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.0008393/0.0008394, allocations: 92 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.0008187/0.000819, 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.637/1.637, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.605/1.605, allocations: 252 MB / 0.5102 GB, free: 4.863 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.0005655/0.0005657, allocations: 12 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5073, allocations: 106.3 MB / 0.7281 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.0009479/0.5083, allocations: 0.5917 MB / 0.7287 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.5108, allocations: 2.414 MB / 0.7311 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.5109, allocations: 0 / 0.7311 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.5109, allocations: 11.86 kB / 0.7311 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.5111, allocations: 55.61 kB / 0.7311 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007324/0.5118, allocations: 402.8 kB / 0.7315 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.5121, allocations: 271.2 kB / 0.7318 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.171e-05/0.5122, allocations: 23.64 kB / 0.7318 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.5123, allocations: 127.6 kB / 0.7319 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.5125, allocations: 139.6 kB / 0.7321 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.5126, allocations: 12 kB / 0.7321 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.513, allocations: 291.7 kB / 0.7323 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.5131, allocations: 55.84 kB / 0.7324 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.5131, allocations: 61.58 kB / 0.7325 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.5135, allocations: 399.1 kB / 0.7328 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5135, allocations: 0 / 0.7328 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5135, allocations: 0 / 0.7328 GB, free: 6.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.5136, allocations: 0 / 0.7328 GB, free: 6.613 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.001112/0.5147, allocations: 0.637 MB / 0.7335 GB, free: 5.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5147, allocations: 12.03 kB / 0.7335 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.5148, allocations: 19.81 kB / 0.7335 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.5149, allocations: 188.9 kB / 0.7337 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.5151, allocations: 130.8 kB / 0.7338 GB, free: 5.516 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.5151, allocations: 23.98 kB / 0.7338 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.5155, allocations: 231.8 kB / 0.734 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5155, allocations: 3.938 kB / 0.734 GB, free: 5.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.5155, allocations: 8 kB / 0.7341 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.5156, allocations: 4 kB / 0.7341 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.5158, allocations: 111.8 kB / 0.7342 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.5162, allocations: 406.9 kB / 0.7346 GB, free: 4.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.5175, allocations: 495.3 kB / 0.735 GB, free: 4.023 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.5177, allocations: 166.2 kB / 0.7352 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.5177, allocations: 8 kB / 0.7352 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004415/0.5182, allocations: 311.5 kB / 0.7355 GB, free: 3.461 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.5182, allocations: 4 kB / 0.7355 GB, free: 3.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0007322/0.5189, allocations: 405.8 kB / 0.7359 GB, free: 3.055 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.5191, allocations: 358 kB / 0.7362 GB, free: 2.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.5192, allocations: 168.4 kB / 0.7364 GB, free: 2.453 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.5193, allocations: 49.69 kB / 0.7364 GB, free: 2.398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.5194, allocations: 93.14 kB / 0.7365 GB, free: 2.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/0.5195, allocations: 110.5 kB / 0.7366 GB, free: 2.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.5195, allocations: 15.94 kB / 0.7366 GB, free: 2.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5196, allocations: 334.8 kB / 0.737 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.5198, allocations: 113.1 kB / 0.7371 GB, free: 1.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.5201, allocations: 169 kB / 0.7372 GB, free: 1.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.5204, allocations: 119.7 kB / 0.7373 GB, free: 1.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5204, allocations: 0 / 0.7373 GB, free: 1.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006671/0.5211, allocations: 381.1 kB / 0.7377 GB, free: 1.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5211, allocations: 4 kB / 0.7377 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5211, allocations: 4 kB / 0.7377 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5212, allocations: 0 / 0.7377 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.5215, allocations: 83.88 kB / 0.7378 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.5216, allocations: 3.984 kB / 0.7378 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.5218, allocations: 55.66 kB / 0.7378 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.5219, allocations: 23.92 kB / 0.7379 GB, free: 0.8984 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.0001485/0.522, allocations: 154.5 kB / 0.738 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.5221, allocations: 27.72 kB / 0.738 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006314/0.5227, allocations: 358 kB / 0.7384 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.5227, allocations: 12 kB / 0.7384 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.5227, allocations: 7.984 kB / 0.7384 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5228, allocations: 4 kB / 0.7384 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.5231, allocations: 353.1 kB / 0.7387 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.5231, allocations: 4.5 kB / 0.7387 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.5234, allocations: 71.91 kB / 0.7388 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.5234, allocations: 4 kB / 0.7388 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.5235, allocations: 23.98 kB / 0.7388 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.5235, allocations: 7.938 kB / 0.7389 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5235, allocations: 4 kB / 0.7389 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.5241, allocations: 497.7 kB / 0.7393 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.5243, allocations: 152.5 kB / 0.7395 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.5243, allocations: 19.98 kB / 0.7395 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.5246, allocations: 35.98 kB / 0.7395 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.5247, allocations: 55.83 kB / 0.7396 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.5247, allocations: 23.98 kB / 0.7396 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.155e-05/0.5248, allocations: 127.8 kB / 0.7397 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5248, allocations: 0 / 0.7397 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005427/0.5254, allocations: 215.7 kB / 0.7399 GB, free: 14.64 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.0004937/0.5259, allocations: 332.8 kB / 0.7402 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005676/0.5264, allocations: 319.6 kB / 0.7406 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5265, allocations: 3.938 kB / 0.7406 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.5267, allocations: 189 kB / 0.7407 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.527, allocations: 32.17 kB / 0.7408 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009416/0.528, allocations: 0.6363 MB / 0.7414 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.5283, allocations: 0.7574 MB / 0.7421 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.5285, allocations: 59.28 kB / 0.7422 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.5286, allocations: 47.41 kB / 0.7422 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.382e-06/0.5286, allocations: 0 / 0.7422 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.008972/0.5376, allocations: 5.178 MB / 0.7473 GB, free: 7.066 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: