Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.00184/0.00184, allocations: 116.8 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.00233/0.00233, allocations: 212 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.601/1.601, 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.028/3.028, allocations: 0.5003 GB / 0.8026 GB, free: 6.695 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.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",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.002012/0.002012, allocations: 67.89 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 179 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001939/1.183, allocations: 0.9061 MB / 1.341 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002976/1.186, allocations: 2.576 MB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/1.186, allocations: 5.938 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.637e-05/1.186, allocations: 13.41 kB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002158/1.187, allocations: 45.7 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/1.188, allocations: 0.5003 MB / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003416/1.188, allocations: 317.1 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/1.188, allocations: 7.938 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/1.189, allocations: 151.5 kB / 1.345 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/1.189, allocations: 150.6 kB / 1.345 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/1.189, allocations: 27.38 kB / 1.345 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007269/1.19, allocations: 396.2 kB / 1.345 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/1.19, allocations: 66.88 kB / 1.345 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/1.19, allocations: 119.1 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009181/1.191, allocations: 0.5714 MB / 1.346 GB, free: 12.85 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.191, allocations: 0.5625 kB / 1.346 GB, free: 12.85 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/1.191, allocations: 1.125 kB / 1.346 GB, free: 12.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.191, allocations: 0 / 1.346 GB, free: 12.85 MB / 1.061 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.001447/1.192, allocations: 0.6806 MB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.192, allocations: 9.625 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.423e-05/1.192, allocations: 4.312 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/1.192, allocations: 59.09 kB / 1.347 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/1.193, allocations: 90.92 kB / 1.347 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/1.194, allocations: 188.1 kB / 1.347 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/1.194, allocations: 129.5 kB / 1.347 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/1.194, allocations: 26.53 kB / 1.347 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/1.194, allocations: 232.5 kB / 1.347 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.194, allocations: 0.9688 kB / 1.347 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/1.194, allocations: 7.438 kB / 1.347 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.194, allocations: 5.25 kB / 1.347 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/1.194, allocations: 120.2 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/1.195, allocations: 394.5 kB / 1.348 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/1.196, allocations: 490.4 kB / 1.348 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/1.197, allocations: 154.9 kB / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/1.197, allocations: 10.52 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/1.197, allocations: 317.7 kB / 1.349 GB, free: 10.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/1.197, allocations: 0 / 1.349 GB, free: 10.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.000951/1.198, allocations: 410.2 kB / 1.349 GB, free: 10.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/1.198, allocations: 360.6 kB / 1.349 GB, free: 10.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/1.198, allocations: 169.2 kB / 1.35 GB, free: 9.891 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/1.198, allocations: 43.69 kB / 1.35 GB, free: 9.848 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/1.198, allocations: 95 kB / 1.35 GB, free: 9.758 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/1.198, allocations: 114.5 kB / 1.35 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/1.199, allocations: 98.81 kB / 1.35 GB, free: 9.617 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.384e-05/1.199, allocations: 335.3 kB / 1.35 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/1.199, allocations: 115.8 kB / 1.35 GB, free: 9.258 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/1.199, allocations: 167.5 kB / 1.35 GB, free: 9.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/1.2, allocations: 273.9 kB / 1.351 GB, free: 9.047 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.2, allocations: 1.5 kB / 1.351 GB, free: 9.047 MB / 1.061 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008556/1.201, allocations: 380.8 kB / 1.351 GB, free: 8.895 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.201, allocations: 5.438 kB / 1.351 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.201, allocations: 2.188 kB / 1.351 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/1.201, allocations: 2.719 kB / 1.351 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/1.201, allocations: 77.39 kB / 1.351 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.201, allocations: 7.984 kB / 1.351 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/1.202, allocations: 55.77 kB / 1.351 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/1.202, allocations: 21.78 kB / 1.351 GB, free: 8.848 MB / 1.061 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.000174/1.202, allocations: 158.9 kB / 1.351 GB, free: 8.703 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/1.202, allocations: 24.84 kB / 1.351 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007907/1.203, allocations: 354.8 kB / 1.352 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/1.203, allocations: 8.531 kB / 1.352 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.203, allocations: 3.906 kB / 1.352 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.203, allocations: 6.172 kB / 1.352 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/1.203, allocations: 363.6 kB / 1.352 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.203, allocations: 4.422 kB / 1.352 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/1.204, allocations: 79.02 kB / 1.352 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/1.204, allocations: 5.781 kB / 1.352 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/1.204, allocations: 18.92 kB / 1.352 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/1.204, allocations: 6.016 kB / 1.352 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/1.204, allocations: 7.406 kB / 1.352 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/1.204, allocations: 0.4914 MB / 1.353 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/1.205, allocations: 155.3 kB / 1.353 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/1.205, allocations: 16.41 kB / 1.353 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/1.205, allocations: 29.23 kB / 1.353 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.205, allocations: 53.5 kB / 1.353 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/1.205, allocations: 22.58 kB / 1.353 GB, free: 7.754 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001189/1.205, allocations: 130.6 kB / 1.353 GB, free: 7.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.205, allocations: 4 kB / 1.353 GB, free: 7.656 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008468/1.206, allocations: 229.4 kB / 1.353 GB, free: 7.586 MB / 1.061 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.001531/1.208, allocations: 1.257 MB / 1.355 GB, free: 6.676 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000791/1.208, allocations: 323.1 kB / 1.355 GB, free: 6.578 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.208, allocations: 0 / 1.355 GB, free: 6.578 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/1.209, allocations: 169.4 kB / 1.355 GB, free: 6.527 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/1.209, allocations: 37.98 kB / 1.355 GB, free: 6.504 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/1.213, allocations: 2.781 MB / 1.358 GB, free: 4.555 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/1.213, allocations: 0.7599 MB / 1.358 GB, free: 3.848 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002207/1.214, allocations: 52.77 kB / 1.359 GB, free: 3.836 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/1.214, allocations: 99.19 kB / 1.359 GB, free: 3.777 MB / 1.061 GB Notification: Performance of SimCode: time 7.21e-07/1.214, allocations: 0 / 1.359 GB, free: 3.777 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/1.246, allocations: 8.133 MB / 1.367 GB, free: 2.832 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.006/10.25, allocations: 17.48 kB / 1.367 GB, free: 2.828 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3353.11 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.007650379964616] Failed to read output from testmodel.py, exit status != 0: 10.384974101965781 10.411875815 9.216125469 Calling exit ...