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.442/1.442, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 176 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.001031/0.001031, allocations: 96.69 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.746e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2094, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7019/0.9114, allocations: 133 MB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.9117, allocations: 73.94 kB / 1.015 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03339/0.9451, allocations: 10.33 MB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.995e-06/0.9452, allocations: 0 / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.9452, allocations: 7.938 kB / 1.025 GB, free: 11.8 MB / 0.6511 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.001394/0.9466, allocations: 0.6188 MB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.9466, allocations: 12.03 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.9468, allocations: 15.81 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.9469, allocations: 200.6 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.947, allocations: 8 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.947, allocations: 12 kB / 1.026 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002514/0.9473, allocations: 84.7 kB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.9476, allocations: 221 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.9476, allocations: 7.922 kB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.9477, allocations: 4 kB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.9477, allocations: 4 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.9481, allocations: 358.5 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.9495, allocations: 472.6 kB / 1.027 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.9497, allocations: 143.4 kB / 1.027 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/0.9498, allocations: 11.05 kB / 1.027 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/0.9502, allocations: 297.6 kB / 1.028 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 2.735e-06/0.9502, allocations: 0 / 1.028 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.002537/0.9527, allocations: 0.5302 MB / 1.028 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002093/0.9529, allocations: 349.9 kB / 1.029 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.9531, allocations: 152.7 kB / 1.029 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.9532, allocations: 32.95 kB / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.9533, allocations: 99.98 kB / 1.029 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.9534, allocations: 104.1 kB / 1.029 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.9534, allocations: 4 kB / 1.029 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9536, allocations: 329.7 kB / 1.029 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.9538, allocations: 96.42 kB / 1.029 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.954, allocations: 160.4 kB / 1.029 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/0.9572, allocations: 0.4888 MB / 1.03 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.9572, allocations: 0 / 1.03 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003734/0.961, allocations: 0.7219 MB / 1.031 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.961, allocations: 8 kB / 1.031 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.961, allocations: 0 / 1.031 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.9611, allocations: 4 kB / 1.031 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.9614, allocations: 63.14 kB / 1.031 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.9614, allocations: 4 kB / 1.031 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.9618, allocations: 55.09 kB / 1.031 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.9619, allocations: 27.36 kB / 1.031 GB, free: 6.23 MB / 0.6511 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 () * 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.0001778/0.9621, allocations: 119.8 kB / 1.031 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002507/0.9646, allocations: 0.5431 MB / 1.031 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.9647, allocations: 23.72 kB / 1.031 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.9653, allocations: 321 kB / 1.032 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.9654, allocations: 12 kB / 1.032 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.9654, allocations: 0 / 1.032 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.9654, allocations: 7.984 kB / 1.032 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.9659, allocations: 308.8 kB / 1.032 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.9659, allocations: 0 / 1.032 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.9662, allocations: 74.97 kB / 1.032 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.9662, allocations: 4.5 kB / 1.032 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.9663, allocations: 15.36 kB / 1.032 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.9663, allocations: 8 kB / 1.032 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.9663, allocations: 4 kB / 1.032 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/0.9691, allocations: 0.8118 MB / 1.033 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.9694, allocations: 161.7 kB / 1.033 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.9695, allocations: 4 kB / 1.033 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.9697, allocations: 27.97 kB / 1.033 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.9699, allocations: 55.75 kB / 1.033 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.9699, allocations: 26.55 kB / 1.033 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001065/0.97, allocations: 121.9 kB / 1.033 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.97, allocations: 0 / 1.033 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008187/0.9708, allocations: 214.5 kB / 1.034 GB, free: 3.527 MB / 0.6511 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) * 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.00415/0.975, allocations: 2.318 MB / 1.036 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002187/0.9772, allocations: 2.998 MB / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.9772, allocations: 0 / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.9775, allocations: 167.1 kB / 1.039 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.9777, allocations: 15.41 kB / 1.039 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.979, allocations: 0.5281 MB / 1.039 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.9794, allocations: 0.769 MB / 1.04 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.9796, allocations: 51.33 kB / 1.04 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.9798, allocations: 93.7 kB / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of SimCode: time 6.51e-07/0.9798, allocations: 7.938 kB / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/1.007, allocations: 6.845 MB / 1.047 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/1.007, allocations: 181.7 kB / 1.047 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.79, allocations: 5.406 kB / 1.047 GB, free: 5.66 MB / 0.6667 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)