Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox.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.00136/0.00136, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001434/0.001434, allocations: 215.8 kB / 23 MB, free: 4.973 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.249/1.249, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.68/2.68, allocations: 0.49 GB / 0.7958 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pum1.m_flow_actual|pum2.m_flow_actual|senMasFlo.m_flow|floSwiBox.valSup.y_actual|floSwiBox.valRet.y_actual",fileNamePrefix="Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox") translateModel(Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pum1.m_flow_actual|pum2.m_flow_actual|senMasFlo.m_flow|floSwiBox.valSup.y_actual|floSwiBox.valRet.y_actual",fileNamePrefix="Buildings_12_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.014e-05/1.014e-05, allocations: 2.281 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox): time 0.1739/0.1739, allocations: 190.9 MB / 1.341 GB, free: 1.922 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05795/0.2319, allocations: 42.47 MB / 1.383 GB, free: 7.355 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006926/0.2388, allocations: 345.1 kB / 1.383 GB, free: 7.016 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.007198/0.246, allocations: 3.221 MB / 1.386 GB, free: 3.781 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.2598, allocations: 6.452 MB / 1.393 GB, free: 13.3 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009279/0.2691, allocations: 4.966 MB / 1.398 GB, free: 8.375 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02976/0.2988, allocations: 26.09 MB / 1.423 GB, free: 14.24 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00501/0.3039, allocations: 4.176 MB / 1.427 GB, free: 9.98 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.314, allocations: 6.37 MB / 1.433 GB, free: 3.602 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004175/0.3182, allocations: 3.589 MB / 1.437 GB, free: 0 / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005682/0.3187, allocations: 420 kB / 1.437 GB, free: 15.59 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007726/0.3264, allocations: 5.345 MB / 1.442 GB, free: 10.24 MB / 1.139 GB Notification: Performance of combineBinaries: time 0.007616/0.3341, allocations: 9.912 MB / 1.452 GB, free: 240 kB / 1.139 GB Notification: Performance of replaceArrayConstructors: time 0.004159/0.3382, allocations: 6.21 MB / 1.458 GB, free: 9.953 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007097/0.3389, allocations: 400 kB / 1.459 GB, free: 9.562 MB / 1.154 GB Notification: Performance of FrontEnd: time 0.0006414/0.3396, allocations: 159.3 kB / 1.459 GB, free: 9.406 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 563 (545) * Number of variables: 563 (526) Notification: Performance of [SIM] Bindings: time 0.02069/0.3603, allocations: 24.5 MB / 1.483 GB, free: 364 kB / 1.17 GB Notification: Performance of [SIM] FunctionAlias: time 0.002664/0.3629, allocations: 2.682 MB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of [SIM] Early Inline: time 0.009488/0.3724, allocations: 10.36 MB / 1.495 GB, free: 3.188 MB / 1.186 GB Notification: Performance of [SIM] Simplify 1: time 0.002956/0.3754, allocations: 2.051 MB / 1.497 GB, free: 0.9922 MB / 1.186 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01897/0.3943, allocations: 14.98 MB / 1.512 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of [SIM] Simplify 2: time 0.001981/0.3963, allocations: 1.439 MB / 1.513 GB, free: 15.21 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.001032/0.3974, allocations: 0.9498 MB / 1.514 GB, free: 14.22 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 0.001614/0.399, allocations: 1.687 MB / 1.516 GB, free: 12.46 MB / 1.217 GB Notification: Performance of [SIM] Events: time 0.0007868/0.3998, allocations: 0.6092 MB / 1.517 GB, free: 11.86 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.002338/0.4021, allocations: 2.256 MB / 1.519 GB, free: 9.547 MB / 1.217 GB Notification: Performance of [SIM] Causalize: time 0.01128/0.4134, allocations: 8.714 MB / 1.527 GB, free: 0.582 MB / 1.217 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004567/0.4179, allocations: 5.257 MB / 1.532 GB, free: 11.32 MB / 1.232 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo:621:7-621:72:writable] Error: Type mismatch in if-expression in component . True branch: {0.0, 0.0010044335697769957, 0.0020088671395539913, pum1.eff.V_flow_max} has type Real[4], false branch: 0.0 has type Real. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.734080906026065] Failed to read output from testmodel.py, exit status != 0: 0.42596628377214074 0.438557427 0.096367301 Calling exit ...