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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 112.1 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.968/2.968, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.89 kB / 1.107 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002384/1.137, allocations: 0.9244 MB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003151/1.141, allocations: 2.496 MB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/1.141, allocations: 0.9375 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.826e-05/1.141, allocations: 11.81 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002161/1.141, allocations: 54.23 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/1.142, allocations: 0.4946 MB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/1.143, allocations: 312 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.76e-05/1.143, allocations: 6.781 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/1.143, allocations: 157 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/1.143, allocations: 151.2 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/1.143, allocations: 24.09 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00073/1.144, allocations: 369.9 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/1.144, allocations: 66.61 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/1.144, allocations: 118.3 kB / 1.277 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007765/1.145, allocations: 0.5536 MB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.145, allocations: 0.8438 kB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.755e-06/1.145, allocations: 0.5625 kB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.804e-06/1.145, allocations: 4.875 kB / 1.277 GB, free: 4.426 MB / 0.9981 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.001258/1.146, allocations: 0.6628 MB / 1.278 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/1.146, allocations: 12.97 kB / 1.278 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/1.146, allocations: 52.86 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/1.146, allocations: 28.39 kB / 1.278 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.463e-05/1.146, allocations: 188 kB / 1.278 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/1.146, allocations: 138.9 kB / 1.278 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/1.147, allocations: 17.59 kB / 1.278 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/1.147, allocations: 253.1 kB / 1.278 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.147, allocations: 1 kB / 1.278 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/1.147, allocations: 6.719 kB / 1.278 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/1.147, allocations: 4.594 kB / 1.278 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/1.147, allocations: 116.2 kB / 1.278 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/1.148, allocations: 395.1 kB / 1.279 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/1.149, allocations: 482.1 kB / 1.279 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/1.149, allocations: 151.8 kB / 1.279 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/1.149, allocations: 18.16 kB / 1.279 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004713/1.15, allocations: 314.2 kB / 1.28 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=40): time 2.395e-06/1.15, allocations: 0 / 1.28 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.0008897/1.15, allocations: 420.8 kB / 1.28 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/1.151, allocations: 349.7 kB / 1.281 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/1.151, allocations: 168.1 kB / 1.281 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/1.151, allocations: 43.58 kB / 1.281 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/1.151, allocations: 103 kB / 1.281 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.792e-05/1.151, allocations: 119.2 kB / 1.281 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/1.151, allocations: 100.1 kB / 1.281 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.584e-05/1.151, allocations: 330.2 kB / 1.281 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/1.151, allocations: 116.9 kB / 1.281 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/1.152, allocations: 167.9 kB / 1.282 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/1.152, allocations: 263.9 kB / 1.282 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.152, allocations: 2.75 kB / 1.282 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007048/1.153, allocations: 381.5 kB / 1.282 GB, free: 492 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.153, allocations: 7.656 kB / 1.282 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.153, allocations: 4.516 kB / 1.282 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.153, allocations: 2.656 kB / 1.282 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/1.153, allocations: 81 kB / 1.282 GB, free: 476 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.153, allocations: 2.375 kB / 1.282 GB, free: 476 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/1.154, allocations: 53.53 kB / 1.282 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/1.154, allocations: 20.52 kB / 1.282 GB, free: 444 kB / 0.9981 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.0001231/1.154, allocations: 146.2 kB / 1.283 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/1.154, allocations: 32.2 kB / 1.283 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006262/1.154, allocations: 361.2 kB / 1.283 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/1.154, allocations: 8.75 kB / 1.283 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.154, allocations: 2.891 kB / 1.283 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/1.154, allocations: 9.844 kB / 1.283 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/1.155, allocations: 352.2 kB / 1.283 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.155, allocations: 3.25 kB / 1.283 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/1.155, allocations: 80.56 kB / 1.283 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.155, allocations: 6.031 kB / 1.283 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/1.155, allocations: 16.81 kB / 1.283 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.155, allocations: 7.156 kB / 1.283 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.155, allocations: 2.141 kB / 1.283 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/1.156, allocations: 0.503 MB / 1.284 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/1.156, allocations: 147.8 kB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/1.156, allocations: 20 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/1.156, allocations: 34.69 kB / 1.284 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.157, allocations: 52.5 kB / 1.284 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/1.157, allocations: 27.02 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001315/1.157, allocations: 121.8 kB / 1.284 GB, free: 15.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/1.157, allocations: 3.656 kB / 1.284 GB, free: 15.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007269/1.157, allocations: 222.6 kB / 1.284 GB, free: 15.16 MB / 1.014 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.001553/1.159, allocations: 1.244 MB / 1.286 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007138/1.16, allocations: 315.8 kB / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.16, allocations: 0 / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/1.16, allocations: 168 kB / 1.286 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/1.16, allocations: 36.34 kB / 1.286 GB, free: 14.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/1.165, allocations: 2.775 MB / 1.289 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/1.165, allocations: 0.7592 MB / 1.29 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002191/1.165, allocations: 57.66 kB / 1.29 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/1.165, allocations: 98.39 kB / 1.29 GB, free: 11.37 MB / 1.014 GB Notification: Performance of SimCode: time 1.623e-06/1.165, allocations: 0 / 1.29 GB, free: 11.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/1.203, allocations: 7.906 MB / 1.298 GB, free: 10.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/9.498, allocations: 11 kB / 1.298 GB, free: 10.46 MB / 1.014 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3353.11 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.928476428001886] Failed to read output from testmodel.py, exit status != 0: 9.570669906999683 9.586351927 8.438367794 Calling exit ...