Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.304/1.304, allocations: 252 MB / 267.9 MB, free: 10.93 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.0009903/0.0009905, allocations: 185.7 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 0.5785 GB, free: 20.22 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.0006788/0.0006789, allocations: 101.5 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 11.03 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1909, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.3522, allocations: 133.5 MB / 1.032 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.3525, allocations: 79.94 kB / 1.032 GB, free: 9.941 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.03225/0.3848, allocations: 10.38 MB / 1.042 GB, free: 15.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3848, allocations: 4 kB / 1.042 GB, free: 15.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.3848, allocations: 0 / 1.042 GB, free: 15.54 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.001418/0.3863, allocations: 0.6268 MB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3863, allocations: 8.031 kB / 1.042 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3864, allocations: 20.75 kB / 1.042 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3866, allocations: 197.7 kB / 1.043 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.3868, allocations: 135.2 kB / 1.043 GB, free: 14.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.854e-05/0.3868, allocations: 16.38 kB / 1.043 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.3872, allocations: 248.3 kB / 1.043 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3873, allocations: 11.88 kB / 1.043 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.3873, allocations: 7.938 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3873, allocations: 4 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.3875, allocations: 127.8 kB / 1.043 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.3885, allocations: 0.9472 MB / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.3897, allocations: 495.2 kB / 1.045 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.39, allocations: 154.3 kB / 1.045 GB, free: 12.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.39, allocations: 8 kB / 1.045 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.3904, allocations: 304.5 kB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.667e-06/0.3905, allocations: 0 / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0007478/0.3912, allocations: 400.9 kB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.3914, allocations: 358.5 kB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.3916, allocations: 182 kB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.3916, allocations: 37.7 kB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.3917, allocations: 108.9 kB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.3918, allocations: 106.5 kB / 1.046 GB, free: 10.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.3918, allocations: 12 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3919, allocations: 334.8 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.3922, allocations: 105.1 kB / 1.047 GB, free: 10.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.3925, allocations: 180.4 kB / 1.047 GB, free: 9.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.393, allocations: 287.3 kB / 1.047 GB, free: 9.586 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.393, allocations: 3.984 kB / 1.047 GB, free: 9.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000696/0.3937, allocations: 358 kB / 1.047 GB, free: 9.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3938, allocations: 8 kB / 1.047 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3938, allocations: 0 / 1.047 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3938, allocations: 4 kB / 1.047 GB, free: 9.215 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.3942, allocations: 83.81 kB / 1.047 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3942, allocations: 7.984 kB / 1.047 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3945, allocations: 55.67 kB / 1.048 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.3945, allocations: 19.98 kB / 1.048 GB, free: 9.051 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.0001591/0.3947, allocations: 161.6 kB / 1.048 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.3948, allocations: 28.09 kB / 1.048 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.3954, allocations: 354.3 kB / 1.048 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.3954, allocations: 11.94 kB / 1.048 GB, free: 8.492 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.3955, allocations: 4 kB / 1.048 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3955, allocations: 11.92 kB / 1.048 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.3959, allocations: 353.1 kB / 1.048 GB, free: 8.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3959, allocations: 0 / 1.048 GB, free: 8.082 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.3962, allocations: 75.84 kB / 1.049 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3962, allocations: 4 kB / 1.049 GB, free: 8.004 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.3962, allocations: 23.98 kB / 1.049 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3962, allocations: 4 kB / 1.049 GB, free: 7.977 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.3962, allocations: 7.938 kB / 1.049 GB, free: 7.969 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006598/0.3969, allocations: 489.8 kB / 1.049 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3971, allocations: 152.5 kB / 1.049 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.3971, allocations: 20 kB / 1.049 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.3974, allocations: 43.97 kB / 1.049 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3975, allocations: 48.06 kB / 1.049 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.3975, allocations: 27.98 kB / 1.049 GB, free: 7.129 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.783e-05/0.3976, allocations: 123.8 kB / 1.049 GB, free: 7.008 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3977, allocations: 0 / 1.049 GB, free: 7.008 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006715/0.3983, allocations: 223.7 kB / 1.05 GB, free: 6.789 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.0006582/0.399, allocations: 328.8 kB / 1.05 GB, free: 6.457 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005873/0.3996, allocations: 315.5 kB / 1.05 GB, free: 6.148 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3996, allocations: 0 / 1.05 GB, free: 6.148 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.3999, allocations: 179.7 kB / 1.05 GB, free: 5.973 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.4002, allocations: 39.92 kB / 1.05 GB, free: 5.934 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.4011, allocations: 0.6284 MB / 1.051 GB, free: 5.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.4015, allocations: 0.7614 MB / 1.052 GB, free: 4.465 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.4017, allocations: 56.38 kB / 1.052 GB, free: 4.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4018, allocations: 47.41 kB / 1.052 GB, free: 4.363 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.4018, allocations: 4 kB / 1.052 GB, free: 4.359 MB / 0.698 GB Notification: Performance of Templates: time 0.3731/0.7749, allocations: 4.692 MB / 1.056 GB, free: 149 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)