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.001422/0.001422, allocations: 103.7 kB / 20.5 MB, free: 1.34 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.001454/0.001454, allocations: 216.6 kB / 23.8 MB, free: 4.484 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.491/1.491, allocations: 230.6 MB / 257.6 MB, free: 7.75 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.025/1.025, allocations: 150 MB / 464 MB, free: 10.21 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: translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [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.002125/0.002125, allocations: 64.5 kB / 0.6425 GB, free: 9.402 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1933, allocations: 89.17 MB / 0.7296 GB, free: 312 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002205/0.1955, allocations: 0.8258 MB / 0.7304 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.1987, allocations: 2.416 MB / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.1988, allocations: 4 kB / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.1988, allocations: 11.81 kB / 0.7328 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1991, allocations: 51.61 kB / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.2002, allocations: 0.4904 MB / 0.7333 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.2005, allocations: 319.1 kB / 0.7336 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.2006, allocations: 9.812 kB / 0.7336 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.2009, allocations: 159.6 kB / 0.7338 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.2011, allocations: 139.5 kB / 0.7339 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.2012, allocations: 24 kB / 0.7339 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006633/0.2018, allocations: 383.7 kB / 0.7343 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.2019, allocations: 67.8 kB / 0.7343 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.202, allocations: 103.6 kB / 0.7344 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007473/0.2028, allocations: 0.5685 MB / 0.735 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2028, allocations: 7.922 kB / 0.735 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2028, allocations: 0 / 0.735 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2028, allocations: 0 / 0.735 GB, free: 10.73 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.001368/0.2041, allocations: 0.6038 MB / 0.7356 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2042, allocations: 8.031 kB / 0.7356 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.2053, allocations: 92.73 kB / 0.7357 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2054, allocations: 142.9 kB / 0.7358 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.2057, allocations: 238.1 kB / 0.736 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.2057, allocations: 16.38 kB / 0.7361 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.2061, allocations: 243.9 kB / 0.7363 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2061, allocations: 4 kB / 0.7363 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.2061, allocations: 8 kB / 0.7363 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2061, allocations: 4 kB / 0.7363 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.2064, allocations: 119.7 kB / 0.7364 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.2068, allocations: 290.9 kB / 0.7367 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.2084, allocations: 479.3 kB / 0.7372 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.2086, allocations: 150.2 kB / 0.7373 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.2086, allocations: 12 kB / 0.7373 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000508/0.2091, allocations: 311.6 kB / 0.7376 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/0.2091, allocations: 0 / 0.7376 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008803/0.21, allocations: 421.7 kB / 0.738 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/0.2102, allocations: 358.1 kB / 0.7384 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.2104, allocations: 163.2 kB / 0.7385 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.2104, allocations: 45.69 kB / 0.7386 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.2105, allocations: 93.14 kB / 0.7386 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.2106, allocations: 111.1 kB / 0.7388 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.2107, allocations: 98.16 kB / 0.7388 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2109, allocations: 330.8 kB / 0.7392 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.2112, allocations: 116.9 kB / 0.7393 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.2115, allocations: 172.3 kB / 0.7394 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/0.2121, allocations: 273.7 kB / 0.7397 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2121, allocations: 0 / 0.7397 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007699/0.2129, allocations: 373.4 kB / 0.7401 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2129, allocations: 7.938 kB / 0.7401 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2129, allocations: 0 / 0.7401 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2129, allocations: 4 kB / 0.7401 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.2133, allocations: 75.88 kB / 0.7401 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.2133, allocations: 3.938 kB / 0.7401 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.2136, allocations: 55.75 kB / 0.7402 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.2136, allocations: 19.98 kB / 0.7402 GB, free: 4.824 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.0001658/0.2138, allocations: 154.8 kB / 0.7404 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.2139, allocations: 27.8 kB / 0.7404 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/0.2146, allocations: 370.6 kB / 0.7407 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.2146, allocations: 7.984 kB / 0.7407 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2146, allocations: 4 kB / 0.7408 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.2147, allocations: 67.69 kB / 0.7408 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.2148, allocations: 23.92 kB / 0.7408 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.215, allocations: 23.98 kB / 0.7409 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.2152, allocations: 59.84 kB / 0.7409 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00119/0.2163, allocations: 1.325 MB / 0.7422 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001167/0.2175, allocations: 1.387 MB / 0.7436 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000262/0.2178, allocations: 148.2 kB / 0.7437 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001022/0.2179, allocations: 119.2 kB / 0.7438 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of Backend: time 8.01e-07/0.2179, allocations: 3.938 kB / 0.7438 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002155/0.22, allocations: 488.1 kB / 0.7443 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0009786/0.221, allocations: 0.8325 MB / 0.7451 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.01176/0.2328, allocations: 6.454 MB / 0.7514 GB, free: 9.309 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.526793640106916] Failed to read output from testmodel.py, exit status != 0: 0.24114310508593917 0.5523449490000001 0.346918785 Calling exit ...