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.SunRiseSet.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.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",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.515/1.515, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001105/0.001105, allocations: 180.8 kB / 321.3 MB, free: 14.66 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.822/1.822, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.0008878/0.0008879, allocations: 86.47 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.119e-05/4.12e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7569/0.9951, allocations: 132.7 MB / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.9954, allocations: 78 kB / 1.022 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03461/1.03, allocations: 10.37 MB / 1.032 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.889e-06/1.03, allocations: 0 / 1.032 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.203e-05/1.03, allocations: 11.94 kB / 1.032 GB, free: 9.223 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.00131/1.031, allocations: 0.6151 MB / 1.032 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.031, allocations: 8.031 kB / 1.032 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.487e-05/1.032, allocations: 52.36 kB / 1.032 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/1.032, allocations: 19.81 kB / 1.032 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/1.032, allocations: 201.1 kB / 1.033 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/1.032, allocations: 129.5 kB / 1.033 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/1.032, allocations: 15.94 kB / 1.033 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/1.032, allocations: 233.2 kB / 1.033 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.032, allocations: 3.984 kB / 1.033 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/1.032, allocations: 7.25 kB / 1.033 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.032, allocations: 4 kB / 1.033 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/1.033, allocations: 114.3 kB / 1.033 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/1.033, allocations: 390.3 kB / 1.033 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/1.035, allocations: 492.6 kB / 1.034 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/1.035, allocations: 162.2 kB / 1.034 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/1.035, allocations: 7.984 kB / 1.034 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/1.035, allocations: 307.4 kB / 1.034 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 2.264e-06/1.035, allocations: 0 / 1.034 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.0006786/1.036, allocations: 323.4 kB / 1.035 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001874/1.036, allocations: 349.6 kB / 1.035 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/1.036, allocations: 157.1 kB / 1.035 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/1.036, allocations: 44.56 kB / 1.035 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/1.037, allocations: 96.61 kB / 1.035 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/1.037, allocations: 109.8 kB / 1.035 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/1.037, allocations: 5.875 kB / 1.035 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.037, allocations: 336.5 kB / 1.036 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/1.037, allocations: 103.4 kB / 1.036 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/1.037, allocations: 168.9 kB / 1.036 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/1.038, allocations: 109.8 kB / 1.036 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.038, allocations: 0 / 1.036 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006165/1.038, allocations: 358.5 kB / 1.036 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.038, allocations: 4 kB / 1.036 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.038, allocations: 0 / 1.036 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.038, allocations: 4 kB / 1.036 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/1.039, allocations: 87.36 kB / 1.036 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/1.039, allocations: 3.984 kB / 1.036 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/1.039, allocations: 59.53 kB / 1.037 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/1.039, allocations: 23.05 kB / 1.037 GB, free: 4.266 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.000159/1.039, allocations: 130.3 kB / 1.037 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/1.039, allocations: 27.34 kB / 1.037 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007073/1.04, allocations: 356.8 kB / 1.037 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/1.04, allocations: 8 kB / 1.037 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.04, allocations: 4 kB / 1.037 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.04, allocations: 8.484 kB / 1.037 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/1.04, allocations: 361.5 kB / 1.037 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.04, allocations: 4 kB / 1.037 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/1.041, allocations: 83.28 kB / 1.037 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/1.041, allocations: 4 kB / 1.037 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/1.041, allocations: 19.73 kB / 1.038 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/1.041, allocations: 4 kB / 1.038 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.041, allocations: 4 kB / 1.038 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/1.042, allocations: 0.5952 MB / 1.038 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/1.042, allocations: 155.4 kB / 1.038 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/1.042, allocations: 17.69 kB / 1.038 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/1.042, allocations: 43.03 kB / 1.038 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.042, allocations: 46.69 kB / 1.038 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/1.042, allocations: 23.8 kB / 1.038 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.785e-05/1.042, allocations: 137.8 kB / 1.039 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.042, allocations: 0 / 1.039 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008673/1.043, allocations: 229.3 kB / 1.039 GB, free: 2.16 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.001951/1.045, allocations: 2.113 MB / 1.041 GB, free: 52 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006148/1.046, allocations: 319 kB / 1.041 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.046, allocations: 4 kB / 1.041 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/1.046, allocations: 177.9 kB / 1.041 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/1.046, allocations: 23.61 kB / 1.041 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/1.048, allocations: 0.5787 MB / 1.042 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/1.048, allocations: 0.7689 MB / 1.043 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002395/1.048, allocations: 56.84 kB / 1.043 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/1.048, allocations: 92.95 kB / 1.043 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of SimCode: time 6.21e-07/1.048, allocations: 7.938 kB / 1.043 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/1.068, allocations: 7.133 MB / 1.05 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/1.068, allocations: 166.9 kB / 1.05 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/3.048, allocations: 0 / 1.05 GB, free: 6.969 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)