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.667/1.667, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.002104/0.002104, allocations: 188.2 kB / 371.8 MB, free: 10.14 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.736/1.736, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001068, allocations: 98.81 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004189, allocations: 11.72 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.278, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7862/1.064, allocations: 138.8 MB / 1.115 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/1.064, allocations: 68.81 kB / 1.115 GB, free: 16.42 MB / 0.6823 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.02998/1.094, allocations: 10.09 MB / 1.125 GB, free: 31.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/1.094, allocations: 4 kB / 1.125 GB, free: 31.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.708e-06/1.095, allocations: 3.906 kB / 1.125 GB, free: 31.57 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.001283/1.096, allocations: 0.6223 MB / 1.126 GB, free: 31.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.096, allocations: 11.69 kB / 1.126 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.441e-05/1.096, allocations: 50.66 kB / 1.126 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/1.096, allocations: 23.25 kB / 1.126 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/1.096, allocations: 192.3 kB / 1.126 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/1.096, allocations: 133.3 kB / 1.126 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/1.096, allocations: 18.28 kB / 1.126 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/1.097, allocations: 250.8 kB / 1.126 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.097, allocations: 3.938 kB / 1.126 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/1.097, allocations: 7.062 kB / 1.126 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.097, allocations: 3.812 kB / 1.126 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/1.097, allocations: 118 kB / 1.126 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008636/1.098, allocations: 0.9521 MB / 1.127 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/1.099, allocations: 489.5 kB / 1.128 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/1.099, allocations: 17.39 kB / 1.128 GB, free: 29.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/1.1, allocations: 303 kB / 1.128 GB, free: 29.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/1.1, allocations: 0 / 1.128 GB, free: 29.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0006921/1.1, allocations: 401.6 kB / 1.128 GB, free: 29.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/1.1, allocations: 364 kB / 1.129 GB, free: 28.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/1.101, allocations: 160.7 kB / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/1.101, allocations: 36.08 kB / 1.129 GB, free: 28.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/1.101, allocations: 101.7 kB / 1.129 GB, free: 28.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/1.101, allocations: 114.5 kB / 1.129 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/1.101, allocations: 12.97 kB / 1.129 GB, free: 28.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.101, allocations: 332.5 kB / 1.13 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/1.101, allocations: 107.5 kB / 1.13 GB, free: 28.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/1.101, allocations: 176.9 kB / 1.13 GB, free: 28.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/1.102, allocations: 119.3 kB / 1.13 GB, free: 28.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.102, allocations: 0 / 1.13 GB, free: 28.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006179/1.102, allocations: 369.2 kB / 1.13 GB, free: 28.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.102, allocations: 3.875 kB / 1.13 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.102, allocations: 4 kB / 1.13 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.102, allocations: 3.844 kB / 1.13 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/1.103, allocations: 83.69 kB / 1.13 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.103, allocations: 3.844 kB / 1.13 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/1.103, allocations: 66.8 kB / 1.13 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/1.103, allocations: 26.28 kB / 1.13 GB, free: 27.97 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.0001455/1.103, allocations: 156.1 kB / 1.131 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/1.103, allocations: 27.22 kB / 1.131 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/1.104, allocations: 353.3 kB / 1.131 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.104, allocations: 11.53 kB / 1.131 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.104, allocations: 3.969 kB / 1.131 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.104, allocations: 3.984 kB / 1.131 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/1.104, allocations: 354 kB / 1.131 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.104, allocations: 3.875 kB / 1.131 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/1.104, allocations: 73.66 kB / 1.131 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/1.105, allocations: 11.72 kB / 1.131 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/1.105, allocations: 21.67 kB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.105, allocations: 3.844 kB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.105, allocations: 11.77 kB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/1.105, allocations: 0.6111 MB / 1.132 GB, free: 27.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/1.105, allocations: 143.6 kB / 1.132 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/1.105, allocations: 22.17 kB / 1.132 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/1.106, allocations: 38.86 kB / 1.132 GB, free: 26.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.106, allocations: 50.08 kB / 1.132 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/1.106, allocations: 23.23 kB / 1.132 GB, free: 26.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.618e-05/1.106, allocations: 132 kB / 1.132 GB, free: 26.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.106, allocations: 4 kB / 1.132 GB, free: 26.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007405/1.107, allocations: 204.4 kB / 1.133 GB, free: 26.74 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.001547/1.108, allocations: 2.121 MB / 1.135 GB, free: 24.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005177/1.109, allocations: 323.8 kB / 1.135 GB, free: 24.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.109, allocations: 0 / 1.135 GB, free: 24.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/1.109, allocations: 178.3 kB / 1.135 GB, free: 24.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/1.109, allocations: 27.25 kB / 1.135 GB, free: 24.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/1.111, allocations: 2.059 MB / 1.137 GB, free: 23.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/1.111, allocations: 0.7744 MB / 1.138 GB, free: 22.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002135/1.111, allocations: 53.86 kB / 1.138 GB, free: 22.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/1.111, allocations: 95.98 kB / 1.138 GB, free: 22.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/1.111, allocations: 4 kB / 1.138 GB, free: 22.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/1.129, allocations: 6.848 MB / 1.145 GB, free: 18.97 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/1.129, allocations: 211.1 kB / 1.145 GB, free: 18.74 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/3.125, allocations: 2.656 kB / 1.145 GB, free: 18.74 MB / 0.698 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)