Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.444/2.444, allocations: 251.1 MB / 266.7 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 174.5 kB / 326.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.385/2.385, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008811/0.0008809, allocations: 94.72 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005084, allocations: 14.09 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 106.2 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2709/0.5012, allocations: 133.3 MB / 1.03 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004405/0.5017, allocations: 79.95 kB / 1.03 GB, free: 11.98 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54:32: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.05732/0.5591, allocations: 10.38 MB / 1.04 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5591, allocations: 0 / 1.04 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.5592, allocations: 4 kB / 1.04 GB, free: 1.586 MB / 0.6823 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.001974/0.5611, allocations: 0.6268 MB / 1.04 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5612, allocations: 12.03 kB / 1.041 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.5613, allocations: 20.75 kB / 1.041 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.5615, allocations: 195.9 kB / 1.041 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.5618, allocations: 131.2 kB / 1.041 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.5618, allocations: 20.38 kB / 1.041 GB, free: 484 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.5624, allocations: 244.3 kB / 1.041 GB, free: 196 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.5625, allocations: 11.88 kB / 1.041 GB, free: 184 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.5625, allocations: 4 kB / 1.041 GB, free: 180 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.5625, allocations: 8 kB / 1.041 GB, free: 172 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.563, allocations: 119.8 kB / 1.041 GB, free: 52 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.5644, allocations: 0.9628 MB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.5671, allocations: 491.2 kB / 1.043 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.5675, allocations: 150.3 kB / 1.043 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.98e-05/0.5676, allocations: 12 kB / 1.043 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006989/0.5683, allocations: 308.5 kB / 1.043 GB, free: 13.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.887e-06/0.5683, allocations: 0 / 1.043 GB, free: 13.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001362/0.5697, allocations: 402.1 kB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002166/0.5699, allocations: 354.1 kB / 1.044 GB, free: 13.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.5702, allocations: 175.9 kB / 1.044 GB, free: 12.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-05/0.5703, allocations: 41.7 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.5704, allocations: 101 kB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.5705, allocations: 122.4 kB / 1.044 GB, free: 12.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.5706, allocations: 4 kB / 1.044 GB, free: 12.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5708, allocations: 338.8 kB / 1.045 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.5712, allocations: 105 kB / 1.045 GB, free: 12.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/0.5717, allocations: 176.4 kB / 1.045 GB, free: 11.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.5723, allocations: 123.9 kB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5723, allocations: 0 / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001297/0.5736, allocations: 365.2 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.5736, allocations: 8 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.5737, allocations: 0 / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.5737, allocations: 4 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.5745, allocations: 79.88 kB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.5745, allocations: 7.938 kB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.5751, allocations: 59.66 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.5752, allocations: 23.98 kB / 1.045 GB, free: 11.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.0002722/0.5754, allocations: 157.7 kB / 1.046 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.5755, allocations: 23.72 kB / 1.046 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.5767, allocations: 371.2 kB / 1.046 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.5768, allocations: 8 kB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.5768, allocations: 4 kB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/0.5768, allocations: 7.984 kB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.5775, allocations: 349.1 kB / 1.046 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.5775, allocations: 3.938 kB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006114/0.5781, allocations: 83.83 kB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.5781, allocations: 4 kB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/0.5782, allocations: 19.98 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.5782, allocations: 4 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.708e-06/0.5782, allocations: 4 kB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.5794, allocations: 485.6 kB / 1.047 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.5797, allocations: 152.5 kB / 1.047 GB, free: 9.496 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.5798, allocations: 16 kB / 1.047 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.5803, allocations: 43.97 kB / 1.047 GB, free: 9.438 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.5805, allocations: 51.81 kB / 1.047 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.5805, allocations: 23.98 kB / 1.047 GB, free: 9.363 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001759/0.5807, allocations: 131.8 kB / 1.047 GB, free: 9.234 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5807, allocations: 0 / 1.047 GB, free: 9.234 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001034/0.5818, allocations: 215.7 kB / 1.048 GB, free: 9.023 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.0009233/0.5827, allocations: 330 kB / 1.048 GB, free: 8.688 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.5839, allocations: 308.1 kB / 1.048 GB, free: 8.391 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5839, allocations: 0 / 1.048 GB, free: 8.391 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.5844, allocations: 188.1 kB / 1.048 GB, free: 8.207 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.5849, allocations: 35.92 kB / 1.048 GB, free: 8.172 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.5865, allocations: 0.6399 MB / 1.049 GB, free: 7.477 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.587, allocations: 0.769 MB / 1.05 GB, free: 6.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004401/0.5874, allocations: 55.69 kB / 1.05 GB, free: 6.625 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.5876, allocations: 43.41 kB / 1.05 GB, free: 6.582 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/0.5877, allocations: 0 / 1.05 GB, free: 6.582 MB / 0.698 GB Notification: Performance of Templates: time 0.01479/0.6025, allocations: 4.697 MB / 1.054 GB, free: 1.902 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)