Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.SunRiseSet,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_11_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005367/0.005367, allocations: 101.9 kB / 15.73 MB, free: 6.02 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.0015/0.0015, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.507/2.507, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 71.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.6562, allocations: 159.1 MB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001908/0.6582, allocations: 0.8985 MB / 1.221 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.6611, allocations: 2.474 MB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.6612, allocations: 0 / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.6612, allocations: 11.81 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.6614, allocations: 59.55 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.6625, allocations: 498.3 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.6628, allocations: 323.1 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.6629, allocations: 9.688 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.6631, allocations: 139.6 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.6633, allocations: 151.5 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.6634, allocations: 24 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006161/0.664, allocations: 375.7 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.6641, allocations: 71.78 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.6642, allocations: 115.5 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.6649, allocations: 0.5526 MB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6649, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6649, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.6649, allocations: 4 kB / 1.226 GB, free: 12.3 MB / 0.9512 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.001286/0.6662, allocations: 0.6713 MB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.6662, allocations: 8.031 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.6663, allocations: 50.67 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.6664, allocations: 24.8 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.6665, allocations: 188.9 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.6667, allocations: 143.2 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.6667, allocations: 24.36 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.6671, allocations: 248.2 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.6671, allocations: 3.984 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.6671, allocations: 8 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6671, allocations: 4 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.6674, allocations: 115.7 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.6678, allocations: 396.1 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.6692, allocations: 491.3 kB / 1.228 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.6694, allocations: 162.2 kB / 1.228 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.6695, allocations: 19.88 kB / 1.228 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/0.6699, allocations: 319.5 kB / 1.228 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=40): time 1.794e-06/0.6699, allocations: 0 / 1.228 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.0007827/0.6707, allocations: 413.6 kB / 1.229 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/0.6709, allocations: 350.1 kB / 1.229 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.6711, allocations: 167.8 kB / 1.229 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.6711, allocations: 49.62 kB / 1.229 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.6712, allocations: 93.14 kB / 1.229 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.6713, allocations: 119.1 kB / 1.23 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.6714, allocations: 98.17 kB / 1.23 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6715, allocations: 334.8 kB / 1.23 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.6718, allocations: 113.1 kB / 1.23 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.6721, allocations: 173 kB / 1.23 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005291/0.6727, allocations: 261.2 kB / 1.231 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6727, allocations: 1 kB / 1.231 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007371/0.6734, allocations: 379 kB / 1.231 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.6735, allocations: 4 kB / 1.231 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6735, allocations: 4 kB / 1.231 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6735, allocations: 7.984 kB / 1.231 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.6739, allocations: 83.81 kB / 1.231 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6739, allocations: 0 / 1.231 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.6742, allocations: 55.7 kB / 1.231 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.6742, allocations: 19.98 kB / 1.231 GB, free: 6.207 MB / 0.9512 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.0001457/0.6743, allocations: 153.8 kB / 1.231 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.6744, allocations: 35.8 kB / 1.231 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006333/0.6751, allocations: 350.1 kB / 1.232 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6751, allocations: 8 kB / 1.232 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6751, allocations: 4 kB / 1.232 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.6751, allocations: 7.984 kB / 1.232 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.6755, allocations: 353.1 kB / 1.232 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6755, allocations: 4 kB / 1.232 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.6758, allocations: 79.83 kB / 1.232 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.6758, allocations: 8 kB / 1.232 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.6758, allocations: 12 kB / 1.232 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.6758, allocations: 15.92 kB / 1.232 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6758, allocations: 4 kB / 1.232 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.6766, allocations: 0.4943 MB / 1.233 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.6767, allocations: 152.7 kB / 1.233 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.6768, allocations: 16 kB / 1.233 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.677, allocations: 27.97 kB / 1.233 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.6771, allocations: 60 kB / 1.233 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.6772, allocations: 20 kB / 1.233 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.6773, allocations: 127.2 kB / 1.233 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6773, allocations: 0 / 1.233 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004748/0.6778, allocations: 223.2 kB / 1.233 GB, free: 3.949 MB / 0.9512 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.001358/0.6791, allocations: 1.247 MB / 1.234 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006151/0.6797, allocations: 331.2 kB / 1.235 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.6798, allocations: 4 kB / 1.235 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.6801, allocations: 191.7 kB / 1.235 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.6803, allocations: 31.94 kB / 1.235 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.6838, allocations: 2.782 MB / 1.238 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.6842, allocations: 0.761 MB / 1.238 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.6844, allocations: 51.33 kB / 1.238 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.6846, allocations: 95.38 kB / 1.238 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.6846, allocations: 4 kB / 1.238 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.081/2.766, allocations: 7.859 MB / 1.246 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/17.33, allocations: 0.5938 kB / 1.246 GB, free: 6.449 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)