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.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.001107/0.001108, allocations: 176.5 kB / 372.9 MB, free: 10.16 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.918 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.0007568/0.0007569, allocations: 93.06 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004551, allocations: 16.78 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2719, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7172/0.9892, allocations: 138.8 MB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001657/0.9894, allocations: 73.02 kB / 1.116 GB, free: 16.46 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.02949/1.019, allocations: 10.12 MB / 1.126 GB, free: 31.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.695e-06/1.019, allocations: 4 kB / 1.126 GB, free: 31.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.137e-06/1.019, allocations: 7.75 kB / 1.126 GB, free: 31.61 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.001239/1.02, allocations: 0.6194 MB / 1.127 GB, free: 31.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/1.02, allocations: 7.625 kB / 1.127 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/1.02, allocations: 31.91 kB / 1.127 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/1.02, allocations: 186.6 kB / 1.127 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/1.021, allocations: 126.9 kB / 1.127 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/1.021, allocations: 23.53 kB / 1.127 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/1.021, allocations: 253.2 kB / 1.127 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.021, allocations: 3.938 kB / 1.127 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/1.021, allocations: 11.28 kB / 1.127 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.021, allocations: 3.844 kB / 1.127 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/1.021, allocations: 122.8 kB / 1.128 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/1.022, allocations: 0.9543 MB / 1.129 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/1.023, allocations: 493.3 kB / 1.129 GB, free: 29.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/1.024, allocations: 152.3 kB / 1.129 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/1.024, allocations: 14.66 kB / 1.129 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/1.024, allocations: 305.7 kB / 1.129 GB, free: 29.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/1.024, allocations: 7.797 kB / 1.129 GB, free: 29.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0006704/1.025, allocations: 390.7 kB / 1.13 GB, free: 29.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/1.025, allocations: 352.2 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/1.025, allocations: 178.8 kB / 1.13 GB, free: 28.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/1.025, allocations: 42.02 kB / 1.13 GB, free: 28.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/1.025, allocations: 104.9 kB / 1.13 GB, free: 28.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/1.025, allocations: 117.1 kB / 1.131 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/1.025, allocations: 11.09 kB / 1.131 GB, free: 28.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.025, allocations: 334.5 kB / 1.131 GB, free: 28.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/1.026, allocations: 105.1 kB / 1.131 GB, free: 28.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/1.026, allocations: 184.6 kB / 1.131 GB, free: 28.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/1.026, allocations: 269.8 kB / 1.131 GB, free: 27.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.026, allocations: 0 / 1.131 GB, free: 27.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006298/1.027, allocations: 372.5 kB / 1.132 GB, free: 27.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.027, allocations: 11.66 kB / 1.132 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.027, allocations: 3.984 kB / 1.132 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.027, allocations: 3.875 kB / 1.132 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/1.027, allocations: 76.5 kB / 1.132 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.027, allocations: 3.844 kB / 1.132 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/1.028, allocations: 65.34 kB / 1.132 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/1.028, allocations: 26.92 kB / 1.132 GB, free: 27.8 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.0001541/1.028, allocations: 157.1 kB / 1.132 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/1.028, allocations: 19.38 kB / 1.132 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000595/1.028, allocations: 369.3 kB / 1.133 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.028, allocations: 7.75 kB / 1.133 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/1.029, allocations: 7.828 kB / 1.133 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.029, allocations: 3.844 kB / 1.133 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/1.029, allocations: 352.8 kB / 1.133 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/1.029, allocations: 3.844 kB / 1.133 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/1.029, allocations: 69.41 kB / 1.133 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.029, allocations: 3.844 kB / 1.133 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/1.029, allocations: 19.98 kB / 1.133 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.029, allocations: 11.75 kB / 1.133 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.029, allocations: 4 kB / 1.133 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/1.03, allocations: 487.3 kB / 1.133 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/1.03, allocations: 150.8 kB / 1.134 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/1.03, allocations: 10.84 kB / 1.134 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/1.03, allocations: 42.84 kB / 1.134 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.03, allocations: 57.69 kB / 1.134 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/1.03, allocations: 23.14 kB / 1.134 GB, free: 26.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.98e-05/1.03, allocations: 125 kB / 1.134 GB, free: 26.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.03, allocations: 0 / 1.134 GB, free: 26.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006886/1.031, allocations: 216.2 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.0004898/1.032, allocations: 322.2 kB / 1.134 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005217/1.032, allocations: 322.6 kB / 1.135 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.032, allocations: 3.812 kB / 1.135 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/1.032, allocations: 180 kB / 1.135 GB, free: 26.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/1.033, allocations: 42.77 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.0008118/1.034, allocations: 0.6423 MB / 1.136 GB, free: 25.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/1.034, allocations: 0.7633 MB / 1.136 GB, free: 25.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002237/1.034, allocations: 53.39 kB / 1.136 GB, free: 25.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/1.034, allocations: 45.38 kB / 1.136 GB, free: 25.21 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.034, allocations: 0 / 1.136 GB, free: 25.21 MB / 0.698 GB Notification: Performance of Templates: time 0.007341/1.042, allocations: 4.704 MB / 1.141 GB, free: 22.81 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)