Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.4 MB / 304.3 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 195.1 kB / 373 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 0.6317 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009658/0.0009656, allocations: 90.28 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004782, allocations: 16.47 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2468, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7029/0.9498, allocations: 138.8 MB / 1.116 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.9501, allocations: 66.64 kB / 1.116 GB, free: 16.49 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.02944/0.9795, allocations: 10.13 MB / 1.126 GB, free: 31.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9796, allocations: 0 / 1.126 GB, free: 31.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.9796, allocations: 3.812 kB / 1.126 GB, free: 31.65 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.00117/0.9807, allocations: 0.6268 MB / 1.127 GB, free: 31.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.9808, allocations: 7.656 kB / 1.127 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.9809, allocations: 24.03 kB / 1.127 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.981, allocations: 189.8 kB / 1.127 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.9811, allocations: 136.4 kB / 1.127 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.9812, allocations: 22.25 kB / 1.127 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.9815, allocations: 246.6 kB / 1.127 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.9815, allocations: 11.78 kB / 1.127 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.9815, allocations: 12.28 kB / 1.127 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9815, allocations: 7.688 kB / 1.128 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.9817, allocations: 118.2 kB / 1.128 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008135/0.9826, allocations: 0.9474 MB / 1.129 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.9838, allocations: 0.4901 MB / 1.129 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.9839, allocations: 149.5 kB / 1.129 GB, free: 29.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.984, allocations: 19.48 kB / 1.129 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003522/0.9843, allocations: 302.6 kB / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 1.863e-06/0.9844, allocations: 0 / 1.129 GB, free: 29.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.00064/0.985, allocations: 396.5 kB / 1.13 GB, free: 29.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.9851, allocations: 353.1 kB / 1.13 GB, free: 28.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.9853, allocations: 181.4 kB / 1.13 GB, free: 28.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.9853, allocations: 36.27 kB / 1.13 GB, free: 28.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.9854, allocations: 105.5 kB / 1.13 GB, free: 28.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.9854, allocations: 116.7 kB / 1.131 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.9855, allocations: 10.19 kB / 1.131 GB, free: 28.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.9856, allocations: 338.7 kB / 1.131 GB, free: 28.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.9858, allocations: 102.5 kB / 1.131 GB, free: 28.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.986, allocations: 181.1 kB / 1.131 GB, free: 28.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.9865, allocations: 280.5 kB / 1.131 GB, free: 27.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9865, allocations: 0 / 1.131 GB, free: 27.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006167/0.9871, allocations: 370.2 kB / 1.132 GB, free: 27.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.9871, allocations: 7.844 kB / 1.132 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9871, allocations: 96 / 1.132 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9872, allocations: 7.812 kB / 1.132 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.9875, allocations: 81.25 kB / 1.132 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.9875, allocations: 3.969 kB / 1.132 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.9878, allocations: 56.66 kB / 1.132 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.9879, allocations: 23.08 kB / 1.132 GB, free: 27.81 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.988, allocations: 164.1 kB / 1.132 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.9881, allocations: 23.16 kB / 1.132 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005572/0.9886, allocations: 367.8 kB / 1.133 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9886, allocations: 7.688 kB / 1.133 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.9886, allocations: 3.938 kB / 1.133 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.9887, allocations: 3.906 kB / 1.133 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.989, allocations: 363.2 kB / 1.133 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.989, allocations: 3.844 kB / 1.133 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.9892, allocations: 69.12 kB / 1.133 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9892, allocations: 3.938 kB / 1.133 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.9893, allocations: 18.36 kB / 1.133 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.9893, allocations: 7.781 kB / 1.133 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9893, allocations: 3.844 kB / 1.133 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.9898, allocations: 490.8 kB / 1.133 GB, free: 27.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.9899, allocations: 151.2 kB / 1.134 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.99, allocations: 14.44 kB / 1.134 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.9902, allocations: 38.81 kB / 1.134 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.9903, allocations: 58.22 kB / 1.134 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.9903, allocations: 26.7 kB / 1.134 GB, free: 26.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.098e-05/0.9904, allocations: 124.7 kB / 1.134 GB, free: 26.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9904, allocations: 0 / 1.134 GB, free: 26.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005913/0.991, allocations: 216.8 kB / 1.134 GB, free: 26.71 MB / 0.698 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004307/0.9915, allocations: 319.4 kB / 1.134 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.992, allocations: 314.9 kB / 1.135 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.992, allocations: 4 kB / 1.135 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.9922, allocations: 186.7 kB / 1.135 GB, free: 26.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.9925, allocations: 38.47 kB / 1.135 GB, free: 26.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007488/0.9932, allocations: 0.6418 MB / 1.136 GB, free: 25.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.9935, allocations: 0.7552 MB / 1.136 GB, free: 25.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000214/0.9938, allocations: 62.17 kB / 1.136 GB, free: 25.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.9939, allocations: 48.16 kB / 1.136 GB, free: 25.21 MB / 0.698 GB Notification: Performance of SimCode: time 1.9e-07/0.9939, allocations: 0 / 1.136 GB, free: 25.21 MB / 0.698 GB Notification: Performance of Templates: time 0.006525/1, allocations: 4.704 MB / 1.141 GB, free: 22.84 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)