Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001654/0.001654, allocations: 104.3 kB / 19.76 MB, free: 2.043 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.001766/0.001766, allocations: 212.6 kB / 23.07 MB, free: 4.852 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.388/1.388, allocations: 230.6 MB / 256.9 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.09/3.09, allocations: 0.5108 GB / 0.8167 GB, free: 17.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(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_latest_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_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.624e-05, allocations: 2.281 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Combined.Subsystems.Validation.SwitchBox): time 0.2096/0.2097, allocations: 190.9 MB / 1.374 GB, free: 4.172 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.06859/0.2782, allocations: 42.48 MB / 1.415 GB, free: 9.598 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008714/0.287, allocations: 345.1 kB / 1.415 GB, free: 9.258 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.009299/0.2963, allocations: 3.221 MB / 1.419 GB, free: 6.023 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01734/0.3136, allocations: 6.442 MB / 1.425 GB, free: 15.56 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.3257, allocations: 4.948 MB / 1.43 GB, free: 10.65 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.04573/0.3714, allocations: 30.73 MB / 1.46 GB, free: 11.87 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00869/0.3801, allocations: 4.133 MB / 1.464 GB, free: 7.645 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0155/0.3956, allocations: 6.368 MB / 1.47 GB, free: 1.27 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007597/0.4032, allocations: 3.381 MB / 1.473 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.4049, allocations: 424 kB / 1.474 GB, free: 13.46 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/0.4179, allocations: 5.235 MB / 1.479 GB, free: 8.219 MB / 1.17 GB Notification: Performance of combineBinaries: time 0.01221/0.4301, allocations: 9.912 MB / 1.488 GB, free: 14.21 MB / 1.186 GB Notification: Performance of replaceArrayConstructors: time 0.00622/0.4363, allocations: 6.205 MB / 1.494 GB, free: 7.934 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.4382, allocations: 407.9 kB / 1.495 GB, free: 7.535 MB / 1.186 GB Notification: Performance of FrontEnd: time 0.001174/0.4394, allocations: 143.4 kB / 1.495 GB, free: 7.395 MB / 1.186 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.02851/0.4679, allocations: 24.59 MB / 1.519 GB, free: 14.25 MB / 1.217 GB Notification: Performance of [SIM] FunctionAlias: time 0.00382/0.4717, allocations: 2.7 MB / 1.522 GB, free: 11.53 MB / 1.217 GB Notification: Performance of [SIM] Early Inline: time 0.0119/0.4836, allocations: 10.48 MB / 1.532 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of [SIM] Simplify 1: time 0.004027/0.4876, allocations: 1.838 MB / 1.534 GB, free: 14.97 MB / 1.232 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.02325/0.5109, allocations: 15.39 MB / 1.549 GB, free: 14.35 MB / 1.248 GB Notification: Performance of [SIM] Simplify 2: time 0.002394/0.5133, allocations: 1.33 MB / 1.55 GB, free: 12.93 MB / 1.248 GB Notification: Performance of [SIM] Remove Stream: time 0.001187/0.5144, allocations: 0.9264 MB / 1.551 GB, free: 11.96 MB / 1.248 GB Notification: Performance of [SIM] Detect States: time 0.001928/0.5164, allocations: 1.682 MB / 1.553 GB, free: 10.23 MB / 1.248 GB Notification: Performance of [SIM] Events: time 0.0009876/0.5174, allocations: 0.6101 MB / 1.553 GB, free: 9.613 MB / 1.248 GB Notification: Performance of [SIM] Partitioning: time 0.002708/0.5201, allocations: 2.252 MB / 1.555 GB, free: 7.312 MB / 1.248 GB Notification: Performance of [SIM] Causalize: time 0.01365/0.5337, allocations: 8.593 MB / 1.564 GB, free: 14.46 MB / 1.264 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005772/0.5395, allocations: 5.274 MB / 1.569 GB, free: 9.184 MB / 1.264 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo:623:7-623: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 299] [Calling sys.exit(0), Time elapsed: 6.808359996997751] Failed to read output from testmodel.py, exit status != 0: 0.5494694240042008 0.563476564 0.12078463 Calling exit ...