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.SunRiseSetNegativeStartTime.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001518/0.001517, allocations: 187.5 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0009011/0.0009011, allocations: 91.88 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003626, allocations: 9.406 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2506, allocations: 106.3 MB / 0.9002 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.4201, allocations: 132.7 MB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4204, allocations: 71.95 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03414/0.4545, allocations: 10.42 MB / 1.04 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4546, allocations: 0 / 1.04 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.4546, allocations: 11.94 kB / 1.04 GB, free: 0.7695 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00138/0.456, allocations: 0.6383 MB / 1.041 GB, free: 84 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.456, allocations: 8.031 kB / 1.041 GB, free: 76 kB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.815e-05/0.4561, allocations: 50.55 kB / 1.041 GB, free: 16 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.4562, allocations: 23.89 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.4564, allocations: 191.3 kB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.4566, allocations: 126.8 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.4567, allocations: 19.98 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.457, allocations: 231.8 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4571, allocations: 4 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.4571, allocations: 3.984 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.4571, allocations: 4 kB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.4574, allocations: 115.7 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.4579, allocations: 395.2 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.4594, allocations: 499.5 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.4594, allocations: 20.12 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.4599, allocations: 304.1 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.755e-06/0.4599, allocations: 0 / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0008307/0.4607, allocations: 414.3 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.4609, allocations: 354 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4611, allocations: 157.2 kB / 1.043 GB, free: 12.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.4611, allocations: 41.69 kB / 1.044 GB, free: 12.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.4612, allocations: 97.12 kB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.4613, allocations: 106.5 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.4614, allocations: 8.062 kB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4615, allocations: 342.8 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.4618, allocations: 121 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.4621, allocations: 157 kB / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.4624, allocations: 122.6 kB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4624, allocations: 4 kB / 1.044 GB, free: 11.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007305/0.4631, allocations: 371.5 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4631, allocations: 8 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4632, allocations: 0 / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4632, allocations: 4 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.4636, allocations: 79.81 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4636, allocations: 4 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.4639, allocations: 59.66 kB / 1.045 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.464, allocations: 19.98 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.0001698/0.4642, allocations: 149.7 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.4642, allocations: 27.72 kB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007111/0.4649, allocations: 358.7 kB / 1.045 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.465, allocations: 15.98 kB / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.465, allocations: 7.938 kB / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.465, allocations: 0 / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.4654, allocations: 357.1 kB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4654, allocations: 0 / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.4657, allocations: 75.84 kB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.4658, allocations: 4 kB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.4658, allocations: 20.36 kB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.4658, allocations: 12 kB / 1.046 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4658, allocations: 4 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.4667, allocations: 0.6138 MB / 1.047 GB, free: 9.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.4669, allocations: 152.5 kB / 1.047 GB, free: 9.242 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.4669, allocations: 19.98 kB / 1.047 GB, free: 9.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.4672, allocations: 35.98 kB / 1.047 GB, free: 9.188 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.4673, allocations: 55.81 kB / 1.047 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.4674, allocations: 23.98 kB / 1.047 GB, free: 9.109 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001039/0.4675, allocations: 131.7 kB / 1.047 GB, free: 8.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4675, allocations: 0 / 1.047 GB, free: 8.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007503/0.4682, allocations: 227.7 kB / 1.047 GB, free: 8.758 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,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.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.00228/0.4705, allocations: 2.124 MB / 1.049 GB, free: 6.531 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007485/0.4713, allocations: 326.1 kB / 1.05 GB, free: 6.215 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4713, allocations: 4 kB / 1.05 GB, free: 6.211 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.4716, allocations: 184.5 kB / 1.05 GB, free: 6.031 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.4718, allocations: 31.17 kB / 1.05 GB, free: 6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4737, allocations: 1.436 MB / 1.051 GB, free: 4.469 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.4741, allocations: 0.7729 MB / 1.052 GB, free: 3.672 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.4744, allocations: 59.23 kB / 1.052 GB, free: 3.613 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.4746, allocations: 99.39 kB / 1.052 GB, free: 3.516 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.4746, allocations: 0 / 1.052 GB, free: 3.516 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4218/0.8964, allocations: 6.944 MB / 1.059 GB, free: 149.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.8966, allocations: 219.1 kB / 1.059 GB, free: 149.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.832, allocations: 4.531 kB / 1.059 GB, free: 149.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)