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.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001273/0.001272, allocations: 194.6 kB / 16.14 MB, free: 6.699 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.624/1.624, allocations: 205.1 MB / 222 MB, free: 4.758 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.622/1.622, allocations: 251.7 MB / 0.5088 GB, free: 3.332 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.001864/0.001864, allocations: 63.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7166, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002801/0.7195, allocations: 0.9651 MB / 0.7248 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003679/0.7232, allocations: 2.577 MB / 0.7273 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.7233, allocations: 7.938 kB / 0.7273 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.169e-05/0.7234, allocations: 3.938 kB / 0.7273 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.7237, allocations: 51.67 kB / 0.7273 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009185/0.7246, allocations: 418.8 kB / 0.7277 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.725, allocations: 295.1 kB / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.7251, allocations: 19.66 kB / 0.728 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.7253, allocations: 135.5 kB / 0.7282 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.7256, allocations: 147.5 kB / 0.7283 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.7256, allocations: 12 kB / 0.7283 GB, free: 8.504 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005563/0.7262, allocations: 295.8 kB / 0.7286 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.277e-05/0.7263, allocations: 63.83 kB / 0.7287 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.7264, allocations: 115.4 kB / 0.7288 GB, free: 8.039 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007276/0.7271, allocations: 0.5338 MB / 0.7293 GB, free: 7.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.7272, allocations: 3.938 kB / 0.7293 GB, free: 7.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7272, allocations: 0 / 0.7293 GB, free: 7.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.7272, allocations: 0 / 0.7293 GB, free: 7.5 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.001515/0.7287, allocations: 0.6645 MB / 0.73 GB, free: 6.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.7288, allocations: 12.03 kB / 0.73 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.7289, allocations: 20.75 kB / 0.73 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.7291, allocations: 200.7 kB / 0.7302 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.7293, allocations: 127.4 kB / 0.7303 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.7294, allocations: 20.38 kB / 0.7303 GB, free: 6.348 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.7298, allocations: 235.9 kB / 0.7305 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.7298, allocations: 3.984 kB / 0.7305 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.7298, allocations: 4 kB / 0.7305 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.7298, allocations: 4 kB / 0.7306 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.7301, allocations: 115.7 kB / 0.7307 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.7306, allocations: 403.1 kB / 0.731 GB, free: 5.473 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.732, allocations: 487.3 kB / 0.7315 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.7323, allocations: 166.2 kB / 0.7317 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.7323, allocations: 4 kB / 0.7317 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005962/0.7329, allocations: 323.4 kB / 0.732 GB, free: 4.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 3.767e-06/0.7329, allocations: 0 / 0.732 GB, free: 4.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.00091/0.7339, allocations: 421.5 kB / 0.7324 GB, free: 3.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002098/0.7341, allocations: 354.6 kB / 0.7327 GB, free: 3.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.7343, allocations: 175.9 kB / 0.7329 GB, free: 3.297 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.7343, allocations: 37.7 kB / 0.7329 GB, free: 3.254 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.7344, allocations: 93.14 kB / 0.733 GB, free: 3.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.7345, allocations: 114.4 kB / 0.7331 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.7347, allocations: 90.23 kB / 0.7332 GB, free: 2.953 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.7349, allocations: 334.8 kB / 0.7335 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.7351, allocations: 122 kB / 0.7336 GB, free: 2.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.7355, allocations: 161 kB / 0.7338 GB, free: 2.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/0.736, allocations: 273 kB / 0.7341 GB, free: 2.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.736, allocations: 3.938 kB / 0.7341 GB, free: 2.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007432/0.7368, allocations: 380.3 kB / 0.7344 GB, free: 1.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.7368, allocations: 8 kB / 0.7344 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7368, allocations: 0 / 0.7344 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.7368, allocations: 4 kB / 0.7344 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.7372, allocations: 79.81 kB / 0.7345 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.7373, allocations: 8 kB / 0.7345 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.7375, allocations: 47.67 kB / 0.7346 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.7376, allocations: 15.98 kB / 0.7346 GB, free: 1.52 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.0001794/0.7378, allocations: 153.8 kB / 0.7347 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.7378, allocations: 27.66 kB / 0.7348 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006685/0.7385, allocations: 362.1 kB / 0.7351 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.7385, allocations: 12 kB / 0.7351 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.7386, allocations: 0 / 0.7351 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.7386, allocations: 7.984 kB / 0.7351 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.739, allocations: 353.1 kB / 0.7355 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.739, allocations: 3.938 kB / 0.7355 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.7393, allocations: 75.84 kB / 0.7355 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.7393, allocations: 4 kB / 0.7355 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.7393, allocations: 19.98 kB / 0.7356 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.7393, allocations: 8 kB / 0.7356 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7394, allocations: 4 kB / 0.7356 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.7401, allocations: 498.3 kB / 0.736 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.7403, allocations: 156.5 kB / 0.7362 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.7404, allocations: 19.91 kB / 0.7362 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.7406, allocations: 31.97 kB / 0.7362 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.7407, allocations: 55.81 kB / 0.7363 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.7408, allocations: 23.98 kB / 0.7363 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001155/0.7409, allocations: 131.8 kB / 0.7364 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7409, allocations: 0 / 0.7364 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006869/0.7416, allocations: 219.7 kB / 0.7367 GB, free: 15.26 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.0005924/0.7422, allocations: 324.7 kB / 0.737 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006367/0.7428, allocations: 333.7 kB / 0.7373 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7428, allocations: 0 / 0.7373 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.7431, allocations: 187.7 kB / 0.7375 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.7435, allocations: 28 kB / 0.7375 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.7446, allocations: 0.6422 MB / 0.7381 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.745, allocations: 0.7574 MB / 0.7389 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.7452, allocations: 59.25 kB / 0.7389 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.7453, allocations: 47.41 kB / 0.739 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of SimCode: time 3.206e-06/0.7453, allocations: 0 / 0.739 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.0106/0.7559, allocations: 5.311 MB / 0.7441 GB, free: 7.508 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)