Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.002053/0.002053, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.002771/0.002771, allocations: 195.6 kB / 16.26 MB, free: 6.625 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.548/1.548, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.26/3.26, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003075/0.003075, allocations: 71.84 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5675, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.004243/0.5718, allocations: 0.9491 MB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00572/0.5776, allocations: 2.483 MB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.5778, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.693e-05/0.5779, allocations: 19.81 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.5783, allocations: 35.69 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.5804, allocations: 458.3 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006146/0.5811, allocations: 311.1 kB / 1.057 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.5812, allocations: 21.59 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.5816, allocations: 147.6 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.5819, allocations: 147.5 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.228e-05/0.582, allocations: 24 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.5833, allocations: 315.7 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.5834, allocations: 67.78 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.5837, allocations: 115.5 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.5851, allocations: 0.5455 MB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.5851, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.527e-06/0.5851, allocations: 4 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.5851, allocations: 3.984 kB / 1.058 GB, free: 3 MB / 0.8106 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.002146/0.5873, allocations: 0.6568 MB / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.717e-05/0.5874, allocations: 16.61 kB / 1.059 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.5875, allocations: 46.73 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.5876, allocations: 24.66 kB / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.5879, allocations: 197.5 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.5882, allocations: 127.4 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.5883, allocations: 20.38 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.5889, allocations: 239.6 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.589, allocations: 3.938 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.589, allocations: 8 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.589, allocations: 4 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.5894, allocations: 115.8 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008032/0.5902, allocations: 395.1 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.5926, allocations: 0.4915 MB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.5929, allocations: 154.3 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-05/0.593, allocations: 19.86 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009192/0.5939, allocations: 307.6 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 2.895e-06/0.594, allocations: 0 / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.001431/0.5954, allocations: 416.9 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003654/0.5958, allocations: 350.6 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.596, allocations: 175.2 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.5961, allocations: 41.7 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.5962, allocations: 97.06 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.5964, allocations: 114.5 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.5966, allocations: 98.22 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.5968, allocations: 330.8 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.5973, allocations: 113.1 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.5978, allocations: 169 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/0.5987, allocations: 267 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5987, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001304/0.6, allocations: 384.2 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.6001, allocations: 8 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.6001, allocations: 4 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.6002, allocations: 0 / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.6008, allocations: 79.88 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.6008, allocations: 4 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.6013, allocations: 47.66 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.6014, allocations: 23.98 kB / 1.063 GB, free: 12.96 MB / 0.8262 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.0002929/0.6017, allocations: 156 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.6018, allocations: 31.64 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.603, allocations: 362 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.6031, allocations: 8 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.6031, allocations: 4 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.6031, allocations: 7.984 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/0.604, allocations: 353 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.604, allocations: 4 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/0.6044, allocations: 71.91 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/0.6045, allocations: 7.984 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/0.6045, allocations: 16 kB / 1.064 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/0.6046, allocations: 7.938 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.6046, allocations: 8 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.6059, allocations: 0.4942 MB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.6062, allocations: 144.5 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.6063, allocations: 19.98 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.6067, allocations: 27.92 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.6069, allocations: 55.88 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.607, allocations: 31.92 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001794/0.6072, allocations: 123.8 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6072, allocations: 0 / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00111/0.6083, allocations: 215.7 kB / 1.065 GB, free: 10.71 MB / 0.8262 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.002482/0.6108, allocations: 1.236 MB / 1.067 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.6121, allocations: 367.2 kB / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6121, allocations: 7.875 kB / 1.067 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.6126, allocations: 187.7 kB / 1.067 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.6132, allocations: 35.92 kB / 1.067 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006921/0.6201, allocations: 2.84 MB / 1.07 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.621, allocations: 0.7572 MB / 1.071 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00044/0.6214, allocations: 56.08 kB / 1.071 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.6218, allocations: 99.39 kB / 1.071 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of SimCode: time 1.162e-06/0.6218, allocations: 0 / 1.071 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04524/0.6671, allocations: 7.606 MB / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000427/0.6676, allocations: 235.5 kB / 1.078 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/4.172, allocations: 0 / 1.078 GB, free: 13.21 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)