Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001981/0.001981, allocations: 104.3 kB / 19.7 MB, free: 1.789 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.002581/0.002581, allocations: 210.2 kB / 22.99 MB, free: 4.617 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 / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.115/1.115, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002433/0.002433, allocations: 70.11 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2069, allocations: 89.17 MB / 0.7281 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0025/0.2094, allocations: 0.8384 MB / 0.729 GB, free: 224 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.2133, allocations: 2.412 MB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2134, allocations: 4 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.202e-05/0.2135, allocations: 15.75 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.2138, allocations: 39.62 kB / 0.7314 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.2153, allocations: 0.4908 MB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.2158, allocations: 327 kB / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.793e-05/0.2158, allocations: 13.75 kB / 0.7322 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.2162, allocations: 155.6 kB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.2165, allocations: 139.5 kB / 0.7325 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.2166, allocations: 24 kB / 0.7325 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007944/0.2174, allocations: 375.7 kB / 0.7328 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.2175, allocations: 67.84 kB / 0.7329 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.2177, allocations: 115.6 kB / 0.733 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.2187, allocations: 0.5607 MB / 0.7336 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2187, allocations: 0 / 0.7336 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2187, allocations: 4 kB / 0.7336 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.2187, allocations: 0 / 0.7336 GB, free: 11.48 MB / 0.5606 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.001459/0.2202, allocations: 0.6076 MB / 0.7342 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2202, allocations: 12.03 kB / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.223e-05/0.2203, allocations: 50.73 kB / 0.7342 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.2213, allocations: 88.72 kB / 0.7343 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.2215, allocations: 143 kB / 0.7344 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.2218, allocations: 234.2 kB / 0.7347 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.2218, allocations: 20.38 kB / 0.7347 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.2223, allocations: 247.6 kB / 0.7349 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2223, allocations: 4 kB / 0.7349 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2223, allocations: 4 kB / 0.7349 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.2223, allocations: 4 kB / 0.7349 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.2226, allocations: 115.7 kB / 0.735 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.223, allocations: 326.4 kB / 0.7353 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.2246, allocations: 483.2 kB / 0.7358 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.2248, allocations: 142.3 kB / 0.7359 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.2249, allocations: 19.86 kB / 0.736 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006327/0.2255, allocations: 307.6 kB / 0.7363 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.2255, allocations: 0 / 0.7363 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.000926/0.2265, allocations: 425.9 kB / 0.7367 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002274/0.2267, allocations: 354.1 kB / 0.737 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.2269, allocations: 167.2 kB / 0.7372 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.2269, allocations: 37.7 kB / 0.7372 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.227, allocations: 97.12 kB / 0.7373 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.2271, allocations: 115.1 kB / 0.7374 GB, free: 7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.2274, allocations: 94.16 kB / 0.7375 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.2276, allocations: 338.8 kB / 0.7378 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.2279, allocations: 113.4 kB / 0.7379 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.2282, allocations: 172.3 kB / 0.7381 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.2288, allocations: 258.9 kB / 0.7383 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2288, allocations: 0 / 0.7383 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007992/0.2296, allocations: 384.7 kB / 0.7387 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2296, allocations: 11.94 kB / 0.7387 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2296, allocations: 3.938 kB / 0.7387 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.2296, allocations: 4 kB / 0.7387 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.23, allocations: 79.88 kB / 0.7388 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.23, allocations: 4 kB / 0.7388 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.2303, allocations: 47.75 kB / 0.7388 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.2303, allocations: 19.98 kB / 0.7389 GB, free: 5.465 MB / 0.5606 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.0001824/0.2305, allocations: 154.5 kB / 0.739 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.2306, allocations: 31.78 kB / 0.739 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007253/0.2313, allocations: 366.1 kB / 0.7394 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.2313, allocations: 8 kB / 0.7394 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.2313, allocations: 4.438 kB / 0.7394 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.2314, allocations: 7.984 kB / 0.7394 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.2318, allocations: 296.3 kB / 0.7397 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.2318, allocations: 8 kB / 0.7397 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.2321, allocations: 67.89 kB / 0.7398 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.2321, allocations: 8 kB / 0.7398 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.2321, allocations: 16 kB / 0.7398 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.2322, allocations: 11.92 kB / 0.7398 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2322, allocations: 4 kB / 0.7398 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.2331, allocations: 0.4926 MB / 0.7403 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.2333, allocations: 63.73 kB / 0.7403 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.2333, allocations: 27.88 kB / 0.7404 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2336, allocations: 31.98 kB / 0.7404 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.2337, allocations: 59.78 kB / 0.7405 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.2337, allocations: 20 kB / 0.7405 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001119/0.2338, allocations: 123.2 kB / 0.7406 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2338, allocations: 0 / 0.7406 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006454/0.2345, allocations: 231.2 kB / 0.7408 GB, free: 3.348 MB / 0.5606 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.001632/0.2361, allocations: 1.261 MB / 0.742 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000716/0.2368, allocations: 326 kB / 0.7424 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2368, allocations: 0 / 0.7424 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.2371, allocations: 171.6 kB / 0.7425 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2374, allocations: 40.91 kB / 0.7426 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.2416, allocations: 2.752 MB / 0.7452 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.2418, allocations: 159.7 kB / 0.7454 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.242, allocations: 59.58 kB / 0.7455 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.2422, allocations: 95.33 kB / 0.7455 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of SimCode: time 9.41e-07/0.2422, allocations: 0 / 0.7455 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.2794, allocations: 8.765 MB / 0.7541 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.84, allocations: 9.016 kB / 0.7541 GB, free: 5.668 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.668179979082197] Failed to read output from testmodel.py, exit status != 0: 11.947496995795518 12.29501329 12.073577134 Calling exit ...