Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.001855/0.001855, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002032/0.002032, allocations: 213.7 kB / 23.02 MB, free: 2.949 MB / 13.93 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.668/1.668, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.5/3.5, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003719/0.003719, allocations: 71.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.004, allocations: 180 MB / 1.353 GB, free: 1.613 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002631/1.006, allocations: 0.8421 MB / 1.354 GB, free: 0.7734 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.003936/1.01, allocations: 2.415 MB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/1.01, allocations: 3.938 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.623e-05/1.01, allocations: 15.8 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002246/1.011, allocations: 47.62 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/1.012, allocations: 0.5022 MB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004162/1.012, allocations: 311.1 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/1.012, allocations: 9.797 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/1.013, allocations: 155.6 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/1.013, allocations: 139.4 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/1.013, allocations: 24 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007856/1.014, allocations: 387.6 kB / 1.358 GB, free: 12.77 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.72e-05/1.014, allocations: 63.86 kB / 1.358 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/1.014, allocations: 103.6 kB / 1.358 GB, free: 12.6 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009185/1.015, allocations: 0.5801 MB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.015, allocations: 0 / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.833e-06/1.015, allocations: 0 / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.015, allocations: 0 / 1.358 GB, free: 12.02 MB / 1.042 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.001495/1.017, allocations: 0.6115 MB / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.017, allocations: 8.922 kB / 1.359 GB, free: 11.37 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.018, allocations: 84.77 kB / 1.359 GB, free: 11.29 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/1.018, allocations: 139 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/1.018, allocations: 230.2 kB / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/1.018, allocations: 24.31 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/1.019, allocations: 247.9 kB / 1.36 GB, free: 10.54 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.019, allocations: 0 / 1.36 GB, free: 10.54 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/1.019, allocations: 8 kB / 1.36 GB, free: 10.53 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/1.019, allocations: 4 kB / 1.36 GB, free: 10.53 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/1.019, allocations: 115.7 kB / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/1.019, allocations: 287 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/1.021, allocations: 487.2 kB / 1.36 GB, free: 9.484 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/1.021, allocations: 146.3 kB / 1.361 GB, free: 9.305 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/1.021, allocations: 8 kB / 1.361 GB, free: 9.297 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005578/1.022, allocations: 311.5 kB / 1.361 GB, free: 8.941 MB / 1.042 GB Notification: Performance of pre-optimization done (n=40): time 2.524e-06/1.022, allocations: 4 kB / 1.361 GB, free: 8.938 MB / 1.042 GB Notification: Performance of matching and sorting (n=40): time 0.0009786/1.023, allocations: 424.9 kB / 1.361 GB, free: 8.516 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002579/1.023, allocations: 354.1 kB / 1.362 GB, free: 8.09 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/1.023, allocations: 173 kB / 1.362 GB, free: 7.91 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/1.023, allocations: 41.7 kB / 1.362 GB, free: 7.863 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/1.023, allocations: 97.09 kB / 1.362 GB, free: 7.766 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/1.024, allocations: 123 kB / 1.362 GB, free: 7.645 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/1.024, allocations: 98.12 kB / 1.362 GB, free: 7.543 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003881/1.024, allocations: 331.3 kB / 1.362 GB, free: 7.211 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/1.024, allocations: 120.9 kB / 1.363 GB, free: 7.094 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/1.025, allocations: 164.4 kB / 1.363 GB, free: 6.922 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/1.025, allocations: 268.4 kB / 1.363 GB, free: 6.652 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.025, allocations: 0 / 1.363 GB, free: 6.652 MB / 1.042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008552/1.026, allocations: 372.2 kB / 1.363 GB, free: 6.285 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.026, allocations: 11.92 kB / 1.363 GB, free: 6.273 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.026, allocations: 0 / 1.363 GB, free: 6.273 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/1.026, allocations: 8 kB / 1.363 GB, free: 6.266 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/1.027, allocations: 83.7 kB / 1.363 GB, free: 6.184 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/1.027, allocations: 7.984 kB / 1.363 GB, free: 6.176 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/1.027, allocations: 47.77 kB / 1.364 GB, free: 6.129 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/1.027, allocations: 19.98 kB / 1.364 GB, free: 6.109 MB / 1.042 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.0002258/1.027, allocations: 150.5 kB / 1.364 GB, free: 5.957 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/1.027, allocations: 31.8 kB / 1.364 GB, free: 5.926 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000823/1.028, allocations: 363.3 kB / 1.364 GB, free: 5.566 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.028, allocations: 8 kB / 1.364 GB, free: 5.559 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.028, allocations: 4 kB / 1.364 GB, free: 5.555 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.028, allocations: 11.98 kB / 1.364 GB, free: 5.543 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/1.029, allocations: 245 kB / 1.364 GB, free: 5.273 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.029, allocations: 4 kB / 1.364 GB, free: 5.27 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/1.029, allocations: 75.83 kB / 1.364 GB, free: 5.195 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/1.029, allocations: 8 kB / 1.364 GB, free: 5.188 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/1.029, allocations: 23.92 kB / 1.364 GB, free: 5.164 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/1.029, allocations: 4 kB / 1.364 GB, free: 5.16 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/1.029, allocations: 4 kB / 1.364 GB, free: 5.156 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/1.03, allocations: 492.5 kB / 1.365 GB, free: 4.617 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/1.03, allocations: 75.62 kB / 1.365 GB, free: 4.543 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/1.03, allocations: 31.91 kB / 1.365 GB, free: 4.512 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/1.031, allocations: 27.98 kB / 1.365 GB, free: 4.484 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.031, allocations: 55.84 kB / 1.365 GB, free: 4.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/1.031, allocations: 24 kB / 1.365 GB, free: 4.406 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001271/1.031, allocations: 123.2 kB / 1.365 GB, free: 4.285 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/1.031, allocations: 0 / 1.365 GB, free: 4.285 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007037/1.032, allocations: 231.2 kB / 1.365 GB, free: 4.059 MB / 1.042 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.0007685/1.032, allocations: 340.8 kB / 1.366 GB, free: 3.715 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0007965/1.033, allocations: 326.4 kB / 1.366 GB, free: 3.398 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.033, allocations: 0 / 1.366 GB, free: 3.398 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/1.033, allocations: 167.7 kB / 1.366 GB, free: 3.234 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/1.034, allocations: 35.73 kB / 1.366 GB, free: 3.199 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/1.035, allocations: 0.5416 MB / 1.367 GB, free: 2.598 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/1.035, allocations: 163.3 kB / 1.367 GB, free: 2.422 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0002252/1.035, allocations: 63.23 kB / 1.367 GB, free: 2.355 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/1.035, allocations: 43.42 kB / 1.367 GB, free: 2.312 MB / 1.042 GB Notification: Performance of SimCode: time 7.52e-07/1.035, allocations: 0 / 1.367 GB, free: 2.312 MB / 1.042 GB Notification: Performance of Templates: time 0.01312/1.049, allocations: 5.96 MB / 1.373 GB, free: 12.39 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.812164788134396]