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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.604/1.604, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001073/0.001073, allocations: 176.9 kB / 361.4 MB, free: 6.809 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.761/1.761, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008418/0.0008417, allocations: 95.08 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2e-05, allocations: 7.938 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5801, allocations: 115.3 MB / 0.9645 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.7572, allocations: 138.1 MB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.7575, allocations: 67.97 kB / 1.099 GB, free: 1.594 MB / 0.698 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.03167/0.7892, allocations: 10.02 MB / 1.109 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7892, allocations: 0 / 1.109 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.7892, allocations: 4 kB / 1.109 GB, free: 7.668 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.001167/0.7904, allocations: 0.6031 MB / 1.11 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7904, allocations: 12.03 kB / 1.11 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.7905, allocations: 20.84 kB / 1.11 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.7906, allocations: 186.8 kB / 1.11 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.7907, allocations: 8 kB / 1.11 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.7907, allocations: 15.98 kB / 1.11 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002217/0.7909, allocations: 99.81 kB / 1.11 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.7913, allocations: 231.7 kB / 1.11 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.7913, allocations: 0 / 1.11 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.7913, allocations: 4 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.7913, allocations: 4 kB / 1.11 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008641/0.7922, allocations: 0.9169 MB / 1.111 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.7935, allocations: 475.7 kB / 1.112 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.7937, allocations: 142.3 kB / 1.112 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.7937, allocations: 8 kB / 1.112 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003764/0.7941, allocations: 287.7 kB / 1.112 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 1.814e-06/0.7941, allocations: 0 / 1.112 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.002344/0.7964, allocations: 493.9 kB / 1.113 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.7966, allocations: 358.2 kB / 1.113 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.7968, allocations: 156.5 kB / 1.113 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.7968, allocations: 29.7 kB / 1.113 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.7969, allocations: 109.2 kB / 1.113 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.797, allocations: 102.6 kB / 1.113 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.797, allocations: 4 kB / 1.113 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7971, allocations: 342.8 kB / 1.114 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.7973, allocations: 89.77 kB / 1.114 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.7975, allocations: 151.3 kB / 1.114 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.8004, allocations: 443.4 kB / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8004, allocations: 4 kB / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003169/0.8036, allocations: 0.6501 MB / 1.115 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.8036, allocations: 5.094 kB / 1.115 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8036, allocations: 4 kB / 1.115 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.8036, allocations: 4 kB / 1.115 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.804, allocations: 66.08 kB / 1.115 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.804, allocations: 4 kB / 1.115 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.8043, allocations: 59.59 kB / 1.115 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.8043, allocations: 23.92 kB / 1.115 GB, free: 1.094 MB / 0.7136 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): 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.0001305/0.8045, allocations: 124 kB / 1.115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002079/0.8066, allocations: 0.4909 MB / 1.116 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.8066, allocations: 27.7 kB / 1.116 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.8072, allocations: 329 kB / 1.116 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.8072, allocations: 12 kB / 1.116 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8072, allocations: 4 kB / 1.116 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.8073, allocations: 3.953 kB / 1.116 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.8076, allocations: 297.7 kB / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.8076, allocations: 4 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.8079, allocations: 79.83 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.808, allocations: 4 kB / 1.116 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.808, allocations: 17 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.808, allocations: 7.984 kB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.808, allocations: 10 kB / 1.116 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.8103, allocations: 0.7754 MB / 1.117 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.8104, allocations: 152.5 kB / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.8105, allocations: 11.98 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.8107, allocations: 39.91 kB / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/0.8109, allocations: 47.89 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.8109, allocations: 20 kB / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001039/0.811, allocations: 127.8 kB / 1.118 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.811, allocations: 4 kB / 1.118 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005489/0.8116, allocations: 195.7 kB / 1.118 GB, free: 14.16 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.003178/0.8147, allocations: 2.283 MB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.8164, allocations: 2.974 MB / 1.123 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8165, allocations: 4 kB / 1.123 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.8167, allocations: 163.7 kB / 1.123 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.8169, allocations: 17.72 kB / 1.123 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.8179, allocations: 0.5267 MB / 1.124 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.8182, allocations: 0.7651 MB / 1.124 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.8184, allocations: 48 kB / 1.124 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.8186, allocations: 97.48 kB / 1.124 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.8186, allocations: 4 kB / 1.124 GB, free: 7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2303/1.049, allocations: 6.752 MB / 1.131 GB, free: 356 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/1.049, allocations: 186.9 kB / 1.131 GB, free: 152 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/3.017, allocations: 0 / 1.131 GB, free: 152 kB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)