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.414/1.414, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.0009979/0.000998, allocations: 188.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009854/0.0009856, allocations: 90.42 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.517e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2491, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7841/1.033, allocations: 132.7 MB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.034, allocations: 78.12 kB / 1.022 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03327/1.067, allocations: 10.37 MB / 1.032 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.226e-06/1.067, allocations: 8 kB / 1.032 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.067, allocations: 3.938 kB / 1.032 GB, free: 9.262 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.001273/1.068, allocations: 0.6164 MB / 1.032 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.068, allocations: 11.97 kB / 1.032 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.371e-05/1.068, allocations: 54.23 kB / 1.032 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/1.068, allocations: 15.81 kB / 1.032 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/1.069, allocations: 201.1 kB / 1.033 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/1.069, allocations: 125.5 kB / 1.033 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/1.069, allocations: 15.81 kB / 1.033 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/1.069, allocations: 241.2 kB / 1.033 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.069, allocations: 0 / 1.033 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/1.069, allocations: 3.562 kB / 1.033 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.069, allocations: 11.98 kB / 1.033 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/1.069, allocations: 112.4 kB / 1.033 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/1.07, allocations: 392.8 kB / 1.033 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/1.071, allocations: 490.5 kB / 1.034 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/1.072, allocations: 154.8 kB / 1.034 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/1.072, allocations: 7.562 kB / 1.034 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/1.072, allocations: 309.1 kB / 1.034 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/1.072, allocations: 0 / 1.034 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.000658/1.073, allocations: 324.6 kB / 1.035 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/1.073, allocations: 354 kB / 1.035 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/1.073, allocations: 148.3 kB / 1.035 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/1.073, allocations: 52.19 kB / 1.035 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/1.073, allocations: 92.23 kB / 1.035 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-05/1.073, allocations: 111.2 kB / 1.035 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/1.073, allocations: 14.31 kB / 1.035 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.074, allocations: 333.4 kB / 1.036 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/1.074, allocations: 107.3 kB / 1.036 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/1.074, allocations: 161.8 kB / 1.036 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/1.074, allocations: 109.1 kB / 1.036 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.074, allocations: 0 / 1.036 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00066/1.075, allocations: 356.5 kB / 1.036 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.075, allocations: 4 kB / 1.036 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.075, allocations: 4 kB / 1.036 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/1.075, allocations: 4 kB / 1.036 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/1.075, allocations: 83.5 kB / 1.036 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/1.075, allocations: 4 kB / 1.036 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/1.076, allocations: 54.53 kB / 1.037 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/1.076, allocations: 19.55 kB / 1.037 GB, free: 4.312 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): 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.0002123/1.076, allocations: 145.3 kB / 1.037 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/1.076, allocations: 27.72 kB / 1.037 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00077/1.077, allocations: 353.5 kB / 1.037 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.077, allocations: 8 kB / 1.037 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/1.077, allocations: 4 kB / 1.037 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/1.077, allocations: 7.922 kB / 1.037 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/1.077, allocations: 360.4 kB / 1.037 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.077, allocations: 4 kB / 1.037 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/1.078, allocations: 75.41 kB / 1.037 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/1.078, allocations: 4 kB / 1.037 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/1.078, allocations: 18.86 kB / 1.037 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/1.078, allocations: 8 kB / 1.038 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.078, allocations: 3.938 kB / 1.038 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/1.079, allocations: 0.5995 MB / 1.038 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/1.079, allocations: 159.4 kB / 1.038 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/1.079, allocations: 17.38 kB / 1.038 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/1.079, allocations: 34.84 kB / 1.038 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.079, allocations: 47 kB / 1.038 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/1.079, allocations: 27.8 kB / 1.038 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.749e-05/1.079, allocations: 135 kB / 1.038 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.079, allocations: 0 / 1.038 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008111/1.08, allocations: 229.4 kB / 1.039 GB, free: 2.203 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.002089/1.082, allocations: 2.12 MB / 1.041 GB, free: 88 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000603/1.083, allocations: 311.8 kB / 1.041 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.083, allocations: 4 kB / 1.041 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/1.083, allocations: 180.1 kB / 1.041 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/1.084, allocations: 22.92 kB / 1.041 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/1.085, allocations: 0.5737 MB / 1.042 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/1.085, allocations: 0.7689 MB / 1.043 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002436/1.085, allocations: 60.61 kB / 1.043 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/1.086, allocations: 101.1 kB / 1.043 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of SimCode: time 4.91e-07/1.086, allocations: 0 / 1.043 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/1.104, allocations: 7.161 MB / 1.05 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.105, allocations: 183.3 kB / 1.05 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/3.186, allocations: 0 / 1.05 GB, free: 7.039 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)