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.001358/0.001358, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.0016/0.0016, allocations: 223.3 kB / 23.01 MB, free: 5.043 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.988 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 0.941/0.941, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] 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.002921/0.002921, allocations: 64.52 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2094, allocations: 89.17 MB / 0.7283 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002006/0.2114, allocations: 0.8817 MB / 0.7292 GB, free: 376 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003377/0.2148, allocations: 2.584 MB / 0.7317 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.2149, allocations: 7.938 kB / 0.7317 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.896e-05/0.215, allocations: 11.81 kB / 0.7317 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.2152, allocations: 51.55 kB / 0.7318 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.2163, allocations: 0.5022 MB / 0.7323 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.2167, allocations: 315.1 kB / 0.7326 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/0.2167, allocations: 9.812 kB / 0.7326 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.217, allocations: 151.6 kB / 0.7327 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.2173, allocations: 151.5 kB / 0.7329 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.2173, allocations: 24 kB / 0.7329 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007118/0.218, allocations: 395.7 kB / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.2181, allocations: 71.78 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.2182, allocations: 123.4 kB / 0.7335 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007589/0.219, allocations: 0.5646 MB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.219, allocations: 0 / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.219, allocations: 0 / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.219, allocations: 0 / 0.734 GB, free: 11.41 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.001349/0.2204, allocations: 0.6115 MB / 0.7346 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2204, allocations: 12.03 kB / 0.7346 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.2205, allocations: 46.73 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.2215, allocations: 92.72 kB / 0.7348 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.2216, allocations: 142.9 kB / 0.7349 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.2219, allocations: 238.2 kB / 0.7351 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.2219, allocations: 16.38 kB / 0.7351 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.2224, allocations: 243.7 kB / 0.7354 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2224, allocations: 3.938 kB / 0.7354 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.2224, allocations: 7.984 kB / 0.7354 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2224, allocations: 8 kB / 0.7354 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.2227, allocations: 103.8 kB / 0.7355 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.2232, allocations: 378.2 kB / 0.7358 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.2248, allocations: 479.3 kB / 0.7363 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.225, allocations: 146.3 kB / 0.7364 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.2251, allocations: 7.938 kB / 0.7365 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000596/0.2257, allocations: 323.5 kB / 0.7368 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.335e-06/0.2257, allocations: 0 / 0.7368 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0009/0.2266, allocations: 417.3 kB / 0.7372 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002491/0.2268, allocations: 362.6 kB / 0.7375 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.227, allocations: 163.2 kB / 0.7377 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.227, allocations: 37.7 kB / 0.7377 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.2271, allocations: 93.14 kB / 0.7378 GB, free: 7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.2273, allocations: 119 kB / 0.7379 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.2275, allocations: 90.17 kB / 0.738 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2276, allocations: 338.8 kB / 0.7383 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.228, allocations: 120.9 kB / 0.7384 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.2283, allocations: 164.3 kB / 0.7386 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.2289, allocations: 270.7 kB / 0.7388 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2289, allocations: 0 / 0.7388 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007893/0.2297, allocations: 384.7 kB / 0.7392 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2298, allocations: 4 kB / 0.7392 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2298, allocations: 7.984 kB / 0.7392 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2298, allocations: 0 / 0.7392 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.2302, allocations: 75.89 kB / 0.7393 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.2302, allocations: 3.984 kB / 0.7393 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.2305, allocations: 47.77 kB / 0.7393 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.2305, allocations: 19.98 kB / 0.7394 GB, free: 5.352 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.0002184/0.2308, allocations: 158.7 kB / 0.7395 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.2308, allocations: 27.8 kB / 0.7395 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007227/0.2315, allocations: 362.7 kB / 0.7399 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.2316, allocations: 8 kB / 0.7399 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/0.2316, allocations: 4 kB / 0.7399 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.2316, allocations: 7.984 kB / 0.7399 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.232, allocations: 324.2 kB / 0.7402 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.232, allocations: 7.984 kB / 0.7402 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.2323, allocations: 75.91 kB / 0.7403 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2323, allocations: 4 kB / 0.7403 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/0.2324, allocations: 19.98 kB / 0.7403 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.2324, allocations: 4 kB / 0.7403 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.2324, allocations: 7.938 kB / 0.7403 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.2332, allocations: 496.3 kB / 0.7408 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.2334, allocations: 71.62 kB / 0.7409 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.2334, allocations: 23.92 kB / 0.7409 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.2337, allocations: 31.97 kB / 0.7409 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.2338, allocations: 51.86 kB / 0.741 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.2338, allocations: 28.23 kB / 0.741 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001096/0.2339, allocations: 119.2 kB / 0.7411 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2339, allocations: 0 / 0.7411 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006787/0.2346, allocations: 235.1 kB / 0.7413 GB, free: 3.211 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.001718/0.2363, allocations: 1.274 MB / 0.7426 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007149/0.237, allocations: 315.2 kB / 0.7429 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.237, allocations: 0 / 0.7429 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.2373, allocations: 175.7 kB / 0.743 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2376, allocations: 28.92 kB / 0.7431 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.2418, allocations: 2.777 MB / 0.7458 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2422, allocations: 0.7572 MB / 0.7465 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.2424, allocations: 49.62 kB / 0.7466 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.2426, allocations: 99.38 kB / 0.7467 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.2426, allocations: 0 / 0.7467 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.28, allocations: 8.47 MB / 0.7549 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.49, allocations: 13.12 kB / 0.7549 GB, free: 5.176 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.160279580999486] Failed to read output from testmodel.py, exit status != 0: 11.601416412999242 11.981152266 11.759368017 Calling exit ...