Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001219/0.001219, allocations: 184.9 kB / 366.7 MB, free: 1.645 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.704/1.704, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.000876/0.0008758, allocations: 83.41 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.97e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6512, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.8302, allocations: 139.1 MB / 1.109 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.8305, allocations: 64.81 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03376/0.8643, allocations: 10.31 MB / 1.119 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8643, allocations: 4 kB / 1.119 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.8644, allocations: 0 / 1.119 GB, free: 0.7969 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.001476/0.8658, allocations: 0.6183 MB / 1.12 GB, free: 140 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.8659, allocations: 8.031 kB / 1.12 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.866, allocations: 23.8 kB / 1.12 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.8662, allocations: 193.1 kB / 1.12 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.8663, allocations: 8 kB / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.8663, allocations: 12 kB / 1.12 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002284/0.8666, allocations: 87.95 kB / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.8669, allocations: 220.6 kB / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.8669, allocations: 0 / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.8669, allocations: 0 / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.867, allocations: 7.938 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.8674, allocations: 360.1 kB / 1.121 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.8688, allocations: 487 kB / 1.121 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.869, allocations: 146.3 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.8691, allocations: 11.98 kB / 1.121 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.8695, allocations: 289.8 kB / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 3.617e-06/0.8695, allocations: 0 / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.002502/0.872, allocations: 0.5242 MB / 1.122 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002034/0.8723, allocations: 358.1 kB / 1.122 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.8724, allocations: 146.4 kB / 1.123 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.8725, allocations: 29.7 kB / 1.123 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.8726, allocations: 93.45 kB / 1.123 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.8727, allocations: 114.4 kB / 1.123 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.8728, allocations: 0 / 1.123 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.873, allocations: 334.8 kB / 1.123 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.8732, allocations: 97.11 kB / 1.123 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.8734, allocations: 143.9 kB / 1.123 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/0.8766, allocations: 0.4966 MB / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.8766, allocations: 0 / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00348/0.8801, allocations: 0.7219 MB / 1.125 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.8802, allocations: 8 kB / 1.125 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8802, allocations: 4 kB / 1.125 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.8802, allocations: 4 kB / 1.125 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.8805, allocations: 64.08 kB / 1.125 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.8805, allocations: 4 kB / 1.125 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.8809, allocations: 47.66 kB / 1.125 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.881, allocations: 19.98 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.0001563/0.8811, allocations: 133.2 kB / 1.125 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.8812, allocations: 27.67 kB / 1.125 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.8819, allocations: 330.3 kB / 1.125 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.8819, allocations: 12 kB / 1.125 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.8819, allocations: 4 kB / 1.125 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.8819, allocations: 7.984 kB / 1.125 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.8824, allocations: 301.7 kB / 1.125 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8824, allocations: 0 / 1.125 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.8827, allocations: 75.78 kB / 1.126 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.8827, allocations: 4 kB / 1.126 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.8827, allocations: 15.98 kB / 1.126 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.8828, allocations: 12.61 kB / 1.126 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8828, allocations: 0 / 1.126 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.8853, allocations: 0.8245 MB / 1.126 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.8854, allocations: 144.5 kB / 1.127 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.8855, allocations: 11.98 kB / 1.127 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.8858, allocations: 27.97 kB / 1.127 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.8859, allocations: 59.83 kB / 1.127 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.8859, allocations: 25.06 kB / 1.127 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001057/0.886, allocations: 127.8 kB / 1.127 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.886, allocations: 0 / 1.127 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006555/0.8867, allocations: 207.7 kB / 1.127 GB, free: 8.164 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.0006628/0.8874, allocations: 313 kB / 1.127 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.8892, allocations: 2.986 MB / 1.13 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8892, allocations: 0 / 1.13 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.8895, allocations: 171.7 kB / 1.13 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.8897, allocations: 9.438 kB / 1.13 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.8904, allocations: 416.1 kB / 1.131 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.8908, allocations: 0.7689 MB / 1.131 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.891, allocations: 49.69 kB / 1.132 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.8911, allocations: 47.41 kB / 1.132 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.8911, allocations: 0 / 1.132 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of Templates: time 0.008954/0.9001, allocations: 4.829 MB / 1.136 GB, free: 14.5 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)