Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.521/2.521, allocations: 287.5 MB / 303.2 MB, free: 8.211 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.001257/0.001258, allocations: 183.7 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0008943/0.000894, allocations: 98.28 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004889, allocations: 15.64 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2363, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.249, allocations: 138.7 MB / 1.115 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.249, allocations: 73.86 kB / 1.115 GB, free: 15.69 MB / 0.6823 GB [/home/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.05817/1.308, allocations: 10.12 MB / 1.125 GB, free: 30.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.258e-06/1.308, allocations: 4 kB / 1.125 GB, free: 30.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.602e-05/1.308, allocations: 7.906 kB / 1.125 GB, free: 30.85 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.002977/1.311, allocations: 0.6228 MB / 1.125 GB, free: 30.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/1.311, allocations: 11.59 kB / 1.125 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/1.311, allocations: 28.16 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/1.311, allocations: 190.5 kB / 1.125 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/1.311, allocations: 132.2 kB / 1.126 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.312, allocations: 22.41 kB / 1.126 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/1.312, allocations: 252.9 kB / 1.126 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/1.312, allocations: 3.938 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/1.312, allocations: 7.188 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/1.312, allocations: 3.875 kB / 1.126 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/1.313, allocations: 125.7 kB / 1.126 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/1.315, allocations: 0.9465 MB / 1.127 GB, free: 29.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/1.319, allocations: 0.4885 MB / 1.127 GB, free: 28.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/1.319, allocations: 153.4 kB / 1.128 GB, free: 28.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.919e-05/1.319, allocations: 6.422 kB / 1.128 GB, free: 28.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008827/1.32, allocations: 311.5 kB / 1.128 GB, free: 28.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 5.781e-06/1.32, allocations: 0 / 1.128 GB, free: 28.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001908/1.322, allocations: 397.7 kB / 1.128 GB, free: 28.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002883/1.323, allocations: 351.5 kB / 1.129 GB, free: 27.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/1.323, allocations: 179.1 kB / 1.129 GB, free: 27.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/1.323, allocations: 40.27 kB / 1.129 GB, free: 27.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/1.323, allocations: 106 kB / 1.129 GB, free: 27.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/1.323, allocations: 115.1 kB / 1.129 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/1.323, allocations: 10.5 kB / 1.129 GB, free: 27.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002112/1.324, allocations: 333.9 kB / 1.129 GB, free: 27.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/1.324, allocations: 107.8 kB / 1.129 GB, free: 27.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/1.325, allocations: 184.4 kB / 1.13 GB, free: 27.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/1.326, allocations: 271.9 kB / 1.13 GB, free: 27.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.326, allocations: 0 / 1.13 GB, free: 27.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001199/1.327, allocations: 371.8 kB / 1.13 GB, free: 27.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.327, allocations: 7.688 kB / 1.13 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.327, allocations: 0 / 1.13 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/1.327, allocations: 3.969 kB / 1.13 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/1.328, allocations: 78.06 kB / 1.13 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/1.328, allocations: 15.73 kB / 1.13 GB, free: 27.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/1.328, allocations: 59.33 kB / 1.13 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/1.328, allocations: 25.05 kB / 1.13 GB, free: 27.11 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.0002524/1.328, allocations: 156.8 kB / 1.131 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/1.329, allocations: 29.27 kB / 1.131 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/1.33, allocations: 355.5 kB / 1.131 GB, free: 26.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/1.33, allocations: 10.59 kB / 1.131 GB, free: 26.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.33, allocations: 3.812 kB / 1.131 GB, free: 26.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.33, allocations: 6.719 kB / 1.131 GB, free: 26.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/1.33, allocations: 352.7 kB / 1.131 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.33, allocations: 3.844 kB / 1.131 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/1.331, allocations: 70.41 kB / 1.131 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/1.331, allocations: 7.953 kB / 1.131 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/1.331, allocations: 17.06 kB / 1.131 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-06/1.331, allocations: 11.75 kB / 1.131 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.331, allocations: 3.875 kB / 1.131 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/1.332, allocations: 497.9 kB / 1.132 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/1.332, allocations: 144 kB / 1.132 GB, free: 26.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/1.332, allocations: 17.53 kB / 1.132 GB, free: 26.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/1.333, allocations: 40.97 kB / 1.132 GB, free: 26.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.333, allocations: 57.88 kB / 1.132 GB, free: 26.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/1.333, allocations: 21.2 kB / 1.132 GB, free: 26.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001429/1.333, allocations: 130.8 kB / 1.132 GB, free: 26.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.333, allocations: 0 / 1.132 GB, free: 26.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009206/1.334, allocations: 216.8 kB / 1.132 GB, free: 26.23 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.0007647/1.335, allocations: 316.7 kB / 1.133 GB, free: 26.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009427/1.336, allocations: 314.3 kB / 1.133 GB, free: 26.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.336, allocations: 0 / 1.133 GB, free: 26.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000412/1.336, allocations: 184 kB / 1.133 GB, free: 26.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/1.337, allocations: 40.8 kB / 1.133 GB, free: 26.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/1.338, allocations: 0.6442 MB / 1.134 GB, free: 25.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/1.338, allocations: 0.7612 MB / 1.135 GB, free: 24.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004234/1.339, allocations: 53.78 kB / 1.135 GB, free: 24.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/1.339, allocations: 39.67 kB / 1.135 GB, free: 24.92 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/1.339, allocations: 0 / 1.135 GB, free: 24.92 MB / 0.698 GB Notification: Performance of Templates: time 0.01232/1.351, allocations: 4.699 MB / 1.139 GB, free: 22.97 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)