Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01068/0.01068, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001986/0.001986, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.307/2.307, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.862/3.862, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 62.03 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4392, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002859/0.4421, allocations: 0.9039 MB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004844/0.447, allocations: 2.472 MB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.4472, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.478e-05/0.4472, allocations: 15.81 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.4476, allocations: 47.56 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.4495, allocations: 0.4972 MB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.45, allocations: 319.1 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.4501, allocations: 13.67 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.4504, allocations: 143.6 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.4508, allocations: 155.4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.184e-05/0.4509, allocations: 24 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.452, allocations: 371.7 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.4521, allocations: 71.8 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.4523, allocations: 115.5 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.4535, allocations: 0.5502 MB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4535, allocations: 4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4535, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.4536, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 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.002142/0.4557, allocations: 0.6584 MB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.4558, allocations: 11.97 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.658e-05/0.4559, allocations: 50.67 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.456, allocations: 28.66 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.4562, allocations: 180.9 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.4565, allocations: 139.3 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.4566, allocations: 16.38 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.4572, allocations: 248.2 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4573, allocations: 8 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.4573, allocations: 4 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.4573, allocations: 4 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.4577, allocations: 119.7 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.4585, allocations: 391.1 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.461, allocations: 499.3 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.4614, allocations: 166.2 kB / 1.095 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.919e-05/0.4615, allocations: 11.92 kB / 1.095 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008007/0.4623, allocations: 319.5 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=40): time 3.627e-06/0.4623, allocations: 0 / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40): time 0.001511/0.4638, allocations: 408.9 kB / 1.096 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002501/0.4641, allocations: 354.6 kB / 1.096 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4644, allocations: 175.1 kB / 1.097 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/0.4645, allocations: 41.7 kB / 1.097 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.4646, allocations: 101.1 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.4648, allocations: 110.5 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.465, allocations: 94.22 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4652, allocations: 330.8 kB / 1.097 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.4658, allocations: 117.1 kB / 1.097 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.4663, allocations: 169 kB / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009793/0.4673, allocations: 267.1 kB / 1.098 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4673, allocations: 4 kB / 1.098 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001363/0.4687, allocations: 382.1 kB / 1.098 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.4687, allocations: 8 kB / 1.098 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4688, allocations: 3.938 kB / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/0.4688, allocations: 4 kB / 1.098 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.4695, allocations: 75.81 kB / 1.098 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.4696, allocations: 4 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.4701, allocations: 51.66 kB / 1.098 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.4701, allocations: 19.98 kB / 1.098 GB, free: 6.266 MB / 0.8575 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.0003166/0.4705, allocations: 158.5 kB / 1.098 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.4706, allocations: 27.66 kB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.4718, allocations: 358 kB / 1.099 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.4718, allocations: 12 kB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.4718, allocations: 0 / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.4719, allocations: 7.984 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.4726, allocations: 361 kB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.4726, allocations: 0 / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.4731, allocations: 83.77 kB / 1.099 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.4731, allocations: 4 kB / 1.099 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.4732, allocations: 12 kB / 1.099 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.471e-05/0.4732, allocations: 11.98 kB / 1.099 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.4732, allocations: 3.984 kB / 1.099 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.4745, allocations: 0.4903 MB / 1.1 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.4748, allocations: 152.5 kB / 1.1 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.475, allocations: 23.98 kB / 1.1 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.4754, allocations: 31.97 kB / 1.1 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.4756, allocations: 47.83 kB / 1.1 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.4757, allocations: 23.98 kB / 1.1 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001974/0.4759, allocations: 131.2 kB / 1.1 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4759, allocations: 0 / 1.1 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001165/0.4771, allocations: 215.7 kB / 1.1 GB, free: 4.004 MB / 0.8575 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.002509/0.4796, allocations: 1.236 MB / 1.102 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.4809, allocations: 339.2 kB / 1.102 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.4809, allocations: 4 kB / 1.102 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.4814, allocations: 187.8 kB / 1.102 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.482, allocations: 37.38 kB / 1.102 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006647/0.4887, allocations: 2.766 MB / 1.105 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.4894, allocations: 0.7611 MB / 1.106 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003361/0.4898, allocations: 51.11 kB / 1.106 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.4901, allocations: 103.4 kB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of SimCode: time 1.192e-06/0.4901, allocations: 3.938 kB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04361/0.5337, allocations: 7.872 MB / 1.113 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.41, allocations: 7.609 kB / 1.113 GB, free: 6.559 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)