Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") translateModel(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 190.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 62.27 kB / 0.9116 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.395, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.008003/0.4031, allocations: 5.474 MB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006171/0.4093, allocations: 3.098 MB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.4112, allocations: 55.69 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.4126, allocations: 377.9 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.414, allocations: 275.5 kB / 1.077 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.4164, allocations: 1.03 MB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005318/0.4218, allocations: 5.19 MB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005935/0.4277, allocations: 4.527 MB / 1.087 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002849/0.4306, allocations: 1.913 MB / 1.089 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.4331, allocations: 1.875 MB / 1.091 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001/0.4341, allocations: 0.5898 MB / 1.092 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000982/0.4351, allocations: 0.6484 MB / 1.092 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.4362, allocations: 1.274 MB / 1.093 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002729/0.4389, allocations: 2.155 MB / 1.096 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007601/0.4466, allocations: 7.237 MB / 1.103 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.4466, allocations: 0 / 1.103 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.356e-06/0.4466, allocations: 0 / 1.103 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000203/0.4468, allocations: 0 / 1.103 GB, free: 6.867 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.009678/0.4565, allocations: 4.409 MB / 1.107 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.4566, allocations: 8.031 kB / 1.107 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008218/0.4574, allocations: 416.4 kB / 1.107 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.4609, allocations: 2.161 MB / 1.109 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000409/0.4613, allocations: 420.1 kB / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006688/0.462, allocations: 432 kB / 1.11 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.4721, allocations: 5.473 MB / 1.116 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.803e-05/0.4722, allocations: 11.88 kB / 1.116 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003784/0.4726, allocations: 171.9 kB / 1.116 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/0.4727, allocations: 88 kB / 1.116 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008299/0.481, allocations: 4.221 MB / 1.12 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02699/0.508, allocations: 18.71 MB / 1.138 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006648/0.5147, allocations: 4.208 MB / 1.142 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/0.518, allocations: 1.955 MB / 1.144 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001939/0.5182, allocations: 54.03 kB / 1.144 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004399/0.5226, allocations: 2.885 MB / 1.147 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=355): time 6.152e-06/0.5226, allocations: 0 / 1.147 GB, free: 7.836 MB / 0.9044 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) staChi.hol.u[3] staChi.hol.u[2] 0.0 = staChi.nChiHeaAndCooUnb.y + staChi.hol.u[3] + staChi.hol.u[2] + staChi.numOpeCooChiHea.y + staChi.staHea.idxSta + (-staChi.numOpeCooChiHea.y) - staChi.hol.u[3] - staChi.nChiHeaAndCooUnb.y - staChi.hol.u[4] staChi.hol.u[2] = staChi.numOpeCooChiHea.y - staChi.hol.u[3] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: staChi.hol.u[3] staChi.hol.u[2] equations: 0.0 = staChi.nChiHeaAndCooUnb.y + staChi.hol.u[3] + staChi.hol.u[2] + staChi.numOpeCooChiHea.y + staChi.staHea.idxSta + (-staChi.numOpeCooChiHea.y) - staChi.hol.u[3] - staChi.nChiHeaAndCooUnb.y - staChi.hol.u[4] staChi.hol.u[2] = staChi.numOpeCooChiHea.y - staChi.hol.u[3] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed