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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.001224/0.001224, allocations: 177.1 kB / 371.8 MB, free: 10.29 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.918/1.918, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.0009395/0.0009395, allocations: 90.86 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.000407, allocations: 15.06 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2787, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8855/1.164, allocations: 138.8 MB / 1.115 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/1.165, allocations: 71.59 kB / 1.115 GB, free: 16.37 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.02973/1.194, allocations: 10.08 MB / 1.125 GB, free: 31.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.194, allocations: 0 / 1.125 GB, free: 31.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.194, allocations: 3.875 kB / 1.125 GB, free: 31.54 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.001287/1.196, allocations: 0.6304 MB / 1.126 GB, free: 31.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.196, allocations: 15.55 kB / 1.126 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/1.196, allocations: 23.28 kB / 1.126 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/1.196, allocations: 194.8 kB / 1.126 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/1.196, allocations: 125 kB / 1.126 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/1.196, allocations: 29.75 kB / 1.126 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/1.197, allocations: 244.2 kB / 1.126 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.197, allocations: 7.75 kB / 1.126 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/1.197, allocations: 5.969 kB / 1.126 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.197, allocations: 3.875 kB / 1.126 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/1.197, allocations: 119.2 kB / 1.126 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008541/1.198, allocations: 0.9501 MB / 1.127 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/1.199, allocations: 489.5 kB / 1.128 GB, free: 29.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/1.199, allocations: 22.12 kB / 1.128 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/1.2, allocations: 302.4 kB / 1.128 GB, free: 29.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/1.2, allocations: 0 / 1.128 GB, free: 29.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0007214/1.2, allocations: 396.4 kB / 1.128 GB, free: 29.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/1.2, allocations: 364 kB / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/1.201, allocations: 153.3 kB / 1.129 GB, free: 28.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/1.201, allocations: 40.02 kB / 1.129 GB, free: 28.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/1.201, allocations: 101.9 kB / 1.129 GB, free: 28.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.264e-05/1.201, allocations: 121.6 kB / 1.129 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/1.201, allocations: 10.91 kB / 1.129 GB, free: 28.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.201, allocations: 335.1 kB / 1.129 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/1.201, allocations: 106.5 kB / 1.13 GB, free: 28.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/1.201, allocations: 174.1 kB / 1.13 GB, free: 28.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/1.202, allocations: 122.7 kB / 1.13 GB, free: 28.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.202, allocations: 0 / 1.13 GB, free: 28.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006179/1.202, allocations: 365.2 kB / 1.13 GB, free: 28.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.202, allocations: 9.406 kB / 1.13 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.202, allocations: 0 / 1.13 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.202, allocations: 7.844 kB / 1.13 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/1.203, allocations: 84.45 kB / 1.13 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.203, allocations: 7.781 kB / 1.13 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/1.203, allocations: 58.91 kB / 1.13 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/1.203, allocations: 25.08 kB / 1.13 GB, free: 27.97 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.00016/1.203, allocations: 154.1 kB / 1.13 GB, free: 27.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/1.203, allocations: 30 kB / 1.131 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/1.204, allocations: 362.5 kB / 1.131 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.204, allocations: 7.688 kB / 1.131 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.204, allocations: 3.969 kB / 1.131 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.204, allocations: 3.875 kB / 1.131 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/1.204, allocations: 353.6 kB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.204, allocations: 3.844 kB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/1.205, allocations: 77.62 kB / 1.131 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/1.205, allocations: 3.875 kB / 1.131 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/1.205, allocations: 18.45 kB / 1.131 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/1.205, allocations: 7.688 kB / 1.131 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.205, allocations: 3.938 kB / 1.131 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/1.206, allocations: 0.6141 MB / 1.132 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/1.206, allocations: 147.6 kB / 1.132 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/1.206, allocations: 18.7 kB / 1.132 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/1.206, allocations: 37.95 kB / 1.132 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.206, allocations: 53.62 kB / 1.132 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/1.206, allocations: 18.88 kB / 1.132 GB, free: 26.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000122/1.206, allocations: 134.3 kB / 1.132 GB, free: 26.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.206, allocations: 0 / 1.132 GB, free: 26.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009109/1.207, allocations: 218.8 kB / 1.133 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.0005879/1.208, allocations: 318.6 kB / 1.133 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005663/1.208, allocations: 319.7 kB / 1.133 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.208, allocations: 0 / 1.133 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/1.209, allocations: 190 kB / 1.133 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.0001807/1.209, allocations: 27.22 kB / 1.133 GB, free: 26.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/1.21, allocations: 0.6264 MB / 1.134 GB, free: 26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/1.21, allocations: 0.767 MB / 1.135 GB, free: 25.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002256/1.21, allocations: 54.72 kB / 1.135 GB, free: 25.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/1.21, allocations: 46.25 kB / 1.135 GB, free: 25.21 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/1.21, allocations: 0 / 1.135 GB, free: 25.21 MB / 0.698 GB Notification: Performance of Templates: time 0.007991/1.218, allocations: 4.699 MB / 1.139 GB, free: 22.85 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)