Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.612/1.612, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.195/3.195, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.081e-05, allocations: 2.281 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001995/0.002026, allocations: 0.8476 MB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.005487, allocations: 2.416 MB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.00557, allocations: 0 / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.718e-05/0.005617, allocations: 15.81 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.005844, allocations: 47.55 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.007173, allocations: 0.5019 MB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.007588, allocations: 334.9 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.007645, allocations: 5.812 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.008015, allocations: 199.7 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.008228, allocations: 127.7 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.008284, allocations: 28 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000691/0.008975, allocations: 379.6 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.647e-05/0.009062, allocations: 71.77 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.00918, allocations: 87.84 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009689/0.01015, allocations: 0.6621 MB / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.01015, allocations: 0 / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01015, allocations: 0 / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.01016, allocations: 0 / 1.007 GB, free: 7.336 MB / 0.9636 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.001381/0.01154, allocations: 0.6039 MB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.01158, allocations: 12.69 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009337/0.01251, allocations: 88.77 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.01266, allocations: 130.3 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.0129, allocations: 234.2 kB / 1.008 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.01295, allocations: 20.31 kB / 1.008 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.01336, allocations: 244.2 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01337, allocations: 4.188 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.0134, allocations: 8.125 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.0134, allocations: 4 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.01365, allocations: 119.7 kB / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.01407, allocations: 283 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.01559, allocations: 487.3 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.01583, allocations: 150.2 kB / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.01587, allocations: 8 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.01636, allocations: 319.5 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=40): time 1.873e-06/0.01636, allocations: 4 kB / 1.009 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.0008856/0.01725, allocations: 413 kB / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000236/0.01748, allocations: 354.1 kB / 1.01 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.01766, allocations: 175.2 kB / 1.01 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.01771, allocations: 37.7 kB / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.01778, allocations: 97.09 kB / 1.01 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.0179, allocations: 115.1 kB / 1.01 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.01804, allocations: 98.61 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.01823, allocations: 334.8 kB / 1.011 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.01851, allocations: 120.9 kB / 1.011 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.01883, allocations: 172.3 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/0.01953, allocations: 264.6 kB / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01953, allocations: 0 / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007915/0.02032, allocations: 379.3 kB / 1.012 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.02034, allocations: 4 kB / 1.012 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.02035, allocations: 8 kB / 1.012 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.02036, allocations: 7.922 kB / 1.012 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.02074, allocations: 79.83 kB / 1.012 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.02075, allocations: 4 kB / 1.012 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.02101, allocations: 47.75 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.02106, allocations: 19.98 kB / 1.012 GB, free: 1.434 MB / 0.9636 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.0001764/0.02123, allocations: 159.4 kB / 1.012 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.0213, allocations: 27.86 kB / 1.012 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/0.022, allocations: 354.3 kB / 1.012 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.02201, allocations: 15.94 kB / 1.012 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.02203, allocations: 8 kB / 1.012 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.02204, allocations: 3.984 kB / 1.012 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.02238, allocations: 245 kB / 1.013 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.02238, allocations: 4 kB / 1.013 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.02268, allocations: 79.83 kB / 1.013 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.02268, allocations: 4 kB / 1.013 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.02271, allocations: 16 kB / 1.013 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.02272, allocations: 7.984 kB / 1.013 GB, free: 500 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.02273, allocations: 12.06 kB / 1.013 GB, free: 488 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.02354, allocations: 0.4886 MB / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.0237, allocations: 71.62 kB / 1.013 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.02375, allocations: 23.98 kB / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.02399, allocations: 23.98 kB / 1.013 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.0241, allocations: 55.84 kB / 1.013 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.02414, allocations: 20 kB / 1.013 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001147/0.02425, allocations: 128.6 kB / 1.014 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.02425, allocations: 0 / 1.014 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005967/0.02485, allocations: 227.2 kB / 1.014 GB, free: 15.39 MB / 0.9792 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.0006127/0.02546, allocations: 364.1 kB / 1.014 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006696/0.02613, allocations: 322.3 kB / 1.014 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.02613, allocations: 0 / 1.014 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.02645, allocations: 167.7 kB / 1.015 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.02671, allocations: 35.92 kB / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.02772, allocations: 0.5482 MB / 1.015 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.0279, allocations: 151.6 kB / 1.015 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.0281, allocations: 60.8 kB / 1.015 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.02823, allocations: 52.47 kB / 1.015 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of SimCode: time 4.1e-07/0.02823, allocations: 0 / 1.015 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of Templates: time 0.01213/0.04036, allocations: 5.792 MB / 1.021 GB, free: 7.883 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.149638704024255]