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.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.001612/0.001612, allocations: 116.8 kB / 17.17 MB, free: 6 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.001918/0.001918, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.622/1.622, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.863/2.863, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_11_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.002482/0.002482, allocations: 63.84 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191/1.194, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00231/1.196, allocations: 0.9132 MB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003873/1.2, allocations: 2.584 MB / 1.282 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/1.2, allocations: 5.188 kB / 1.282 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.738e-05/1.2, allocations: 13.41 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002824/1.201, allocations: 49.92 kB / 1.282 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/1.202, allocations: 0.4901 MB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005438/1.203, allocations: 317.4 kB / 1.283 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/1.203, allocations: 12.02 kB / 1.283 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003649/1.203, allocations: 150.2 kB / 1.283 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/1.204, allocations: 154.3 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/1.204, allocations: 24.75 kB / 1.284 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009975/1.205, allocations: 396 kB / 1.284 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/1.205, allocations: 71.34 kB / 1.284 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/1.205, allocations: 113 kB / 1.284 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009905/1.206, allocations: 0.5706 MB / 1.285 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.206, allocations: 4.703 kB / 1.285 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/1.206, allocations: 0 / 1.285 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.206, allocations: 0 / 1.285 GB, free: 8.34 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.001569/1.208, allocations: 0.6729 MB / 1.285 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.208, allocations: 15.3 kB / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.372e-05/1.208, allocations: 6.906 kB / 1.285 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.245e-05/1.208, allocations: 46.64 kB / 1.285 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/1.209, allocations: 84.14 kB / 1.285 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/1.209, allocations: 199.9 kB / 1.286 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/1.209, allocations: 133.2 kB / 1.286 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/1.209, allocations: 25.45 kB / 1.286 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/1.21, allocations: 244.9 kB / 1.286 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.21, allocations: 1.094 kB / 1.286 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/1.21, allocations: 11.02 kB / 1.286 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/1.21, allocations: 4.312 kB / 1.286 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/1.21, allocations: 121.2 kB / 1.286 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/1.211, allocations: 399.5 kB / 1.287 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.212, allocations: 478.4 kB / 1.287 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/1.213, allocations: 154.7 kB / 1.287 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/1.213, allocations: 13.83 kB / 1.287 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005545/1.213, allocations: 323.1 kB / 1.287 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/1.213, allocations: 0 / 1.287 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.0009275/1.214, allocations: 414.1 kB / 1.288 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/1.214, allocations: 353.3 kB / 1.288 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/1.214, allocations: 160.8 kB / 1.288 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/1.215, allocations: 43.2 kB / 1.288 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/1.215, allocations: 99.56 kB / 1.288 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/1.215, allocations: 118.5 kB / 1.289 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/1.215, allocations: 94.73 kB / 1.289 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.215, allocations: 330.9 kB / 1.289 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/1.215, allocations: 116.4 kB / 1.289 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/1.216, allocations: 175.4 kB / 1.289 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/1.216, allocations: 263.7 kB / 1.29 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.216, allocations: 0 / 1.29 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000825/1.217, allocations: 382.1 kB / 1.29 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.217, allocations: 5.969 kB / 1.29 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.217, allocations: 5.031 kB / 1.29 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.217, allocations: 3.531 kB / 1.29 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/1.218, allocations: 76.92 kB / 1.29 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.218, allocations: 3.438 kB / 1.29 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/1.218, allocations: 50.14 kB / 1.29 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/1.218, allocations: 20.16 kB / 1.29 GB, free: 4.348 MB / 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.0001858/1.218, allocations: 159.3 kB / 1.29 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/1.218, allocations: 33.45 kB / 1.29 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007429/1.219, allocations: 354.2 kB / 1.291 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/1.219, allocations: 14.33 kB / 1.291 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.219, allocations: 6.5 kB / 1.291 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/1.219, allocations: 7.641 kB / 1.291 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/1.219, allocations: 351.5 kB / 1.291 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.219, allocations: 3.938 kB / 1.291 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/1.22, allocations: 75.88 kB / 1.291 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.22, allocations: 5.219 kB / 1.291 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/1.22, allocations: 18.28 kB / 1.291 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/1.22, allocations: 9.5 kB / 1.291 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.22, allocations: 8.062 kB / 1.291 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/1.221, allocations: 0.4909 MB / 1.292 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/1.221, allocations: 150.8 kB / 1.292 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/1.221, allocations: 17.88 kB / 1.292 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/1.221, allocations: 24.97 kB / 1.292 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.221, allocations: 60.36 kB / 1.292 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/1.221, allocations: 23.78 kB / 1.292 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001094/1.221, allocations: 125.8 kB / 1.292 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.221, allocations: 0 / 1.292 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008126/1.222, allocations: 230.1 kB / 1.292 GB, free: 3.074 MB / 0.9981 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.001815/1.224, allocations: 1.257 MB / 1.293 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007873/1.225, allocations: 316.1 kB / 1.294 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.225, allocations: 1.438 kB / 1.294 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003543/1.225, allocations: 177.1 kB / 1.294 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/1.225, allocations: 33.53 kB / 1.294 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/1.23, allocations: 2.783 MB / 1.297 GB, free: 48 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/1.23, allocations: 0.7596 MB / 1.297 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002102/1.23, allocations: 57.42 kB / 1.297 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/1.231, allocations: 94.61 kB / 1.297 GB, free: 15.27 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/1.231, allocations: 0 / 1.297 GB, free: 15.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/1.264, allocations: 8.144 MB / 1.305 GB, free: 14.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.8/10.06, allocations: 9.797 kB / 1.305 GB, free: 14.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3353.11 --timeout=400 --tolerance=1e-06 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: 16.57665405597072] Failed to read output from testmodel.py, exit status != 0: 10.194514580012765 10.207982076 8.998907476 Calling exit ...