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.00839/0.00839, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001503/0.001502, allocations: 190.4 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.732/1.732, allocations: 205.1 MB / 222.6 MB, free: 4.391 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.698/1.698, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.001528/0.001528, allocations: 67.91 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3098, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.00369/0.3135, allocations: 0.9126 MB / 0.8289 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006868/0.3205, allocations: 2.53 MB / 0.8314 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.3207, allocations: 3.938 kB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.737e-05/0.3208, allocations: 11.81 kB / 0.8314 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.3214, allocations: 43.62 kB / 0.8314 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.324, allocations: 0.4944 MB / 0.8319 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006884/0.3247, allocations: 319.1 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3248, allocations: 21.62 kB / 0.8323 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.3253, allocations: 143.6 kB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.3258, allocations: 151.5 kB / 0.8325 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.3259, allocations: 24 kB / 0.8326 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.3274, allocations: 367.7 kB / 0.8329 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.3276, allocations: 75.78 kB / 0.833 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.3279, allocations: 115.5 kB / 0.8331 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.3296, allocations: 0.5493 MB / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3297, allocations: 0 / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3297, allocations: 3.938 kB / 0.8336 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.3297, allocations: 0 / 0.8336 GB, free: 10.45 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.002664/0.3324, allocations: 0.6606 MB / 0.8343 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/0.3325, allocations: 16.03 kB / 0.8343 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.3327, allocations: 20.75 kB / 0.8343 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.333, allocations: 196.7 kB / 0.8345 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/0.3333, allocations: 127.3 kB / 0.8346 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.3335, allocations: 28.36 kB / 0.8347 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.3341, allocations: 240.4 kB / 0.8349 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3342, allocations: 0 / 0.8349 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.3342, allocations: 8 kB / 0.8349 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.3343, allocations: 4 kB / 0.8349 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.3347, allocations: 115.7 kB / 0.835 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/0.3356, allocations: 395.2 kB / 0.8354 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.3381, allocations: 491.3 kB / 0.8358 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.3386, allocations: 162.3 kB / 0.836 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.74e-05/0.3387, allocations: 11.97 kB / 0.836 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008278/0.3395, allocations: 319.4 kB / 0.8363 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 6.061e-06/0.3395, allocations: 0 / 0.8363 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.001679/0.3412, allocations: 409.6 kB / 0.8367 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002645/0.3415, allocations: 358.6 kB / 0.8371 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.3418, allocations: 175.2 kB / 0.8372 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.031e-05/0.3419, allocations: 37.7 kB / 0.8373 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.342, allocations: 101.1 kB / 0.8373 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.3422, allocations: 110.5 kB / 0.8375 GB, free: 6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.3425, allocations: 94.22 kB / 0.8375 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.3427, allocations: 330.8 kB / 0.8379 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.3433, allocations: 121 kB / 0.838 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.3439, allocations: 169 kB / 0.8381 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.3449, allocations: 269.8 kB / 0.8384 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.3449, allocations: 1 kB / 0.8384 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001207/0.3462, allocations: 384.8 kB / 0.8388 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.3462, allocations: 4 kB / 0.8388 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3462, allocations: 0 / 0.8388 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.3463, allocations: 4 kB / 0.8388 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.3469, allocations: 83.81 kB / 0.8388 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.3469, allocations: 0 / 0.8388 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.3474, allocations: 47.66 kB / 0.8389 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/0.3475, allocations: 23.98 kB / 0.8389 GB, free: 4.469 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.0002822/0.3478, allocations: 157.7 kB / 0.8391 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.3479, allocations: 31.59 kB / 0.8391 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.3492, allocations: 350.2 kB / 0.8394 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.3492, allocations: 15.92 kB / 0.8394 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.3492, allocations: 8 kB / 0.8395 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.3493, allocations: 4 kB / 0.8395 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.35, allocations: 349.1 kB / 0.8398 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.35, allocations: 7.938 kB / 0.8398 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.3505, allocations: 71.84 kB / 0.8399 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.841e-05/0.3505, allocations: 8 kB / 0.8399 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.3506, allocations: 19.98 kB / 0.8399 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.3506, allocations: 7.938 kB / 0.8399 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.3506, allocations: 4 kB / 0.8399 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.3519, allocations: 0.4942 MB / 0.8404 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.3522, allocations: 152.8 kB / 0.8405 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/0.3524, allocations: 23.84 kB / 0.8406 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.3528, allocations: 31.95 kB / 0.8406 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.353, allocations: 51.88 kB / 0.8406 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.3531, allocations: 27.98 kB / 0.8407 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001623/0.3533, allocations: 127.2 kB / 0.8408 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3533, allocations: 0 / 0.8408 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00111/0.3544, allocations: 215.7 kB / 0.841 GB, free: 2.207 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.001054/0.3555, allocations: 321 kB / 0.8413 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.3567, allocations: 331.6 kB / 0.8416 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3567, allocations: 0 / 0.8416 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.3572, allocations: 191.7 kB / 0.8418 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.3577, allocations: 31.75 kB / 0.8418 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.3593, allocations: 0.5495 MB / 0.8424 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.3599, allocations: 0.7611 MB / 0.8431 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000317/0.3602, allocations: 55.7 kB / 0.8432 GB, free: 15.89 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.3604, allocations: 51.34 kB / 0.8432 GB, free: 15.84 MB / 0.67 GB Notification: Performance of SimCode: time 8.82e-07/0.3605, allocations: 3.938 kB / 0.8432 GB, free: 15.84 MB / 0.67 GB Notification: Performance of Templates: time 0.01919/0.3797, allocations: 5.681 MB / 0.8488 GB, free: 10.21 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)