Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 189.8 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.892/2.892, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002308, allocations: 59.33 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.5318, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.004759/0.5367, allocations: 0.953 MB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006563/0.5433, allocations: 2.494 MB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.5436, allocations: 3.938 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.5437, allocations: 11.86 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000453/0.5442, allocations: 39.69 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.5462, allocations: 455.1 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.5468, allocations: 311.2 kB / 1.057 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.5469, allocations: 21.56 kB / 1.057 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.5473, allocations: 139.6 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.5477, allocations: 155.5 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.5478, allocations: 24 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.5488, allocations: 307.8 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.549, allocations: 83.7 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.5492, allocations: 115.5 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.5507, allocations: 0.5455 MB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.5507, allocations: 0 / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5507, allocations: 0 / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.5507, allocations: 0 / 1.058 GB, free: 2.992 MB / 0.8106 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.002365/0.5531, allocations: 0.6606 MB / 1.059 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.5532, allocations: 8.625 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.5533, allocations: 46.73 kB / 1.059 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.5534, allocations: 24.66 kB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.5537, allocations: 193.4 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.554, allocations: 131.4 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.613e-05/0.5541, allocations: 20.36 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.5547, allocations: 239.7 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.5547, allocations: 7.984 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.5548, allocations: 7.984 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.5548, allocations: 4 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.5552, allocations: 119.7 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/0.5561, allocations: 395.1 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.5585, allocations: 499.3 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.5589, allocations: 154.2 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.305e-05/0.5589, allocations: 11.94 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008806/0.5598, allocations: 311.7 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 4.108e-06/0.5599, allocations: 0 / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.001448/0.5613, allocations: 410.9 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003302/0.5617, allocations: 358.2 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.562, allocations: 171.2 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/0.5621, allocations: 41.69 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.5623, allocations: 97.14 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.5624, allocations: 110.4 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.5627, allocations: 94.22 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.5629, allocations: 334.8 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.5634, allocations: 117.1 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.5639, allocations: 169 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009195/0.5649, allocations: 273.4 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.5649, allocations: 4 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001304/0.5662, allocations: 372.4 kB / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.5663, allocations: 8.781 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5663, allocations: 0 / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/0.5663, allocations: 7.984 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.567, allocations: 79.81 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.567, allocations: 4 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.5675, allocations: 55.66 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.5676, allocations: 19.98 kB / 1.063 GB, free: 12.96 MB / 0.8262 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 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003417/0.568, allocations: 149.8 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.5681, allocations: 31.59 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.5693, allocations: 354.1 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.5694, allocations: 12 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.5694, allocations: 0 / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.5694, allocations: 7.984 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.5702, allocations: 357 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.5702, allocations: 3.984 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.5707, allocations: 79.78 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.5707, allocations: 4.25 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.5708, allocations: 19.98 kB / 1.064 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.428e-05/0.5708, allocations: 8 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.5708, allocations: 4 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.5721, allocations: 497.8 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.5724, allocations: 152.5 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.5726, allocations: 19.94 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.573, allocations: 35.91 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.5732, allocations: 52.06 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.5732, allocations: 20 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001838/0.5734, allocations: 131.8 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5734, allocations: 0 / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001057/0.5745, allocations: 219.7 kB / 1.065 GB, free: 10.71 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002639/0.5772, allocations: 1.244 MB / 1.067 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.5784, allocations: 355.5 kB / 1.067 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.5784, allocations: 0 / 1.067 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005499/0.579, allocations: 196.3 kB / 1.067 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000683/0.5797, allocations: 35.92 kB / 1.067 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008146/0.5879, allocations: 2.84 MB / 1.07 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008172/0.5888, allocations: 0.7611 MB / 1.071 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004435/0.5892, allocations: 54.94 kB / 1.071 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.5896, allocations: 99.38 kB / 1.071 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of SimCode: time 1.553e-06/0.5896, allocations: 0 / 1.071 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.6268, allocations: 7.605 MB / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003928/0.6273, allocations: 245 kB / 1.078 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.622/4.249, allocations: 0 / 1.078 GB, free: 13.2 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)