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.008239/0.008245, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.00152/0.00152, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.796/1.796, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.661/1.661, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.001472/0.001472, allocations: 71.88 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3112, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002884/0.3142, allocations: 0.9165 MB / 0.8289 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003689/0.3179, allocations: 2.522 MB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.318, allocations: 4 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.212e-05/0.3181, allocations: 11.81 kB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.3185, allocations: 47.56 kB / 0.8314 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.3198, allocations: 0.4983 MB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.3202, allocations: 315.1 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.657e-05/0.3203, allocations: 17.67 kB / 0.8323 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.3205, allocations: 143.6 kB / 0.8324 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.3207, allocations: 151.5 kB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.3208, allocations: 24 kB / 0.8326 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.3214, allocations: 375.6 kB / 0.8329 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.3215, allocations: 67.8 kB / 0.833 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.3216, allocations: 119.5 kB / 0.8331 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007269/0.3224, allocations: 0.5494 MB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3224, allocations: 0 / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3224, allocations: 0 / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.3224, allocations: 0 / 0.8336 GB, free: 10.43 MB / 0.6544 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.001551/0.324, allocations: 0.6606 MB / 0.8343 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.324, allocations: 12.03 kB / 0.8343 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3242, allocations: 20.75 kB / 0.8343 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.3243, allocations: 192.7 kB / 0.8345 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.3245, allocations: 127.4 kB / 0.8346 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/0.3246, allocations: 24.3 kB / 0.8346 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.325, allocations: 244.4 kB / 0.8349 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.325, allocations: 0 / 0.8349 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.3251, allocations: 8 kB / 0.8349 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3251, allocations: 7.984 kB / 0.8349 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.3253, allocations: 115.7 kB / 0.835 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.3259, allocations: 391.2 kB / 0.8354 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.3275, allocations: 0.4914 MB / 0.8358 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.3278, allocations: 158.3 kB / 0.836 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.3278, allocations: 7.938 kB / 0.836 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006698/0.3285, allocations: 315.5 kB / 0.8363 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 1.674e-06/0.3285, allocations: 0 / 0.8363 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0009508/0.3295, allocations: 413.8 kB / 0.8367 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002455/0.3297, allocations: 358.6 kB / 0.837 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.3299, allocations: 167.2 kB / 0.8372 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.33, allocations: 45.69 kB / 0.8372 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.3301, allocations: 97.12 kB / 0.8373 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.3302, allocations: 110.5 kB / 0.8374 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.3304, allocations: 98.22 kB / 0.8375 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3305, allocations: 330.8 kB / 0.8379 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.3308, allocations: 113.1 kB / 0.838 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.3311, allocations: 176.9 kB / 0.8381 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.3317, allocations: 264.9 kB / 0.8384 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3317, allocations: 0 / 0.8384 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007603/0.3325, allocations: 383.5 kB / 0.8387 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3325, allocations: 8 kB / 0.8388 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3325, allocations: 4 kB / 0.8388 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3325, allocations: 0 / 0.8388 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.3329, allocations: 75.88 kB / 0.8388 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.333, allocations: 7.938 kB / 0.8388 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.3333, allocations: 51.59 kB / 0.8389 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.3333, allocations: 19.98 kB / 0.8389 GB, free: 4.445 MB / 0.6544 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.0001719/0.3335, allocations: 166.4 kB / 0.8391 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.3336, allocations: 27.66 kB / 0.8391 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006799/0.3343, allocations: 354.1 kB / 0.8394 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3343, allocations: 8 kB / 0.8394 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.3343, allocations: 4 kB / 0.8394 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3343, allocations: 7.984 kB / 0.8395 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.3347, allocations: 345.1 kB / 0.8398 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3347, allocations: 11.94 kB / 0.8398 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.335, allocations: 76.2 kB / 0.8399 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.335, allocations: 4 kB / 0.8399 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.3351, allocations: 19.98 kB / 0.8399 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.3351, allocations: 7.938 kB / 0.8399 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3351, allocations: 7.938 kB / 0.8399 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008464/0.3359, allocations: 0.49 MB / 0.8404 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.3362, allocations: 156.6 kB / 0.8405 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.3362, allocations: 19.91 kB / 0.8405 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.3365, allocations: 27.97 kB / 0.8406 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.3366, allocations: 55.81 kB / 0.8406 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.3367, allocations: 20 kB / 0.8406 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001111/0.3368, allocations: 131.2 kB / 0.8408 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3368, allocations: 4 kB / 0.8408 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007169/0.3375, allocations: 215.7 kB / 0.841 GB, free: 2.184 MB / 0.6544 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.0006429/0.3382, allocations: 317.2 kB / 0.8413 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006994/0.3389, allocations: 340.1 kB / 0.8416 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3389, allocations: 4 kB / 0.8416 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.3392, allocations: 180.6 kB / 0.8418 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.3395, allocations: 39.73 kB / 0.8418 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3405, allocations: 0.5497 MB / 0.8424 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3409, allocations: 0.7533 MB / 0.8431 GB, free: 15.92 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001906/0.3411, allocations: 59.94 kB / 0.8432 GB, free: 15.87 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3412, allocations: 51.41 kB / 0.8432 GB, free: 15.82 MB / 0.67 GB Notification: Performance of SimCode: time 2.174e-06/0.3412, allocations: 4 kB / 0.8432 GB, free: 15.81 MB / 0.67 GB Notification: Performance of Templates: time 0.01084/0.3521, allocations: 5.676 MB / 0.8487 GB, free: 10.19 MB / 0.67 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)