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.001129/0.001129, 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.001288/0.001289, allocations: 193.8 kB / 16.13 MB, free: 6.656 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.743/1.743, allocations: 205.1 MB / 222 MB, free: 4.734 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.614/1.614, allocations: 251.6 MB / 0.5088 GB, free: 3.375 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.001681/0.001681, allocations: 63.91 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7138/0.7155, 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.SunRiseSetPositiveStartTime): time 0.003823/0.7194, allocations: 0.9612 MB / 0.7248 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004557/0.724, allocations: 2.58 MB / 0.7273 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.7241, allocations: 0 / 0.7273 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.067e-05/0.7242, allocations: 11.86 kB / 0.7273 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.7246, allocations: 43.69 kB / 0.7273 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.7265, allocations: 417.7 kB / 0.7277 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.727, allocations: 311 kB / 0.728 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.7271, allocations: 19.64 kB / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.7274, allocations: 127.6 kB / 0.7282 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.7277, allocations: 151.4 kB / 0.7283 GB, free: 8.539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.7278, allocations: 12 kB / 0.7283 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008554/0.7287, allocations: 299.8 kB / 0.7286 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.7288, allocations: 55.8 kB / 0.7287 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.729, allocations: 107.5 kB / 0.7288 GB, free: 8.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008766/0.7299, allocations: 0.5377 MB / 0.7293 GB, free: 7.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7299, allocations: 0 / 0.7293 GB, free: 7.535 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.646e-06/0.7299, allocations: 3.984 kB / 0.7293 GB, free: 7.531 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.7299, allocations: 0 / 0.7293 GB, free: 7.531 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.001433/0.7313, allocations: 0.6606 MB / 0.7299 GB, free: 6.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7314, allocations: 12.02 kB / 0.7299 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.943e-05/0.7315, allocations: 20.75 kB / 0.73 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.7317, allocations: 196.7 kB / 0.7302 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.7318, allocations: 131.4 kB / 0.7303 GB, free: 6.402 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.7319, allocations: 16.38 kB / 0.7303 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.7323, allocations: 247.8 kB / 0.7305 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7323, allocations: 0 / 0.7305 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.7323, allocations: 8 kB / 0.7305 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.7323, allocations: 8 kB / 0.7305 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.7326, allocations: 115.7 kB / 0.7307 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.7331, allocations: 391.2 kB / 0.731 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.7346, allocations: 0.4915 MB / 0.7315 GB, free: 4.906 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.7348, allocations: 162.2 kB / 0.7317 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.7349, allocations: 15.92 kB / 0.7317 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005133/0.7354, allocations: 311.5 kB / 0.732 GB, free: 4.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.683e-06/0.7354, allocations: 0 / 0.732 GB, free: 4.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0008163/0.7362, allocations: 412.9 kB / 0.7324 GB, free: 3.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002034/0.7364, allocations: 354.1 kB / 0.7327 GB, free: 3.508 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.7366, allocations: 171.9 kB / 0.7329 GB, free: 3.332 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.7366, allocations: 41.7 kB / 0.7329 GB, free: 3.285 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.7367, allocations: 97.62 kB / 0.733 GB, free: 3.188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.7368, allocations: 114.5 kB / 0.7331 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.737, allocations: 94.22 kB / 0.7332 GB, free: 2.977 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7371, allocations: 330.8 kB / 0.7335 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.7374, allocations: 117.1 kB / 0.7336 GB, free: 2.531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.7377, allocations: 168.9 kB / 0.7338 GB, free: 2.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.7382, allocations: 267.2 kB / 0.734 GB, free: 2.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7382, allocations: 0 / 0.734 GB, free: 2.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007169/0.739, allocations: 379.8 kB / 0.7344 GB, free: 1.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.739, allocations: 8 kB / 0.7344 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.739, allocations: 0 / 0.7344 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.739, allocations: 4 kB / 0.7344 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.7394, allocations: 75.88 kB / 0.7345 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.7394, allocations: 8 kB / 0.7345 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.7397, allocations: 55.59 kB / 0.7346 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.7398, allocations: 23.98 kB / 0.7346 GB, free: 1.539 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.0001698/0.7399, allocations: 150.5 kB / 0.7347 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.74, allocations: 31.64 kB / 0.7347 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.7407, allocations: 358.1 kB / 0.7351 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.7407, allocations: 12 kB / 0.7351 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.7407, allocations: 0 / 0.7351 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7408, allocations: 7.984 kB / 0.7351 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.7412, allocations: 353.1 kB / 0.7354 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.7412, allocations: 3.938 kB / 0.7354 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.7415, allocations: 75.84 kB / 0.7355 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.7415, allocations: 7.984 kB / 0.7355 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.7415, allocations: 12 kB / 0.7355 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.7416, allocations: 11.94 kB / 0.7356 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7416, allocations: 0 / 0.7356 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.7423, allocations: 0.4942 MB / 0.736 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.7424, allocations: 152.6 kB / 0.7362 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.7425, allocations: 23.89 kB / 0.7362 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.7427, allocations: 31.97 kB / 0.7362 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.7429, allocations: 51.81 kB / 0.7363 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.7429, allocations: 20 kB / 0.7363 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.483e-05/0.743, allocations: 135.7 kB / 0.7364 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.743, allocations: 4 kB / 0.7364 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005692/0.7436, allocations: 215.7 kB / 0.7366 GB, free: 15.29 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.0005244/0.7441, allocations: 324.8 kB / 0.737 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006084/0.7447, allocations: 331 kB / 0.7373 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7448, allocations: 0 / 0.7373 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.745, allocations: 187.7 kB / 0.7374 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.0002735/0.7453, allocations: 37.72 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.0009817/0.7463, allocations: 0.6373 MB / 0.7381 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.7466, allocations: 0.7575 MB / 0.7388 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.7469, allocations: 63.25 kB / 0.7389 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.747, allocations: 43.41 kB / 0.7389 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.747, allocations: 4 kB / 0.7389 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.009301/0.7563, allocations: 5.331 MB / 0.7442 GB, free: 7.551 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)