Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.491/2.491, allocations: 285 MB / 292.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001505, allocations: 172.9 kB / 360.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 87.97 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.977e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8591/0.8591, allocations: 115.3 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.239/1.098, allocations: 137.9 MB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.099, allocations: 76.14 kB / 1.098 GB, free: 2.492 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.05493/1.153, allocations: 10 MB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.273e-06/1.154, allocations: 0 / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.185e-05/1.154, allocations: 11.94 kB / 1.108 GB, free: 8.551 MB / 0.7136 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.001894/1.155, allocations: 0.6036 MB / 1.109 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/1.156, allocations: 12.03 kB / 1.109 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/1.156, allocations: 21.02 kB / 1.109 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/1.156, allocations: 206.7 kB / 1.109 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/1.156, allocations: 4 kB / 1.109 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/1.156, allocations: 12 kB / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003714/1.156, allocations: 89.53 kB / 1.109 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/1.157, allocations: 238.6 kB / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.157, allocations: 0 / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/1.157, allocations: 4 kB / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/1.157, allocations: 4 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/1.158, allocations: 0.9169 MB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/1.161, allocations: 471.4 kB / 1.11 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/1.161, allocations: 142.6 kB / 1.111 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/1.161, allocations: 12 kB / 1.111 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006365/1.162, allocations: 289 kB / 1.111 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.687e-06/1.162, allocations: 3.938 kB / 1.111 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.003809/1.166, allocations: 495.3 kB / 1.111 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/1.166, allocations: 350.1 kB / 1.112 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/1.166, allocations: 160.4 kB / 1.112 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/1.166, allocations: 35.02 kB / 1.112 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/1.166, allocations: 101.3 kB / 1.112 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/1.166, allocations: 106.5 kB / 1.112 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/1.167, allocations: 64 / 1.112 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.167, allocations: 330.8 kB / 1.112 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/1.167, allocations: 97.05 kB / 1.112 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/1.167, allocations: 155.3 kB / 1.113 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004863/1.172, allocations: 451.2 kB / 1.113 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.172, allocations: 0 / 1.113 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005659/1.178, allocations: 0.6466 MB / 1.114 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/1.178, allocations: 4 kB / 1.114 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.178, allocations: 4 kB / 1.114 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/1.178, allocations: 4 kB / 1.114 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/1.179, allocations: 63.89 kB / 1.114 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/1.179, allocations: 7.984 kB / 1.114 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/1.179, allocations: 47.67 kB / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/1.179, allocations: 27.94 kB / 1.114 GB, free: 1.984 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0002039/1.18, allocations: 131.8 kB / 1.114 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/1.18, allocations: 23.72 kB / 1.114 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/1.181, allocations: 332.4 kB / 1.114 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.181, allocations: 12 kB / 1.114 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.181, allocations: 6.938 kB / 1.114 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/1.181, allocations: 6.891 kB / 1.114 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/1.182, allocations: 305.6 kB / 1.115 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/1.182, allocations: 4 kB / 1.115 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/1.182, allocations: 75.84 kB / 1.115 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/1.182, allocations: 4 kB / 1.115 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/1.182, allocations: 15.98 kB / 1.115 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/1.182, allocations: 8 kB / 1.115 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.182, allocations: 4 kB / 1.115 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003903/1.186, allocations: 0.7735 MB / 1.115 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/1.187, allocations: 152.5 kB / 1.116 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/1.187, allocations: 8 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/1.187, allocations: 31.97 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.187, allocations: 55.83 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/1.187, allocations: 26.48 kB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000167/1.188, allocations: 119.8 kB / 1.116 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.3e-07/1.188, allocations: 0 / 1.116 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001108/1.189, allocations: 199.7 kB / 1.116 GB, free: 15.54 MB / 0.7292 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) * 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.0009697/1.19, allocations: 318 kB / 1.116 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002556/1.192, allocations: 2.962 MB / 1.119 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.192, allocations: 0 / 1.119 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005476/1.193, allocations: 167.7 kB / 1.119 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/1.193, allocations: 19.69 kB / 1.119 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.195, allocations: 408.9 kB / 1.12 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/1.195, allocations: 0.7651 MB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000408/1.195, allocations: 55.98 kB / 1.121 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/1.196, allocations: 47.36 kB / 1.121 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of SimCode: time 1.092e-06/1.196, allocations: 0 / 1.121 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.01513/1.211, allocations: 4.72 MB / 1.125 GB, free: 6.004 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)