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.956/1.956, allocations: 288.3 MB / 303.2 MB, free: 8.254 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.001276/0.001277, allocations: 189 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001132/0.001132, allocations: 98.8 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 19.12 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8003/1.088, allocations: 138.8 MB / 1.115 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.089, allocations: 70.58 kB / 1.115 GB, free: 16.5 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.03072/1.119, allocations: 10.08 MB / 1.125 GB, free: 31.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/1.119, allocations: 0 / 1.125 GB, free: 31.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.126e-05/1.119, allocations: 3.812 kB / 1.125 GB, free: 31.66 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.001416/1.121, allocations: 0.6327 MB / 1.126 GB, free: 31.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.121, allocations: 11.73 kB / 1.126 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/1.121, allocations: 23.25 kB / 1.126 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/1.121, allocations: 192.2 kB / 1.126 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/1.121, allocations: 131.1 kB / 1.126 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/1.121, allocations: 20.72 kB / 1.126 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/1.122, allocations: 247.9 kB / 1.126 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.122, allocations: 7.938 kB / 1.126 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/1.122, allocations: 10.34 kB / 1.126 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/1.122, allocations: 3.844 kB / 1.126 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/1.122, allocations: 114.5 kB / 1.126 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009129/1.123, allocations: 0.9522 MB / 1.127 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/1.124, allocations: 496.6 kB / 1.128 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/1.124, allocations: 14.48 kB / 1.128 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/1.125, allocations: 307.6 kB / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/1.125, allocations: 0 / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0007066/1.125, allocations: 393.5 kB / 1.128 GB, free: 29.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/1.126, allocations: 363.1 kB / 1.129 GB, free: 28.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/1.126, allocations: 158.1 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/1.126, allocations: 46.64 kB / 1.129 GB, free: 28.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/1.126, allocations: 105.7 kB / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/1.126, allocations: 108.9 kB / 1.129 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/1.126, allocations: 6.5 kB / 1.129 GB, free: 28.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.126, allocations: 332 kB / 1.129 GB, free: 28.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/1.126, allocations: 108 kB / 1.13 GB, free: 28.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/1.127, allocations: 183.5 kB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/1.127, allocations: 109.8 kB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.127, allocations: 3.969 kB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005998/1.127, allocations: 369.3 kB / 1.13 GB, free: 28.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.127, allocations: 5.406 kB / 1.13 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.127, allocations: 7.844 kB / 1.13 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/1.127, allocations: 3.844 kB / 1.13 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/1.128, allocations: 84.55 kB / 1.13 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.128, allocations: 3.844 kB / 1.13 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/1.128, allocations: 59.97 kB / 1.13 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/1.128, allocations: 29.14 kB / 1.13 GB, free: 28.09 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.0001716/1.128, allocations: 150.1 kB / 1.13 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/1.128, allocations: 33.83 kB / 1.131 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/1.129, allocations: 354.5 kB / 1.131 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.129, allocations: 7.688 kB / 1.131 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.129, allocations: 7.875 kB / 1.131 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.129, allocations: 7.859 kB / 1.131 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/1.13, allocations: 355.8 kB / 1.131 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.13, allocations: 3.969 kB / 1.131 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/1.13, allocations: 73.56 kB / 1.131 GB, free: 27.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/1.13, allocations: 7.594 kB / 1.131 GB, free: 27.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/1.13, allocations: 21.27 kB / 1.131 GB, free: 27.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.13, allocations: 3.844 kB / 1.131 GB, free: 27.56 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.13, allocations: 7.844 kB / 1.131 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/1.131, allocations: 0.614 MB / 1.132 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/1.131, allocations: 146.7 kB / 1.132 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/1.131, allocations: 17.19 kB / 1.132 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/1.131, allocations: 38.31 kB / 1.132 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.131, allocations: 49.33 kB / 1.132 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/1.131, allocations: 29.83 kB / 1.132 GB, free: 26.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000114/1.131, allocations: 129.5 kB / 1.132 GB, free: 26.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/1.131, allocations: 0 / 1.132 GB, free: 26.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007304/1.132, allocations: 214 kB / 1.133 GB, free: 26.83 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.0005289/1.133, allocations: 321.2 kB / 1.133 GB, free: 26.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005236/1.133, allocations: 320.8 kB / 1.133 GB, free: 26.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.133, allocations: 0 / 1.133 GB, free: 26.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/1.133, allocations: 182 kB / 1.133 GB, free: 26.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/1.134, allocations: 22.81 kB / 1.133 GB, free: 26.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008332/1.134, allocations: 0.6348 MB / 1.134 GB, free: 26.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/1.135, allocations: 0.7594 MB / 1.135 GB, free: 25.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002207/1.135, allocations: 58.83 kB / 1.135 GB, free: 25.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/1.135, allocations: 45.78 kB / 1.135 GB, free: 25.33 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/1.135, allocations: 0 / 1.135 GB, free: 25.33 MB / 0.698 GB Notification: Performance of Templates: time 0.007328/1.142, allocations: 4.699 MB / 1.139 GB, free: 22.97 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)