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.663/1.663, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001038/0.001039, allocations: 176.9 kB / 361.4 MB, free: 6.863 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.778/1.778, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0008295/0.0008294, allocations: 93.23 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.912e-05, allocations: 4 kB / 0.8518 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5798/0.5799, allocations: 115.3 MB / 0.9645 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.762, allocations: 138.1 MB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.7623, allocations: 75.12 kB / 1.099 GB, free: 1.598 MB / 0.698 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.032/0.7944, allocations: 10.01 MB / 1.109 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7944, allocations: 0 / 1.109 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.7944, allocations: 4 kB / 1.109 GB, free: 7.664 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.001272/0.7957, allocations: 0.6069 MB / 1.11 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.7958, allocations: 8.031 kB / 1.11 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.7958, allocations: 20.84 kB / 1.11 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.796, allocations: 186.8 kB / 1.11 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.796, allocations: 11.98 kB / 1.11 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.7961, allocations: 12 kB / 1.11 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002162/0.7963, allocations: 100.5 kB / 1.11 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.7966, allocations: 227.7 kB / 1.11 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.7966, allocations: 7.938 kB / 1.11 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.7967, allocations: 4 kB / 1.11 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.7967, allocations: 4 kB / 1.11 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.7975, allocations: 0.9208 MB / 1.111 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.7988, allocations: 463.4 kB / 1.112 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.799, allocations: 145.7 kB / 1.112 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.7991, allocations: 11.98 kB / 1.112 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/0.7995, allocations: 287.8 kB / 1.112 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 2.455e-06/0.7995, allocations: 0 / 1.112 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.002348/0.8019, allocations: 0.4926 MB / 1.113 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/0.8021, allocations: 354.2 kB / 1.113 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.8022, allocations: 156.5 kB / 1.113 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.8023, allocations: 33.69 kB / 1.113 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.8023, allocations: 101.3 kB / 1.113 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/0.8024, allocations: 110.5 kB / 1.113 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.8025, allocations: 0 / 1.113 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.8026, allocations: 330.8 kB / 1.114 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.8027, allocations: 89.11 kB / 1.114 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.803, allocations: 167.3 kB / 1.114 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.8059, allocations: 436.4 kB / 1.114 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8059, allocations: 0 / 1.114 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003294/0.8092, allocations: 0.6412 MB / 1.115 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.8092, allocations: 12 kB / 1.115 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.8092, allocations: 0 / 1.115 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.8093, allocations: 4 kB / 1.115 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.8096, allocations: 71.83 kB / 1.115 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.8096, allocations: 7.984 kB / 1.115 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.8099, allocations: 43.67 kB / 1.115 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.81, allocations: 27.98 kB / 1.115 GB, free: 1.098 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.0001629/0.8102, allocations: 136.1 kB / 1.115 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002184/0.8124, allocations: 0.4928 MB / 1.116 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.8124, allocations: 23.72 kB / 1.116 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/0.813, allocations: 324 kB / 1.116 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.8131, allocations: 8.188 kB / 1.116 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.8131, allocations: 6.188 kB / 1.116 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.8131, allocations: 15.92 kB / 1.116 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.8135, allocations: 297.7 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8135, allocations: 4 kB / 1.116 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.8138, allocations: 67.91 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.8138, allocations: 11.94 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.8138, allocations: 11.98 kB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.8138, allocations: 8 kB / 1.116 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.8138, allocations: 4 kB / 1.116 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.8162, allocations: 0.7836 MB / 1.117 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.8163, allocations: 153.5 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.8164, allocations: 4 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.8166, allocations: 39.97 kB / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.8168, allocations: 51.83 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.8168, allocations: 23.98 kB / 1.117 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.661e-05/0.8169, allocations: 119.8 kB / 1.118 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8169, allocations: 0 / 1.118 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005792/0.8175, allocations: 203.7 kB / 1.118 GB, free: 14.16 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.003212/0.8207, allocations: 2.277 MB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.8225, allocations: 2.979 MB / 1.123 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8225, allocations: 0 / 1.123 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.8227, allocations: 166 kB / 1.123 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.823, allocations: 16.17 kB / 1.123 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.824, allocations: 0.5257 MB / 1.124 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.8243, allocations: 0.769 MB / 1.124 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.8245, allocations: 59.3 kB / 1.124 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.8247, allocations: 91.39 kB / 1.124 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.8247, allocations: 0 / 1.124 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4197/1.244, allocations: 6.757 MB / 1.131 GB, free: 348 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/1.245, allocations: 184.1 kB / 1.131 GB, free: 148 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/3.2, allocations: 2.953 kB / 1.131 GB, free: 148 kB / 0.7292 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)