Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.591/1.591, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001092/0.001092, allocations: 172.4 kB / 366.7 MB, free: 1.652 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.777/1.777, allocations: 205.2 MB / 0.626 GB, free: 7.125 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.0009069/0.0009072, allocations: 96.3 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.803e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6212, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.8033, allocations: 139.1 MB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.8036, allocations: 76.44 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03199/0.8356, allocations: 10.31 MB / 1.119 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8357, allocations: 0 / 1.119 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.8357, allocations: 4 kB / 1.119 GB, free: 0.8086 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001405/0.8371, allocations: 0.6222 MB / 1.12 GB, free: 148 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.8372, allocations: 8.031 kB / 1.12 GB, free: 140 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.8373, allocations: 19.81 kB / 1.12 GB, free: 120 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.8375, allocations: 193.1 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.8375, allocations: 4 kB / 1.12 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.8375, allocations: 23.98 kB / 1.12 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002253/0.8378, allocations: 83.95 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.8381, allocations: 220.6 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.8381, allocations: 3.938 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.8381, allocations: 0 / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.8382, allocations: 4 kB / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.8386, allocations: 360.1 kB / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.8399, allocations: 479.7 kB / 1.121 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.8401, allocations: 146.3 kB / 1.121 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.8402, allocations: 11.98 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003982/0.8406, allocations: 291.2 kB / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.8406, allocations: 0 / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.002411/0.843, allocations: 0.5339 MB / 1.122 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.8432, allocations: 347.9 kB / 1.122 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.8433, allocations: 146.4 kB / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.8434, allocations: 37.69 kB / 1.123 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.8434, allocations: 89.45 kB / 1.123 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.8435, allocations: 114.5 kB / 1.123 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.8436, allocations: 4.125 kB / 1.123 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.8437, allocations: 330.8 kB / 1.123 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.8439, allocations: 101.1 kB / 1.123 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.8441, allocations: 143.8 kB / 1.123 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/0.8472, allocations: 0.4968 MB / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.8472, allocations: 0 / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003331/0.8505, allocations: 0.7194 MB / 1.125 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.8506, allocations: 9.406 kB / 1.125 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.8506, allocations: 4 kB / 1.125 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.8506, allocations: 0 / 1.125 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.8509, allocations: 67.89 kB / 1.125 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.851, allocations: 4 kB / 1.125 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.8513, allocations: 47.66 kB / 1.125 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.8513, allocations: 27.92 kB / 1.125 GB, free: 10.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.00014/0.8515, allocations: 129.6 kB / 1.125 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.8515, allocations: 27.67 kB / 1.125 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.8521, allocations: 324.1 kB / 1.125 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.8522, allocations: 12 kB / 1.125 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.8522, allocations: 5.875 kB / 1.125 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.8522, allocations: 7.984 kB / 1.125 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.8525, allocations: 297.7 kB / 1.125 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.8525, allocations: 0 / 1.125 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.8528, allocations: 75.84 kB / 1.126 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.8528, allocations: 4 kB / 1.126 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.8529, allocations: 19.92 kB / 1.126 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.8529, allocations: 7.953 kB / 1.126 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.8529, allocations: 4 kB / 1.126 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.8554, allocations: 0.8224 MB / 1.126 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.8556, allocations: 152.5 kB / 1.127 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.8556, allocations: 6.906 kB / 1.127 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.8559, allocations: 27.97 kB / 1.127 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.856, allocations: 59.83 kB / 1.127 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.856, allocations: 23.98 kB / 1.127 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.002e-05/0.8561, allocations: 123.8 kB / 1.127 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8561, allocations: 0 / 1.127 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005838/0.8567, allocations: 211.7 kB / 1.127 GB, free: 8.172 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,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.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.0005461/0.8573, allocations: 313 kB / 1.127 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.859, allocations: 2.989 MB / 1.13 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8591, allocations: 0 / 1.13 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.8593, allocations: 165.7 kB / 1.13 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.8595, allocations: 16.7 kB / 1.13 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.8602, allocations: 420.1 kB / 1.131 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.8605, allocations: 0.7689 MB / 1.131 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001973/0.8607, allocations: 47.62 kB / 1.132 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.8609, allocations: 43.41 kB / 1.132 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of SimCode: time 3.7e-07/0.8609, allocations: 0 / 1.132 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of Templates: time 0.008154/0.869, allocations: 4.831 MB / 1.136 GB, free: 14.5 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)