Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2.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.001605/0.001605, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001794/0.001794, allocations: 216.2 kB / 23.07 MB, free: 4.844 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.467/1.467, allocations: 230.6 MB / 256.9 MB, free: 7.719 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.333/3.333, allocations: 0.5108 GB / 0.8167 GB, free: 17.71 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T|senTemSupAir.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T|senTemSupAir.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.846e-05, allocations: 3.547 kB / 1.187 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 0.3985/0.3986, allocations: 321.1 MB / 1.501 GB, free: 1.527 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.06612/0.4647, allocations: 38.53 MB / 1.538 GB, free: 10.89 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008796/0.4735, allocations: 230.1 kB / 1.538 GB, free: 10.66 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.4853, allocations: 3.62 MB / 1.542 GB, free: 7.027 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.0288/0.5141, allocations: 9.432 MB / 1.551 GB, free: 13.56 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.01685/0.531, allocations: 5.582 MB / 1.557 GB, free: 8.004 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.03517/0.5662, allocations: 19.49 MB / 1.576 GB, free: 4.465 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.5796, allocations: 4.634 MB / 1.58 GB, free: 15.73 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02492/0.6045, allocations: 8.375 MB / 1.588 GB, free: 7.367 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01162/0.6162, allocations: 4.126 MB / 1.592 GB, free: 3.242 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.003197/0.6194, allocations: 0.625 MB / 1.593 GB, free: 2.617 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02505/0.6444, allocations: 9.799 MB / 1.603 GB, free: 8.801 MB / 1.295 GB Notification: Performance of combineBinaries: time 0.8907/1.535, allocations: 13.5 MB / 1.616 GB, free: 63.5 MB / 1.295 GB Notification: Performance of replaceArrayConstructors: time 0.01351/1.549, allocations: 8.248 MB / 1.624 GB, free: 60.74 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006593/1.555, allocations: 0.5435 MB / 1.624 GB, free: 60.74 MB / 1.295 GB Notification: Performance of FrontEnd: time 0.001684/1.557, allocations: 218.5 kB / 1.625 GB, free: 60.74 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1038 (963) * Number of variables: 1038 (955) Notification: Performance of [SIM] Bindings: time 0.05279/1.61, allocations: 32.22 MB / 1.656 GB, free: 50.88 MB / 1.295 GB Notification: Performance of [SIM] FunctionAlias: time 0.008496/1.618, allocations: 3.437 MB / 1.659 GB, free: 50.46 MB / 1.295 GB Notification: Performance of [SIM] Early Inline: time 0.0429/1.661, allocations: 23.08 MB / 1.682 GB, free: 49.88 MB / 1.295 GB Notification: Performance of [SIM] Simplify 1: time 0.009922/1.671, allocations: 3.3 MB / 1.685 GB, free: 49.1 MB / 1.295 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.04134/1.712, allocations: 24.8 MB / 1.709 GB, free: 44.14 MB / 1.295 GB Notification: Performance of [SIM] Simplify 2: time 0.005641/1.718, allocations: 2.575 MB / 1.712 GB, free: 43.47 MB / 1.295 GB Notification: Performance of [SIM] Remove Stream: time 0.002609/1.721, allocations: 1.318 MB / 1.713 GB, free: 43.3 MB / 1.295 GB Notification: Performance of [SIM] Detect States: time 0.004345/1.725, allocations: 3.352 MB / 1.716 GB, free: 42.97 MB / 1.295 GB Notification: Performance of [SIM] Events: time 0.002733/1.728, allocations: 1.714 MB / 1.718 GB, free: 42.44 MB / 1.295 GB Notification: Performance of [SIM] Partitioning: time 0.007641/1.735, allocations: 5.646 MB / 1.724 GB, free: 42.01 MB / 1.295 GB Notification: Performance of [SIM] Causalize: time 0.03519/1.77, allocations: 19.04 MB / 1.742 GB, free: 40.02 MB / 1.295 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01406/1.785, allocations: 12.01 MB / 1.754 GB, free: 39.6 MB / 1.295 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: Buildings.Utilities.Math.Functions.splineDerivatives(fan.eff.per.motorEfficiency_yMot_generic.y, fan.eff.per.motorEfficiency_yMot_generic.eta, true) has type Real[9], false branch: 0.0 has type Real. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 298] [Calling sys.exit(0), Time elapsed: 8.763424674980342] Failed to read output from testmodel.py, exit status != 0: 1.7981925809872337 1.808970603 0.24911107300000002 Calling exit ...