Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 285.4 MB / 298 MB, free: 6.008 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.001114/0.001114, allocations: 176.9 kB / 366.4 MB, free: 2.082 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.91/1.91, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0008789/0.0008789, allocations: 84.22 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.856e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7604, allocations: 115.3 MB / 0.971 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.9527, allocations: 138.7 MB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.953, allocations: 63.97 kB / 1.107 GB, free: 12.99 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.03363/0.9867, allocations: 10.06 MB / 1.116 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.265e-06/0.9867, allocations: 0 / 1.116 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.9867, allocations: 4 kB / 1.116 GB, free: 2.988 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001395/0.9882, allocations: 0.607 MB / 1.117 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.9882, allocations: 16.02 kB / 1.117 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.998e-05/0.9883, allocations: 50.55 kB / 1.117 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.9884, allocations: 21.88 kB / 1.117 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.9885, allocations: 194.7 kB / 1.117 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.9887, allocations: 130.6 kB / 1.117 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.9887, allocations: 24 kB / 1.117 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.9891, allocations: 243.7 kB / 1.118 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.9892, allocations: 3.984 kB / 1.118 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.9892, allocations: 8 kB / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.9892, allocations: 4 kB / 1.118 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.9894, allocations: 119.8 kB / 1.118 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.9905, allocations: 0.9511 MB / 1.119 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.9919, allocations: 489.2 kB / 1.119 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.9922, allocations: 150.5 kB / 1.119 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.9922, allocations: 15.97 kB / 1.119 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004408/0.9927, allocations: 292.1 kB / 1.12 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.9927, allocations: 4 kB / 1.12 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0006357/0.9933, allocations: 316.9 kB / 1.12 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.9935, allocations: 354.1 kB / 1.12 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.9937, allocations: 160.5 kB / 1.12 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.9937, allocations: 37.7 kB / 1.12 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.9938, allocations: 109.1 kB / 1.121 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.234e-05/0.9939, allocations: 110.5 kB / 1.121 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.9939, allocations: 12 kB / 1.121 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9941, allocations: 330.8 kB / 1.121 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.9943, allocations: 97.11 kB / 1.121 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.9945, allocations: 172.4 kB / 1.121 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.9948, allocations: 111.5 kB / 1.121 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9948, allocations: 0 / 1.121 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006049/0.9954, allocations: 348.3 kB / 1.122 GB, free: 13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.9954, allocations: 4 kB / 1.122 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.9954, allocations: 4 kB / 1.122 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.9955, allocations: 4 kB / 1.122 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.9958, allocations: 79.81 kB / 1.122 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.9959, allocations: 11.95 kB / 1.122 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.9962, allocations: 59.66 kB / 1.122 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.9962, allocations: 23.92 kB / 1.122 GB, free: 12.82 MB / 0.7292 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 () * 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.0001294/0.9964, allocations: 136.9 kB / 1.122 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.9964, allocations: 27.91 kB / 1.122 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006989/0.9971, allocations: 358 kB / 1.122 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.9972, allocations: 8 kB / 1.122 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.9972, allocations: 6.75 kB / 1.122 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.9972, allocations: 7.953 kB / 1.122 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.9976, allocations: 353 kB / 1.123 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.9976, allocations: 4 kB / 1.123 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.9979, allocations: 79.84 kB / 1.123 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.9979, allocations: 4 kB / 1.123 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.998, allocations: 21.95 kB / 1.123 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.998, allocations: 4 kB / 1.123 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/0.998, allocations: 7.938 kB / 1.123 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007775/0.9988, allocations: 0.6021 MB / 1.123 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.9989, allocations: 152.5 kB / 1.124 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.999, allocations: 23.98 kB / 1.124 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.9993, allocations: 35.98 kB / 1.124 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.9994, allocations: 49.58 kB / 1.124 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.9994, allocations: 23.98 kB / 1.124 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001132/0.9995, allocations: 135.2 kB / 1.124 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9996, allocations: 0 / 1.124 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007201/1, allocations: 211.7 kB / 1.124 GB, free: 10.41 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,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) * 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.00183/1.002, allocations: 2.108 MB / 1.126 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006132/1.003, allocations: 307.9 kB / 1.126 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.003, allocations: 0 / 1.126 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002837/1.003, allocations: 179.7 kB / 1.127 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/1.003, allocations: 24.12 kB / 1.127 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/1.004, allocations: 0.5724 MB / 1.127 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/1.005, allocations: 0.7689 MB / 1.128 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002486/1.005, allocations: 56.08 kB / 1.128 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/1.005, allocations: 91.39 kB / 1.128 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/1.005, allocations: 4 kB / 1.128 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/1.026, allocations: 7.018 MB / 1.135 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/1.026, allocations: 174.1 kB / 1.135 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/3.015, allocations: 0 / 1.135 GB, free: 15.11 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)