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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.596/2.596, allocations: 285 MB / 292.5 MB, free: 10.52 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.001493/0.001492, allocations: 176.9 kB / 360.7 MB, free: 7.254 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.154/2.154, allocations: 205.3 MB / 0.6192 GB, free: 12.13 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.001028/0.001028, allocations: 92.56 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.533e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.928/0.9281, allocations: 115.2 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2325/1.161, allocations: 137.9 MB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.161, allocations: 73.66 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.05992/1.221, allocations: 10 MB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.515e-06/1.221, allocations: 4 kB / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.869e-05/1.221, allocations: 4 kB / 1.108 GB, free: 8.562 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.00287/1.224, allocations: 0.6069 MB / 1.109 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/1.224, allocations: 12.03 kB / 1.109 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/1.224, allocations: 25.02 kB / 1.109 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/1.225, allocations: 191.5 kB / 1.109 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/1.225, allocations: 7.984 kB / 1.109 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/1.225, allocations: 12 kB / 1.109 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000545/1.225, allocations: 91.95 kB / 1.109 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/1.226, allocations: 242.6 kB / 1.109 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.226, allocations: 0 / 1.109 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/1.226, allocations: 4 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/1.226, allocations: 4 kB / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/1.228, allocations: 0.913 MB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/1.232, allocations: 474.1 kB / 1.11 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005492/1.232, allocations: 138.6 kB / 1.111 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.786e-05/1.232, allocations: 19.97 kB / 1.111 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008663/1.233, allocations: 288 kB / 1.111 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 5.69e-06/1.233, allocations: 0 / 1.111 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.005572/1.239, allocations: 0.489 MB / 1.111 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002323/1.239, allocations: 342.1 kB / 1.112 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/1.239, allocations: 160.4 kB / 1.112 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.522e-05/1.24, allocations: 37.69 kB / 1.112 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/1.24, allocations: 101.3 kB / 1.112 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/1.24, allocations: 110.7 kB / 1.112 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/1.24, allocations: 0 / 1.112 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.24, allocations: 330.8 kB / 1.112 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/1.241, allocations: 93.11 kB / 1.112 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/1.241, allocations: 163.2 kB / 1.113 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007254/1.248, allocations: 447.5 kB / 1.113 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/1.248, allocations: 0 / 1.113 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.009109/1.258, allocations: 0.645 MB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/1.258, allocations: 4.781 kB / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.258, allocations: 4 kB / 1.114 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.258, allocations: 4 kB / 1.114 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009379/1.259, allocations: 63.89 kB / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.259, allocations: 7.984 kB / 1.114 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/1.26, allocations: 53.17 kB / 1.114 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/1.26, allocations: 23.94 kB / 1.114 GB, free: 1.992 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.0002983/1.26, allocations: 134.2 kB / 1.114 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/1.26, allocations: 27.66 kB / 1.114 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/1.262, allocations: 331.5 kB / 1.114 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/1.262, allocations: 8 kB / 1.114 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/1.262, allocations: 4 kB / 1.114 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/1.262, allocations: 7.984 kB / 1.114 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/1.263, allocations: 297.6 kB / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.263, allocations: 7.438 kB / 1.115 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009009/1.264, allocations: 75.84 kB / 1.115 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.533e-05/1.264, allocations: 4 kB / 1.115 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.372e-05/1.264, allocations: 19.98 kB / 1.115 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.565e-05/1.264, allocations: 4 kB / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/1.264, allocations: 4 kB / 1.115 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006824/1.271, allocations: 0.7735 MB / 1.115 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/1.271, allocations: 154 kB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.272, allocations: 8 kB / 1.116 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/1.272, allocations: 35.97 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/1.273, allocations: 51.66 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-05/1.273, allocations: 23.98 kB / 1.116 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002277/1.273, allocations: 123.3 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.71e-07/1.273, allocations: 0 / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001545/1.274, allocations: 203.7 kB / 1.116 GB, free: 15.55 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.001267/1.276, allocations: 314 kB / 1.116 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003568/1.279, allocations: 2.961 MB / 1.119 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/1.279, allocations: 4 kB / 1.119 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007553/1.28, allocations: 170.1 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.0004329/1.281, allocations: 16.3 kB / 1.119 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/1.282, allocations: 408.8 kB / 1.12 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/1.283, allocations: 0.7651 MB / 1.121 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005875/1.284, allocations: 52 kB / 1.121 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/1.284, allocations: 47.41 kB / 1.121 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of SimCode: time 3.968e-06/1.284, allocations: 0 / 1.121 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.02213/1.306, allocations: 4.731 MB / 1.125 GB, free: 6.004 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)