Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.656/2.656, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.002207/0.002207, allocations: 180.9 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001167/0.001166, allocations: 91.75 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.623e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8508/0.8508, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/1.085, allocations: 137.9 MB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.085, allocations: 67.97 kB / 1.098 GB, free: 2.461 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.05559/1.141, allocations: 10.02 MB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/1.141, allocations: 0 / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.276e-05/1.141, allocations: 4 kB / 1.108 GB, free: 8.52 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.001895/1.143, allocations: 0.6069 MB / 1.109 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.143, allocations: 12.03 kB / 1.109 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/1.143, allocations: 17.02 kB / 1.109 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/1.143, allocations: 190.7 kB / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/1.143, allocations: 8 kB / 1.109 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/1.143, allocations: 12 kB / 1.109 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003725/1.144, allocations: 91.95 kB / 1.109 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/1.144, allocations: 235.8 kB / 1.109 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/1.144, allocations: 3.938 kB / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/1.144, allocations: 8 kB / 1.109 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/1.144, allocations: 9.688 kB / 1.109 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/1.146, allocations: 0.913 MB / 1.11 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/1.148, allocations: 471.7 kB / 1.11 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/1.149, allocations: 142.3 kB / 1.111 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.815e-05/1.149, allocations: 11.98 kB / 1.111 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/1.149, allocations: 289 kB / 1.111 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.447e-06/1.149, allocations: 0 / 1.111 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.003798/1.153, allocations: 498.6 kB / 1.111 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/1.153, allocations: 346.1 kB / 1.112 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/1.154, allocations: 164.5 kB / 1.112 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.428e-05/1.154, allocations: 33.7 kB / 1.112 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/1.154, allocations: 105.2 kB / 1.112 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/1.154, allocations: 106.5 kB / 1.112 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/1.154, allocations: 0 / 1.112 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.154, allocations: 334.8 kB / 1.112 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/1.154, allocations: 85.11 kB / 1.112 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/1.155, allocations: 167.3 kB / 1.113 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/1.16, allocations: 443.3 kB / 1.113 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/1.16, allocations: 0 / 1.113 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.006875/1.167, allocations: 0.6465 MB / 1.114 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/1.167, allocations: 10.28 kB / 1.114 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.167, allocations: 4 kB / 1.114 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/1.167, allocations: 4 kB / 1.114 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/1.167, allocations: 67.89 kB / 1.114 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/1.168, allocations: 4 kB / 1.114 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009494/1.168, allocations: 47.66 kB / 1.114 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/1.169, allocations: 30.84 kB / 1.114 GB, free: 1.953 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.0003112/1.169, allocations: 131.1 kB / 1.114 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007278/1.176, allocations: 0.489 MB / 1.114 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/1.177, allocations: 36.02 kB / 1.114 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/1.178, allocations: 318.8 kB / 1.115 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/1.178, allocations: 8.688 kB / 1.115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/1.178, allocations: 11.95 kB / 1.115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.101e-05/1.178, allocations: 4 kB / 1.115 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/1.179, allocations: 297.7 kB / 1.115 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.179, allocations: 4 kB / 1.115 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/1.18, allocations: 78.7 kB / 1.115 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.744e-05/1.18, allocations: 8 kB / 1.115 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/1.18, allocations: 8 kB / 1.115 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.247e-05/1.18, allocations: 11.98 kB / 1.115 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/1.18, allocations: 4 kB / 1.115 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/1.185, allocations: 0.7812 MB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/1.185, allocations: 148.7 kB / 1.116 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/1.185, allocations: 7.984 kB / 1.116 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/1.186, allocations: 35.95 kB / 1.116 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.186, allocations: 55.83 kB / 1.116 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/1.186, allocations: 24 kB / 1.116 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001519/1.186, allocations: 123.8 kB / 1.116 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/1.186, allocations: 0 / 1.116 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001058/1.187, allocations: 203.7 kB / 1.117 GB, free: 15.01 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.005392/1.192, allocations: 2.277 MB / 1.119 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002443/1.195, allocations: 2.971 MB / 1.122 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.195, allocations: 0 / 1.122 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005192/1.196, allocations: 168.9 kB / 1.122 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/1.196, allocations: 10.91 kB / 1.122 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/1.198, allocations: 0.5324 MB / 1.122 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/1.198, allocations: 0.769 MB / 1.123 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003795/1.199, allocations: 52 kB / 1.123 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/1.199, allocations: 95.38 kB / 1.123 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of SimCode: time 1.012e-06/1.199, allocations: 2.438 kB / 1.123 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05309/1.252, allocations: 6.745 MB / 1.13 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/1.252, allocations: 171.7 kB / 1.13 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/4.064, allocations: 0 / 1.13 GB, free: 1.02 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)