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.63/1.63, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001419/0.001419, allocations: 184.8 kB / 361.4 MB, free: 6.84 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.711/1.711, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008274/0.0008276, allocations: 98.16 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.732e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.8064, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/1.085, allocations: 138.1 MB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.085, allocations: 75.16 kB / 1.099 GB, free: 1.699 MB / 0.698 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.03405/1.119, allocations: 10.01 MB / 1.109 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.102e-06/1.119, allocations: 0 / 1.109 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.306e-05/1.12, allocations: 4 kB / 1.109 GB, free: 7.758 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.00138/1.121, allocations: 0.6108 MB / 1.11 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.121, allocations: 9.719 kB / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/1.121, allocations: 20.84 kB / 1.11 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/1.121, allocations: 195.7 kB / 1.11 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/1.121, allocations: 8 kB / 1.11 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.104e-05/1.121, allocations: 12 kB / 1.11 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002539/1.122, allocations: 87.97 kB / 1.11 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/1.122, allocations: 238.6 kB / 1.11 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.122, allocations: 0 / 1.11 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/1.122, allocations: 4 kB / 1.11 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/1.122, allocations: 8 kB / 1.11 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/1.123, allocations: 0.913 MB / 1.111 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/1.125, allocations: 471.4 kB / 1.112 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/1.125, allocations: 139.9 kB / 1.112 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.088e-05/1.125, allocations: 23.95 kB / 1.112 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005348/1.125, allocations: 283.8 kB / 1.112 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.396e-06/1.125, allocations: 0 / 1.112 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.002555/1.128, allocations: 499.1 kB / 1.112 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000237/1.128, allocations: 350.1 kB / 1.113 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/1.128, allocations: 158.3 kB / 1.113 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/1.129, allocations: 37.7 kB / 1.113 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/1.129, allocations: 101.3 kB / 1.113 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/1.129, allocations: 110.5 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/1.129, allocations: 0 / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001892/1.129, allocations: 330.8 kB / 1.113 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/1.129, allocations: 89.11 kB / 1.114 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/1.13, allocations: 167.3 kB / 1.114 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/1.133, allocations: 442.2 kB / 1.114 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.133, allocations: 0 / 1.114 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003406/1.136, allocations: 0.6422 MB / 1.115 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.136, allocations: 9.094 kB / 1.115 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.136, allocations: 0 / 1.115 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.136, allocations: 5.219 kB / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/1.136, allocations: 71.89 kB / 1.115 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.137, allocations: 7.984 kB / 1.115 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/1.137, allocations: 44.05 kB / 1.115 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/1.137, allocations: 23.98 kB / 1.115 GB, free: 1.191 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.0001804/1.137, allocations: 135.9 kB / 1.115 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/1.137, allocations: 31.66 kB / 1.115 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006671/1.138, allocations: 320.4 kB / 1.115 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.138, allocations: 12.03 kB / 1.115 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.138, allocations: 4 kB / 1.115 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.138, allocations: 7.984 kB / 1.115 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/1.138, allocations: 304.7 kB / 1.116 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.138, allocations: 8 kB / 1.116 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/1.139, allocations: 74.56 kB / 1.116 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/1.139, allocations: 8 kB / 1.116 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/1.139, allocations: 11.98 kB / 1.116 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.139, allocations: 8 kB / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/1.139, allocations: 4 kB / 1.116 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/1.141, allocations: 0.7696 MB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/1.142, allocations: 156.5 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/1.142, allocations: 8 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/1.142, allocations: 31.97 kB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.142, allocations: 51.88 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/1.142, allocations: 27.98 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001217/1.142, allocations: 127.2 kB / 1.117 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.142, allocations: 0 / 1.117 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007872/1.143, allocations: 199.7 kB / 1.117 GB, free: 14.75 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.0008137/1.144, allocations: 313.6 kB / 1.117 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002167/1.146, allocations: 2.962 MB / 1.12 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.146, allocations: 224 / 1.12 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/1.146, allocations: 168.9 kB / 1.12 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/1.147, allocations: 19.73 kB / 1.121 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008714/1.147, allocations: 416.5 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/1.148, allocations: 0.769 MB / 1.122 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002415/1.148, allocations: 51.98 kB / 1.122 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/1.148, allocations: 44.64 kB / 1.122 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of SimCode: time 5.06e-06/1.148, allocations: 0 / 1.122 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of Templates: time 0.01006/1.158, allocations: 4.73 MB / 1.126 GB, free: 5.195 MB / 0.7292 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)