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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.127/3.127, allocations: 0.5003 GB / 0.8026 GB, free: 6.688 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 75.89 kB / 1.165 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 178.9 MB / 1.34 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002642/1.038, allocations: 0.9054 MB / 1.341 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006143/1.044, allocations: 2.589 MB / 1.344 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/1.044, allocations: 0 / 1.344 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/1.045, allocations: 11.81 kB / 1.344 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006815/1.045, allocations: 54.59 kB / 1.344 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/1.048, allocations: 0.4993 MB / 1.344 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008173/1.048, allocations: 313.7 kB / 1.344 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/1.049, allocations: 7.719 kB / 1.344 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005658/1.049, allocations: 155.5 kB / 1.345 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004698/1.05, allocations: 150.1 kB / 1.345 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/1.05, allocations: 23.97 kB / 1.345 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/1.051, allocations: 392.4 kB / 1.345 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/1.051, allocations: 64.14 kB / 1.345 GB, free: 10 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/1.051, allocations: 120.7 kB / 1.345 GB, free: 9.918 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/1.052, allocations: 0.5712 MB / 1.346 GB, free: 9.562 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/1.052, allocations: 0 / 1.346 GB, free: 9.562 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.926e-06/1.052, allocations: 3.938 kB / 1.346 GB, free: 9.559 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.052, allocations: 0 / 1.346 GB, free: 9.559 MB / 1.029 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.001574/1.054, allocations: 0.6815 MB / 1.346 GB, free: 8.973 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.054, allocations: 9.031 kB / 1.346 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.264e-05/1.054, allocations: 3.531 kB / 1.346 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.972e-05/1.054, allocations: 47.33 kB / 1.347 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/1.055, allocations: 92.69 kB / 1.347 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/1.055, allocations: 197.8 kB / 1.347 GB, free: 8.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/1.055, allocations: 129 kB / 1.347 GB, free: 8.523 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/1.056, allocations: 21.28 kB / 1.347 GB, free: 8.516 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/1.056, allocations: 238.4 kB / 1.347 GB, free: 8.297 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.056, allocations: 1.312 kB / 1.347 GB, free: 8.297 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/1.056, allocations: 10.61 kB / 1.347 GB, free: 8.289 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/1.056, allocations: 8.156 kB / 1.347 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/1.056, allocations: 115.1 kB / 1.347 GB, free: 8.227 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/1.057, allocations: 393.2 kB / 1.348 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/1.058, allocations: 481.2 kB / 1.348 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/1.059, allocations: 154.5 kB / 1.348 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/1.059, allocations: 16.89 kB / 1.348 GB, free: 7.234 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005916/1.059, allocations: 321.8 kB / 1.349 GB, free: 6.953 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/1.059, allocations: 0 / 1.349 GB, free: 6.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0009601/1.06, allocations: 421.7 kB / 1.349 GB, free: 6.738 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002314/1.061, allocations: 355.4 kB / 1.349 GB, free: 6.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/1.061, allocations: 169.6 kB / 1.35 GB, free: 6.176 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/1.061, allocations: 39.11 kB / 1.35 GB, free: 6.137 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/1.061, allocations: 92.42 kB / 1.35 GB, free: 6.047 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/1.061, allocations: 126.2 kB / 1.35 GB, free: 5.938 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/1.061, allocations: 95.17 kB / 1.35 GB, free: 5.875 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.061, allocations: 331.6 kB / 1.35 GB, free: 5.547 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/1.062, allocations: 123.7 kB / 1.35 GB, free: 5.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/1.062, allocations: 160 kB / 1.35 GB, free: 5.395 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/1.063, allocations: 275.6 kB / 1.351 GB, free: 5.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.063, allocations: 0 / 1.351 GB, free: 5.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009278/1.064, allocations: 377.8 kB / 1.351 GB, free: 5.059 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.064, allocations: 5.344 kB / 1.351 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.064, allocations: 4.953 kB / 1.351 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.064, allocations: 2.594 kB / 1.351 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/1.064, allocations: 78.45 kB / 1.351 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.064, allocations: 6.734 kB / 1.351 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/1.065, allocations: 53.66 kB / 1.351 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/1.065, allocations: 21.45 kB / 1.351 GB, free: 4.984 MB / 1.029 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.000215/1.065, allocations: 150.8 kB / 1.351 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/1.065, allocations: 29.27 kB / 1.351 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008687/1.066, allocations: 354.9 kB / 1.352 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.066, allocations: 9.719 kB / 1.352 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.066, allocations: 7.531 kB / 1.352 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.066, allocations: 10.8 kB / 1.352 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/1.066, allocations: 358.4 kB / 1.352 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.066, allocations: 2.125 kB / 1.352 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/1.067, allocations: 75.28 kB / 1.352 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1.067, allocations: 4.469 kB / 1.352 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/1.067, allocations: 20.61 kB / 1.352 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/1.067, allocations: 5.094 kB / 1.352 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/1.067, allocations: 2.531 kB / 1.352 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008889/1.068, allocations: 0.4979 MB / 1.353 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/1.068, allocations: 148.7 kB / 1.353 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.068, allocations: 16.31 kB / 1.353 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/1.068, allocations: 29.88 kB / 1.353 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.068, allocations: 58.19 kB / 1.353 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/1.068, allocations: 19.69 kB / 1.353 GB, free: 3.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001163/1.069, allocations: 137.1 kB / 1.353 GB, free: 3.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.069, allocations: 0 / 1.353 GB, free: 3.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007895/1.069, allocations: 228.9 kB / 1.353 GB, free: 3.508 MB / 1.029 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.001868/1.071, allocations: 1.257 MB / 1.355 GB, free: 2.527 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007872/1.072, allocations: 323.1 kB / 1.355 GB, free: 2.391 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.072, allocations: 1.062 kB / 1.355 GB, free: 2.391 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004142/1.072, allocations: 171.2 kB / 1.355 GB, free: 2.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/1.073, allocations: 38.31 kB / 1.355 GB, free: 2.297 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/1.078, allocations: 2.78 MB / 1.358 GB, free: 144 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/1.079, allocations: 0.7621 MB / 1.359 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00021/1.079, allocations: 54.41 kB / 1.359 GB, free: 15.39 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/1.079, allocations: 101.7 kB / 1.359 GB, free: 15.31 MB / 1.045 GB Notification: Performance of SimCode: time 7.82e-07/1.079, allocations: 0 / 1.359 GB, free: 15.31 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/1.115, allocations: 8.18 MB / 1.367 GB, free: 8.207 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.889/10, allocations: 4.062 kB / 1.367 GB, free: 8.203 MB / 1.045 GB " [Timeout remaining time 290] (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 --stepSize=120.96 --timeout=800 --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) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.63694493600633] Failed to read output from testmodel.py, exit status != 0: 10.135907710005995 10.150645238 9.095251766 Calling exit ...