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.001371/0.001371, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001644/0.001644, allocations: 197.7 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 222 MB, free: 4.746 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.692/1.692, allocations: 251.6 MB / 0.5088 GB, free: 3.352 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.001651/0.001651, allocations: 63.91 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8493, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002771/0.8522, allocations: 0.969 MB / 0.7248 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004438/0.8566, allocations: 2.576 MB / 0.7273 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.857, allocations: 0 / 0.7273 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.938e-05/0.8571, allocations: 7.875 kB / 0.7273 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.8576, allocations: 51.62 kB / 0.7273 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.8592, allocations: 418.9 kB / 0.7277 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.8596, allocations: 303.1 kB / 0.728 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.373e-05/0.8597, allocations: 19.64 kB / 0.728 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.8599, allocations: 123.6 kB / 0.7282 GB, free: 8.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.8601, allocations: 151.4 kB / 0.7283 GB, free: 8.531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.8601, allocations: 12 kB / 0.7283 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006453/0.8608, allocations: 303.8 kB / 0.7286 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.8609, allocations: 59.78 kB / 0.7287 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.861, allocations: 107.5 kB / 0.7288 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007155/0.8617, allocations: 0.5338 MB / 0.7293 GB, free: 7.523 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8617, allocations: 0 / 0.7293 GB, free: 7.523 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8617, allocations: 0 / 0.7293 GB, free: 7.523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.8618, allocations: 0 / 0.7293 GB, free: 7.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.001507/0.8633, allocations: 0.6684 MB / 0.7299 GB, free: 6.805 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.8633, allocations: 8.031 kB / 0.73 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9e-05/0.8634, allocations: 20.75 kB / 0.73 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.8636, allocations: 194.1 kB / 0.7302 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.8638, allocations: 131.4 kB / 0.7303 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.8639, allocations: 16.38 kB / 0.7303 GB, free: 6.379 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.8642, allocations: 243.8 kB / 0.7305 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8642, allocations: 7.938 kB / 0.7305 GB, free: 6.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.8643, allocations: 4 kB / 0.7305 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.8643, allocations: 4 kB / 0.7305 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.8645, allocations: 119.7 kB / 0.7307 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.865, allocations: 399.1 kB / 0.731 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.8664, allocations: 499.3 kB / 0.7315 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.8666, allocations: 154.3 kB / 0.7317 GB, free: 4.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.8667, allocations: 19.92 kB / 0.7317 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005486/0.8672, allocations: 315.5 kB / 0.732 GB, free: 4.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.073e-06/0.8672, allocations: 0 / 0.732 GB, free: 4.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0008033/0.8681, allocations: 408.9 kB / 0.7324 GB, free: 3.926 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.8682, allocations: 358 kB / 0.7327 GB, free: 3.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.8684, allocations: 171.2 kB / 0.7329 GB, free: 3.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.8685, allocations: 37.7 kB / 0.7329 GB, free: 3.277 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.8685, allocations: 97.62 kB / 0.733 GB, free: 3.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.638e-05/0.8686, allocations: 114.5 kB / 0.7331 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.8688, allocations: 98.22 kB / 0.7332 GB, free: 2.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8689, allocations: 326.8 kB / 0.7335 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.8693, allocations: 125 kB / 0.7336 GB, free: 2.516 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.8696, allocations: 164.9 kB / 0.7338 GB, free: 2.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.8702, allocations: 267.4 kB / 0.7341 GB, free: 2.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8702, allocations: 4 kB / 0.7341 GB, free: 2.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007502/0.8709, allocations: 380.7 kB / 0.7344 GB, free: 1.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.871, allocations: 8 kB / 0.7344 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.871, allocations: 0 / 0.7344 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.871, allocations: 4.75 kB / 0.7344 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.8714, allocations: 75.88 kB / 0.7345 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.8714, allocations: 8 kB / 0.7345 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.8717, allocations: 47.66 kB / 0.7346 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.8717, allocations: 27.92 kB / 0.7346 GB, free: 1.527 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 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.8719, allocations: 146.8 kB / 0.7347 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.872, allocations: 27.66 kB / 0.7347 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.8727, allocations: 366.1 kB / 0.7351 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.8727, allocations: 8 kB / 0.7351 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.8727, allocations: 4 kB / 0.7351 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.8727, allocations: 4 kB / 0.7351 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.8731, allocations: 353.1 kB / 0.7355 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.8731, allocations: 7.938 kB / 0.7355 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.8734, allocations: 71.91 kB / 0.7355 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.8734, allocations: 4 kB / 0.7355 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.8735, allocations: 19.98 kB / 0.7355 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.8735, allocations: 7.938 kB / 0.7356 GB, free: 476 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8735, allocations: 4 kB / 0.7356 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.8742, allocations: 497.8 kB / 0.736 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.8743, allocations: 152.6 kB / 0.7362 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.8744, allocations: 23.89 kB / 0.7362 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.8747, allocations: 27.98 kB / 0.7362 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.8748, allocations: 51.81 kB / 0.7363 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.8748, allocations: 27.92 kB / 0.7363 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001079/0.8749, allocations: 139.8 kB / 0.7364 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8749, allocations: 0 / 0.7364 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006036/0.8755, allocations: 215.7 kB / 0.7366 GB, free: 15.28 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005379/0.8761, allocations: 325.1 kB / 0.737 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006351/0.8767, allocations: 329.9 kB / 0.7373 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.8767, allocations: 4 kB / 0.7373 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.877, allocations: 187.7 kB / 0.7375 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.8773, allocations: 35.23 kB / 0.7375 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/0.8783, allocations: 0.6373 MB / 0.7381 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.8787, allocations: 0.7614 MB / 0.7389 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002139/0.8789, allocations: 57.77 kB / 0.7389 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.879, allocations: 47.41 kB / 0.739 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.879, allocations: 0 / 0.739 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.01037/0.8894, allocations: 5.33 MB / 0.7442 GB, free: 7.543 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (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)