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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 285.4 MB / 298 MB, free: 5.98 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.001059/0.001059, allocations: 180.8 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 2.531/2.531, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0008481/0.0008482, allocations: 91.73 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.547e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7303, allocations: 115.3 MB / 0.971 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.9339, allocations: 138.7 MB / 1.106 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.9341, allocations: 74.25 kB / 1.107 GB, free: 12.96 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.03273/0.9669, allocations: 10.06 MB / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9669, allocations: 0 / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.9669, allocations: 4 kB / 1.116 GB, free: 2.965 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.001215/0.9682, allocations: 0.6109 MB / 1.117 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.9682, allocations: 9.438 kB / 1.117 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.818e-05/0.9683, allocations: 56.42 kB / 1.117 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.9684, allocations: 19.75 kB / 1.117 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.9685, allocations: 191.8 kB / 1.117 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.9687, allocations: 138.6 kB / 1.117 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.9687, allocations: 20 kB / 1.117 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.9691, allocations: 243.7 kB / 1.118 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.9691, allocations: 0 / 1.118 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.9691, allocations: 8 kB / 1.118 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.9691, allocations: 4 kB / 1.118 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.9694, allocations: 119.8 kB / 1.118 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009312/0.9703, allocations: 0.9511 MB / 1.119 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.9717, allocations: 491.6 kB / 1.119 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.9719, allocations: 150.3 kB / 1.119 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.972, allocations: 12 kB / 1.119 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.9724, allocations: 294.1 kB / 1.12 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 2.935e-06/0.9724, allocations: 0 / 1.12 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.00069/0.9731, allocations: 323 kB / 1.12 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.9733, allocations: 358 kB / 1.12 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.9735, allocations: 160.5 kB / 1.12 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.9735, allocations: 41.7 kB / 1.12 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.9736, allocations: 104.9 kB / 1.121 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.9737, allocations: 110.7 kB / 1.121 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.9737, allocations: 8 kB / 1.121 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9739, allocations: 330.8 kB / 1.121 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.9741, allocations: 101 kB / 1.121 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.9743, allocations: 164.5 kB / 1.121 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.9746, allocations: 110.8 kB / 1.121 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.9746, allocations: 4 kB / 1.121 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000659/0.9753, allocations: 339.8 kB / 1.122 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.9753, allocations: 8 kB / 1.122 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.9753, allocations: 0 / 1.122 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.9753, allocations: 4 kB / 1.122 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.9757, allocations: 83.81 kB / 1.122 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.9758, allocations: 11.94 kB / 1.122 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.9761, allocations: 57.36 kB / 1.122 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.9762, allocations: 27.92 kB / 1.122 GB, free: 12.8 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.0001539/0.9764, allocations: 140.2 kB / 1.122 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.675e-05/0.9764, allocations: 27.72 kB / 1.122 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007199/0.9772, allocations: 351.2 kB / 1.122 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.9772, allocations: 12 kB / 1.122 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.9772, allocations: 0.8438 kB / 1.122 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.9772, allocations: 11.94 kB / 1.122 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.9777, allocations: 353 kB / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.9777, allocations: 0 / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.978, allocations: 81.58 kB / 1.123 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.978, allocations: 4 kB / 1.123 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.9781, allocations: 23.98 kB / 1.123 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.9781, allocations: 8 kB / 1.123 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9781, allocations: 4.125 kB / 1.123 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.9789, allocations: 0.6086 MB / 1.123 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.9791, allocations: 155 kB / 1.124 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.9792, allocations: 16 kB / 1.124 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.9795, allocations: 39.97 kB / 1.124 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.9796, allocations: 51.89 kB / 1.124 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.9796, allocations: 23.98 kB / 1.124 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001058/0.9797, allocations: 123.3 kB / 1.124 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9797, allocations: 4 kB / 1.124 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007172/0.9805, allocations: 211.7 kB / 1.124 GB, free: 10.39 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.001989/0.9825, allocations: 2.111 MB / 1.126 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005633/0.983, allocations: 303.6 kB / 1.126 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9831, allocations: 4 kB / 1.126 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.9833, allocations: 185.5 kB / 1.127 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.9835, allocations: 20.14 kB / 1.127 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.9847, allocations: 0.5791 MB / 1.127 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.985, allocations: 0.765 MB / 1.128 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000241/0.9853, allocations: 58.86 kB / 1.128 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.9855, allocations: 91.39 kB / 1.128 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.9855, allocations: 0 / 1.128 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/1.009, allocations: 7.035 MB / 1.135 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/1.009, allocations: 191.9 kB / 1.135 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/3.011, allocations: 4 kB / 1.135 GB, free: 15.09 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)