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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000992/0.0009922, 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.001212/0.001212, 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.638/1.638, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.623/1.623, allocations: 252 MB / 0.5101 GB, free: 4.734 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.0004972/0.0004972, allocations: 19.28 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.5491, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001091/0.5502, allocations: 0.5956 MB / 0.7287 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.5529, allocations: 2.41 MB / 0.7311 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.553, allocations: 4 kB / 0.7311 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.553, allocations: 11.88 kB / 0.7311 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.5533, allocations: 47.67 kB / 0.7311 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.554, allocations: 406.8 kB / 0.7315 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.5543, allocations: 271.2 kB / 0.7318 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.5544, allocations: 11.66 kB / 0.7318 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.5546, allocations: 131.6 kB / 0.7319 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.5548, allocations: 139.6 kB / 0.7321 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.5548, allocations: 16 kB / 0.7321 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.5553, allocations: 283.7 kB / 0.7323 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.5553, allocations: 59.84 kB / 0.7324 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.5554, allocations: 65.58 kB / 0.7325 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.5559, allocations: 403 kB / 0.7328 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5559, allocations: 4 kB / 0.7328 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5559, allocations: 0 / 0.7328 GB, free: 6.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.5559, allocations: 0 / 0.7328 GB, free: 6.551 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.001202/0.5571, allocations: 0.6331 MB / 0.7335 GB, free: 5.867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.5572, allocations: 8.031 kB / 0.7335 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.5572, allocations: 19.81 kB / 0.7335 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.5574, allocations: 192.8 kB / 0.7337 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.5576, allocations: 134.8 kB / 0.7338 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.5576, allocations: 16 kB / 0.7338 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.5579, allocations: 235.8 kB / 0.734 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.558, allocations: 11.94 kB / 0.7341 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.558, allocations: 4 kB / 0.7341 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.994e-06/0.558, allocations: 4 kB / 0.7341 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.5582, allocations: 107.8 kB / 0.7342 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.5587, allocations: 410.9 kB / 0.7346 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.56, allocations: 495.3 kB / 0.735 GB, free: 3.961 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.5602, allocations: 162.3 kB / 0.7352 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.5602, allocations: 15.97 kB / 0.7352 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.5607, allocations: 307.5 kB / 0.7355 GB, free: 3.398 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.5607, allocations: 0 / 0.7355 GB, free: 3.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0007552/0.5614, allocations: 410.4 kB / 0.7359 GB, free: 2.992 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.5616, allocations: 354.1 kB / 0.7362 GB, free: 2.566 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.5617, allocations: 171.2 kB / 0.7364 GB, free: 2.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.5618, allocations: 37.7 kB / 0.7364 GB, free: 2.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.5618, allocations: 97.62 kB / 0.7365 GB, free: 2.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.192e-05/0.5619, allocations: 122.4 kB / 0.7366 GB, free: 2.129 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.562, allocations: 4 kB / 0.7366 GB, free: 2.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5621, allocations: 342.7 kB / 0.737 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.5623, allocations: 113.1 kB / 0.7371 GB, free: 1.672 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.5626, allocations: 165 kB / 0.7372 GB, free: 1.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.5629, allocations: 121.2 kB / 0.7373 GB, free: 1.387 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5629, allocations: 0 / 0.7373 GB, free: 1.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006576/0.5636, allocations: 379.8 kB / 0.7377 GB, free: 1.012 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5636, allocations: 8 kB / 0.7377 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.5636, allocations: 0 / 0.7377 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5636, allocations: 4 kB / 0.7377 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.564, allocations: 75.88 kB / 0.7378 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.564, allocations: 7.938 kB / 0.7378 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.5643, allocations: 55.66 kB / 0.7378 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.5643, allocations: 23.98 kB / 0.7379 GB, free: 0.8398 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.0001429/0.5645, allocations: 153.7 kB / 0.738 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.5645, allocations: 23.72 kB / 0.738 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006169/0.5652, allocations: 362.1 kB / 0.7384 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.5652, allocations: 8 kB / 0.7384 GB, free: 296 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5652, allocations: 4 kB / 0.7384 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.5652, allocations: 11.98 kB / 0.7384 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.5655, allocations: 349.1 kB / 0.7387 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5656, allocations: 4.5 kB / 0.7387 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.5659, allocations: 71.89 kB / 0.7388 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.5659, allocations: 8 kB / 0.7388 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.5659, allocations: 20 kB / 0.7388 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.5659, allocations: 11.92 kB / 0.7389 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5659, allocations: 4 kB / 0.7389 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.5666, allocations: 497.9 kB / 0.7393 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.5667, allocations: 156.5 kB / 0.7395 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.5668, allocations: 16 kB / 0.7395 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.567, allocations: 39.91 kB / 0.7395 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.5671, allocations: 59.83 kB / 0.7396 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.5672, allocations: 23.98 kB / 0.7396 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.735e-05/0.5673, allocations: 127.8 kB / 0.7397 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5673, allocations: 0 / 0.7397 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005404/0.5678, allocations: 215.7 kB / 0.7399 GB, free: 14.58 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.000504/0.5683, allocations: 324.8 kB / 0.7403 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006157/0.5689, allocations: 327.7 kB / 0.7406 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.569, allocations: 0 / 0.7406 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.5692, allocations: 176.6 kB / 0.7407 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.5695, allocations: 34.98 kB / 0.7408 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/0.5704, allocations: 0.6402 MB / 0.7414 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.5707, allocations: 0.7614 MB / 0.7421 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.5709, allocations: 63.8 kB / 0.7422 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5711, allocations: 43.42 kB / 0.7422 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5711, allocations: 0 / 0.7422 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.008355/0.5794, allocations: 5.166 MB / 0.7473 GB, free: 7.02 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: