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.827/2.827, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001525/0.001525, allocations: 177 kB / 371 MB, free: 10.77 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.139/2.139, allocations: 205.4 MB / 0.6297 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001691/0.001691, allocations: 90.19 kB / 0.743 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004843, allocations: 11.61 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.253, allocations: 138.6 MB / 1.114 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/1.254, allocations: 70.02 kB / 1.114 GB, free: 15.67 MB / 0.6823 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.05272/1.307, allocations: 10.09 MB / 1.124 GB, free: 30.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/1.307, allocations: 0 / 1.124 GB, free: 30.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.169e-05/1.307, allocations: 3.875 kB / 1.124 GB, free: 30.83 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.001869/1.309, allocations: 0.631 MB / 1.124 GB, free: 30.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.309, allocations: 11.67 kB / 1.124 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/1.309, allocations: 23.25 kB / 1.124 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.309, allocations: 190 kB / 1.125 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/1.309, allocations: 136.6 kB / 1.125 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/1.309, allocations: 19.09 kB / 1.125 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/1.31, allocations: 249.8 kB / 1.125 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.31, allocations: 3.938 kB / 1.125 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/1.31, allocations: 11.84 kB / 1.125 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/1.31, allocations: 3.844 kB / 1.125 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/1.31, allocations: 117.3 kB / 1.125 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/1.311, allocations: 0.9481 MB / 1.126 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/1.314, allocations: 494.4 kB / 1.126 GB, free: 28.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/1.314, allocations: 18.17 kB / 1.126 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006142/1.314, allocations: 305.8 kB / 1.127 GB, free: 28.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 4.599e-06/1.314, allocations: 0 / 1.127 GB, free: 28.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001228/1.316, allocations: 405.3 kB / 1.127 GB, free: 28.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/1.316, allocations: 356.6 kB / 1.127 GB, free: 28.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/1.316, allocations: 158.4 kB / 1.128 GB, free: 27.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/1.316, allocations: 37.33 kB / 1.128 GB, free: 27.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/1.316, allocations: 107.9 kB / 1.128 GB, free: 27.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/1.316, allocations: 111.1 kB / 1.128 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/1.316, allocations: 11.03 kB / 1.128 GB, free: 27.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.317, allocations: 330.9 kB / 1.128 GB, free: 27.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/1.317, allocations: 103.2 kB / 1.128 GB, free: 27.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/1.317, allocations: 188.2 kB / 1.128 GB, free: 27.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/1.318, allocations: 112.8 kB / 1.129 GB, free: 27.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.318, allocations: 0 / 1.129 GB, free: 27.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001145/1.319, allocations: 369.8 kB / 1.129 GB, free: 27.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.319, allocations: 7.719 kB / 1.129 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.319, allocations: 0 / 1.129 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.319, allocations: 3.875 kB / 1.129 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/1.32, allocations: 81.55 kB / 1.129 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.32, allocations: 7.922 kB / 1.129 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/1.32, allocations: 62.09 kB / 1.129 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/1.321, allocations: 21.45 kB / 1.129 GB, free: 27.27 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.0002485/1.321, allocations: 156.7 kB / 1.129 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/1.321, allocations: 28.91 kB / 1.129 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/1.322, allocations: 357 kB / 1.13 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.322, allocations: 7.703 kB / 1.13 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.322, allocations: 11.77 kB / 1.13 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/1.322, allocations: 10.84 kB / 1.13 GB, free: 27.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/1.323, allocations: 352.8 kB / 1.13 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/1.323, allocations: 4.281 kB / 1.13 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/1.323, allocations: 72.89 kB / 1.13 GB, free: 26.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/1.323, allocations: 3.812 kB / 1.13 GB, free: 26.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/1.323, allocations: 20.67 kB / 1.13 GB, free: 26.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/1.323, allocations: 10.42 kB / 1.13 GB, free: 26.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.323, allocations: 7.938 kB / 1.13 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009841/1.324, allocations: 0.6079 MB / 1.131 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/1.324, allocations: 150.6 kB / 1.131 GB, free: 26.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/1.325, allocations: 17.92 kB / 1.131 GB, free: 26.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/1.325, allocations: 35.02 kB / 1.131 GB, free: 26.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.325, allocations: 51.88 kB / 1.131 GB, free: 26.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/1.325, allocations: 26.22 kB / 1.131 GB, free: 26.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001389/1.325, allocations: 123.7 kB / 1.131 GB, free: 26.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.325, allocations: 0 / 1.131 GB, free: 26.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009673/1.326, allocations: 218.1 kB / 1.131 GB, free: 26.2 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.0007594/1.327, allocations: 319.9 kB / 1.132 GB, free: 26.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009304/1.328, allocations: 322.6 kB / 1.132 GB, free: 26.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.328, allocations: 0 / 1.132 GB, free: 26.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004143/1.329, allocations: 184.2 kB / 1.132 GB, free: 26.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/1.329, allocations: 22.28 kB / 1.132 GB, free: 26.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/1.33, allocations: 0.6344 MB / 1.133 GB, free: 25.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/1.33, allocations: 0.7669 MB / 1.133 GB, free: 24.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003871/1.331, allocations: 50.5 kB / 1.134 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/1.331, allocations: 49.69 kB / 1.134 GB, free: 24.89 MB / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/1.331, allocations: 0 / 1.134 GB, free: 24.89 MB / 0.698 GB Notification: Performance of Templates: time 0.01518/1.346, allocations: 4.694 MB / 1.138 GB, free: 22.99 MB / 0.698 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)