Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.00194/0.00194, 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.002301/0.002301, allocations: 220 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.696/1.696, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.493/3.493, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00378/0.00378, allocations: 67.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9747/0.9785, allocations: 180 MB / 1.353 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002266/0.9807, allocations: 0.8453 MB / 1.354 GB, free: 0.7656 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.9844, allocations: 2.42 MB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.9845, allocations: 3.938 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.9846, allocations: 11.81 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.9848, allocations: 47.61 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.986, allocations: 0.5018 MB / 1.357 GB, free: 13.76 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.9864, allocations: 319.1 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.9864, allocations: 9.812 kB / 1.357 GB, free: 13.44 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.9867, allocations: 147.6 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.987, allocations: 139.5 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.987, allocations: 24 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.9878, allocations: 391.6 kB / 1.358 GB, free: 12.75 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.34e-05/0.9879, allocations: 63.86 kB / 1.358 GB, free: 12.69 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.988, allocations: 99.61 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008333/0.9888, allocations: 0.5762 MB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9888, allocations: 0 / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9888, allocations: 3.938 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.9888, allocations: 0 / 1.358 GB, free: 12.01 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.00144/0.9903, allocations: 0.6077 MB / 1.359 GB, free: 11.37 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.9903, allocations: 8.031 kB / 1.359 GB, free: 11.36 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009776/0.9913, allocations: 88.72 kB / 1.359 GB, free: 11.28 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.9915, allocations: 135 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.9917, allocations: 242.1 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.9918, allocations: 16.38 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.9922, allocations: 248.4 kB / 1.36 GB, free: 10.53 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.9922, allocations: 4 kB / 1.36 GB, free: 10.53 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.9922, allocations: 4 kB / 1.36 GB, free: 10.52 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.9923, allocations: 4 kB / 1.36 GB, free: 10.52 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.9925, allocations: 115.7 kB / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.993, allocations: 287 kB / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.9946, allocations: 483.3 kB / 1.36 GB, free: 9.48 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.9948, allocations: 154.2 kB / 1.361 GB, free: 9.293 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.9949, allocations: 8 kB / 1.361 GB, free: 9.285 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000514/0.9954, allocations: 307.5 kB / 1.361 GB, free: 8.934 MB / 1.042 GB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.9954, allocations: 4 kB / 1.361 GB, free: 8.93 MB / 1.042 GB Notification: Performance of matching and sorting (n=40): time 0.000952/0.9963, allocations: 425.5 kB / 1.361 GB, free: 8.508 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002341/0.9966, allocations: 342.1 kB / 1.362 GB, free: 8.094 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.9968, allocations: 185 kB / 1.362 GB, free: 7.902 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.9968, allocations: 37.7 kB / 1.362 GB, free: 7.859 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.9969, allocations: 101.1 kB / 1.362 GB, free: 7.758 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.997, allocations: 115.1 kB / 1.362 GB, free: 7.645 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.9972, allocations: 102.5 kB / 1.362 GB, free: 7.539 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.9974, allocations: 342.8 kB / 1.363 GB, free: 7.195 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.9977, allocations: 112.9 kB / 1.363 GB, free: 7.086 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.998, allocations: 168.3 kB / 1.363 GB, free: 6.91 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.9987, allocations: 266.3 kB / 1.363 GB, free: 6.645 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9987, allocations: 0 / 1.363 GB, free: 6.645 MB / 1.042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000821/0.9995, allocations: 374.3 kB / 1.363 GB, free: 6.273 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.9995, allocations: 11.94 kB / 1.363 GB, free: 6.262 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.9995, allocations: 4 kB / 1.363 GB, free: 6.258 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.9995, allocations: 4 kB / 1.363 GB, free: 6.254 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/1, allocations: 79.81 kB / 1.363 GB, free: 6.176 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1, allocations: 4 kB / 1.363 GB, free: 6.172 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/1, allocations: 47.75 kB / 1.364 GB, free: 6.125 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/1, allocations: 15.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.0001872/1, allocations: 153.8 kB / 1.364 GB, free: 5.953 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/1.001, allocations: 27.8 kB / 1.364 GB, free: 5.926 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/1.001, allocations: 367.5 kB / 1.364 GB, free: 5.562 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.001, allocations: 12 kB / 1.364 GB, free: 5.551 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.001, allocations: 8 kB / 1.364 GB, free: 5.543 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.001, allocations: 3.984 kB / 1.364 GB, free: 5.539 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/1.002, allocations: 249 kB / 1.364 GB, free: 5.266 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.002, allocations: 4 kB / 1.364 GB, free: 5.262 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/1.002, allocations: 71.84 kB / 1.364 GB, free: 5.191 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/1.002, allocations: 4 kB / 1.364 GB, free: 5.188 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/1.002, allocations: 23.92 kB / 1.364 GB, free: 5.164 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/1.002, allocations: 4 kB / 1.364 GB, free: 5.16 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.002, allocations: 4 kB / 1.364 GB, free: 5.156 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008603/1.003, allocations: 0.4925 MB / 1.365 GB, free: 4.605 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/1.003, allocations: 75.62 kB / 1.365 GB, free: 4.531 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/1.003, allocations: 23.94 kB / 1.365 GB, free: 4.508 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/1.003, allocations: 27.97 kB / 1.365 GB, free: 4.48 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/1.004, allocations: 51.86 kB / 1.365 GB, free: 4.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/1.004, allocations: 23.98 kB / 1.365 GB, free: 4.406 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001218/1.004, allocations: 123.2 kB / 1.365 GB, free: 4.285 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/1.004, allocations: 0 / 1.365 GB, free: 4.285 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007528/1.005, allocations: 231.1 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.0006488/1.005, allocations: 348.1 kB / 1.366 GB, free: 3.707 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0007498/1.006, allocations: 322.5 kB / 1.366 GB, free: 3.395 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.006, allocations: 0 / 1.366 GB, free: 3.395 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/1.006, allocations: 176.5 kB / 1.366 GB, free: 3.223 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/1.007, allocations: 31.75 kB / 1.366 GB, free: 3.191 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/1.008, allocations: 0.5534 MB / 1.367 GB, free: 2.578 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/1.008, allocations: 159.4 kB / 1.367 GB, free: 2.406 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0002104/1.008, allocations: 58.52 kB / 1.367 GB, free: 2.348 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/1.008, allocations: 43.41 kB / 1.367 GB, free: 2.305 MB / 1.042 GB Notification: Performance of SimCode: time 8.12e-07/1.008, allocations: 0 / 1.367 GB, free: 2.305 MB / 1.042 GB Notification: Performance of Templates: time 0.01272/1.021, allocations: 5.964 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.SunRiseSetPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.672085520811379]