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.001484/0.001484, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002272/0.002272, allocations: 186.6 kB / 16.25 MB, free: 6.578 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.787/1.787, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.662/1.662, allocations: 251.6 MB / 0.5089 GB, free: 3.32 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.001631/0.001631, allocations: 63.91 kB / 0.6218 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7404, allocations: 104.7 MB / 0.724 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002357/0.7428, allocations: 0.9652 MB / 0.7249 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.7458, allocations: 2.518 MB / 0.7274 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.735e-05/0.7459, allocations: 3.938 kB / 0.7274 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.347e-05/0.746, allocations: 11.92 kB / 0.7274 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.7463, allocations: 43.67 kB / 0.7275 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.7475, allocations: 449 kB / 0.7279 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.7478, allocations: 315.1 kB / 0.7282 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.937e-05/0.7479, allocations: 17.67 kB / 0.7282 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.7482, allocations: 147.5 kB / 0.7283 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.7484, allocations: 151.5 kB / 0.7285 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.7485, allocations: 24 kB / 0.7285 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.749, allocations: 311.8 kB / 0.7288 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.7491, allocations: 67.8 kB / 0.7289 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.7493, allocations: 119.5 kB / 0.729 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000701/0.75, allocations: 0.5493 MB / 0.7295 GB, free: 7.566 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.75, allocations: 3.938 kB / 0.7295 GB, free: 7.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.555e-06/0.75, allocations: 4 kB / 0.7295 GB, free: 7.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.75, allocations: 0 / 0.7295 GB, free: 7.559 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.001486/0.7515, allocations: 0.6606 MB / 0.7302 GB, free: 6.848 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.7516, allocations: 12.03 kB / 0.7302 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.647e-05/0.7517, allocations: 16.75 kB / 0.7302 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.7518, allocations: 194.1 kB / 0.7304 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.752, allocations: 127.4 kB / 0.7305 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.7521, allocations: 20.38 kB / 0.7305 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.7525, allocations: 239.9 kB / 0.7308 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.7525, allocations: 4 kB / 0.7308 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.7525, allocations: 8 kB / 0.7308 GB, free: 6.133 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.7525, allocations: 4 kB / 0.7308 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.7528, allocations: 119.7 kB / 0.7309 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.7532, allocations: 395.2 kB / 0.7313 GB, free: 5.543 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.7547, allocations: 499.2 kB / 0.7317 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.7549, allocations: 166.2 kB / 0.7319 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.755, allocations: 15.86 kB / 0.7319 GB, free: 4.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004433/0.7554, allocations: 311.5 kB / 0.7322 GB, free: 4.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.305e-06/0.7555, allocations: 0 / 0.7322 GB, free: 4.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0008151/0.7563, allocations: 416.8 kB / 0.7326 GB, free: 3.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002227/0.7565, allocations: 350.1 kB / 0.7329 GB, free: 3.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.7567, allocations: 175.7 kB / 0.7331 GB, free: 3.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.7567, allocations: 37.7 kB / 0.7331 GB, free: 3.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.7569, allocations: 101.1 kB / 0.7332 GB, free: 3.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.757, allocations: 110.5 kB / 0.7333 GB, free: 3.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.7572, allocations: 94.22 kB / 0.7334 GB, free: 3.012 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002551/0.7574, allocations: 338.8 kB / 0.7338 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.7577, allocations: 113.1 kB / 0.7339 GB, free: 2.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.758, allocations: 169 kB / 0.734 GB, free: 2.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.7586, allocations: 268.1 kB / 0.7343 GB, free: 2.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7586, allocations: 0 / 0.7343 GB, free: 2.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007186/0.7593, allocations: 380.6 kB / 0.7346 GB, free: 1.742 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.7594, allocations: 4 kB / 0.7346 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7594, allocations: 4 kB / 0.7347 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.7594, allocations: 4 kB / 0.7347 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.7598, allocations: 83.81 kB / 0.7347 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7598, allocations: 0 / 0.7347 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.7601, allocations: 51.66 kB / 0.7348 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.7602, allocations: 15.98 kB / 0.7348 GB, free: 1.582 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.0002013/0.7604, allocations: 162.5 kB / 0.735 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.654e-05/0.7605, allocations: 31.66 kB / 0.735 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007468/0.7612, allocations: 354.1 kB / 0.7353 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.7612, allocations: 12 kB / 0.7353 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.7613, allocations: 4 kB / 0.7353 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.7613, allocations: 7.984 kB / 0.7353 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.7617, allocations: 345.1 kB / 0.7357 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.7618, allocations: 7.938 kB / 0.7357 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.762, allocations: 75.83 kB / 0.7358 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.7621, allocations: 8 kB / 0.7358 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.7621, allocations: 16 kB / 0.7358 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.7621, allocations: 7.984 kB / 0.7358 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7621, allocations: 4 kB / 0.7358 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.7629, allocations: 498 kB / 0.7363 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.7631, allocations: 148.6 kB / 0.7364 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.7632, allocations: 23.89 kB / 0.7364 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.7635, allocations: 31.97 kB / 0.7365 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.7636, allocations: 55.83 kB / 0.7365 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.7636, allocations: 23.98 kB / 0.7365 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001181/0.7638, allocations: 139.7 kB / 0.7367 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7638, allocations: 0 / 0.7367 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006729/0.7645, allocations: 211.7 kB / 0.7369 GB, free: 15.32 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.0005597/0.765, allocations: 329 kB / 0.7372 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006734/0.7657, allocations: 361.3 kB / 0.7375 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7657, allocations: 4 kB / 0.7375 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.766, allocations: 187.7 kB / 0.7377 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.7663, allocations: 28 kB / 0.7377 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.7674, allocations: 0.6472 MB / 0.7384 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.7678, allocations: 0.7611 MB / 0.7391 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.768, allocations: 50.7 kB / 0.7392 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.7681, allocations: 47.41 kB / 0.7392 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.7682, allocations: 0 / 0.7392 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.009942/0.7781, allocations: 5.5 MB / 0.7446 GB, free: 7.391 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (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)