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.525/2.525, allocations: 284.8 MB / 297.3 MB, free: 6.312 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.001527/0.001527, allocations: 184.8 kB / 365.7 MB, free: 2.586 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.104/2.104, allocations: 205.1 MB / 0.6241 GB, free: 8.172 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.001106/0.001106, allocations: 96.81 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.287e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8961/0.8962, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2323/1.129, allocations: 138.6 MB / 1.105 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/1.129, allocations: 75.05 kB / 1.105 GB, free: 13.8 MB / 0.7136 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.05452/1.183, allocations: 10.05 MB / 1.115 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.794e-06/1.183, allocations: 0 / 1.115 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.193e-05/1.183, allocations: 4 kB / 1.115 GB, free: 3.801 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.001864/1.185, allocations: 0.6092 MB / 1.116 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.185, allocations: 8.031 kB / 1.116 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/1.186, allocations: 25.02 kB / 1.116 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/1.186, allocations: 193.7 kB / 1.116 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/1.186, allocations: 126.7 kB / 1.116 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/1.186, allocations: 27.98 kB / 1.116 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005344/1.187, allocations: 243.7 kB / 1.116 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.187, allocations: 0 / 1.116 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/1.187, allocations: 12 kB / 1.116 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/1.187, allocations: 4 kB / 1.116 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/1.187, allocations: 119.8 kB / 1.117 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/1.188, allocations: 0.9628 MB / 1.117 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/1.191, allocations: 483.4 kB / 1.118 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/1.191, allocations: 146.7 kB / 1.118 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.695e-05/1.191, allocations: 11.94 kB / 1.118 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006259/1.192, allocations: 301.4 kB / 1.118 GB, free: 136 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.657e-06/1.192, allocations: 0 / 1.118 GB, free: 136 kB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.001044/1.193, allocations: 319.4 kB / 1.119 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/1.193, allocations: 350.2 kB / 1.119 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/1.193, allocations: 160.5 kB / 1.119 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.522e-05/1.194, allocations: 45.69 kB / 1.119 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/1.194, allocations: 101 kB / 1.119 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/1.194, allocations: 110.5 kB / 1.119 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/1.194, allocations: 12 kB / 1.119 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.194, allocations: 330.8 kB / 1.12 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/1.194, allocations: 97.11 kB / 1.12 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/1.195, allocations: 172.4 kB / 1.12 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/1.195, allocations: 107.8 kB / 1.12 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.195, allocations: 0 / 1.12 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001058/1.196, allocations: 352.6 kB / 1.12 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.196, allocations: 5.25 kB / 1.12 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.196, allocations: 4 kB / 1.12 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.196, allocations: 4 kB / 1.12 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/1.197, allocations: 79.81 kB / 1.12 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/1.197, allocations: 9.438 kB / 1.121 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/1.198, allocations: 63.66 kB / 1.121 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/1.198, allocations: 19.98 kB / 1.121 GB, free: 13.71 MB / 0.7292 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): 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.0001913/1.198, allocations: 132.9 kB / 1.121 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.604e-05/1.198, allocations: 35.64 kB / 1.121 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/1.199, allocations: 360 kB / 1.121 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.199, allocations: 8 kB / 1.121 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.199, allocations: 4 kB / 1.121 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/1.199, allocations: 11.94 kB / 1.121 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/1.2, allocations: 349 kB / 1.121 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.2, allocations: 4 kB / 1.121 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/1.201, allocations: 79.83 kB / 1.122 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/1.201, allocations: 4 kB / 1.122 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/1.201, allocations: 18 kB / 1.122 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/1.201, allocations: 7.984 kB / 1.122 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.201, allocations: 8 kB / 1.122 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/1.202, allocations: 0.598 MB / 1.122 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/1.202, allocations: 152.5 kB / 1.122 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/1.202, allocations: 16 kB / 1.122 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/1.203, allocations: 43.97 kB / 1.122 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.203, allocations: 51.83 kB / 1.122 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/1.203, allocations: 25.86 kB / 1.122 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001563/1.203, allocations: 131.2 kB / 1.123 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/1.203, allocations: 0 / 1.123 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009782/1.204, allocations: 215.7 kB / 1.123 GB, free: 11.29 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.000804/1.205, allocations: 322 kB / 1.123 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009119/1.206, allocations: 305.2 kB / 1.123 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.206, allocations: 0 / 1.123 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004761/1.206, allocations: 181.5 kB / 1.124 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/1.207, allocations: 20.19 kB / 1.124 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/1.208, allocations: 435.3 kB / 1.124 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/1.208, allocations: 0.7689 MB / 1.125 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004147/1.209, allocations: 56.42 kB / 1.125 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/1.209, allocations: 55.34 kB / 1.125 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/1.209, allocations: 0 / 1.125 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.01432/1.223, allocations: 4.696 MB / 1.129 GB, free: 4.473 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)