Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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="mat",numberOfIntervals=5000,variableFilter="time|staChi.loaChiWat.y|staChi.loaHeaWat.y|QChiWatChi_flow_nominal|QChiWatCasCoo_flow_nominal|QHeaWat_flow_nominal|staChi.y1Chi.1.|staChi.y1Chi.2.|staChi.y1ChiHea.1.|staChi.y1ChiHea.2.|staChi.y1ChiHea.3.|staChi.y1CooChiHea.1.|staChi.y1CooChiHea.2.|staChi.y1CooChiHea.3.|staChi.y1HeaCooChiHea.1.|staChi.y1HeaCooChiHea.2.|staChi.y1HeaCooChiHea.3.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") translateModel(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staChi.loaChiWat.y|staChi.loaHeaWat.y|QChiWatChi_flow_nominal|QChiWatCasCoo_flow_nominal|QHeaWat_flow_nominal|staChi.y1Chi.1.|staChi.y1Chi.2.|staChi.y1ChiHea.1.|staChi.y1ChiHea.2.|staChi.y1ChiHea.3.|staChi.y1CooChiHea.1.|staChi.y1CooChiHea.2.|staChi.y1CooChiHea.3.|staChi.y1HeaCooChiHea.1.|staChi.y1HeaCooChiHea.2.|staChi.y1HeaCooChiHea.3.",fileNamePrefix="Buildings_latest_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.001905/0.001905, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001996/0.001996, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.819/2.819, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.34 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4225, allocations: 157.4 MB / 1.052 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.008734/0.4313, allocations: 5.476 MB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00675/0.4381, allocations: 3.137 MB / 1.061 GB, free: 116 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.4402, allocations: 47.81 kB / 1.061 GB, free: 68 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.4414, allocations: 370 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.4428, allocations: 271.7 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.4455, allocations: 1.026 MB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005267/0.4508, allocations: 4.639 MB / 1.067 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006132/0.4569, allocations: 3.935 MB / 1.071 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.4594, allocations: 1.448 MB / 1.072 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.4617, allocations: 1.645 MB / 1.074 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005454/0.4623, allocations: 244 kB / 1.074 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007224/0.463, allocations: 308 kB / 1.074 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008906/0.4639, allocations: 0.8954 MB / 1.075 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00236/0.4663, allocations: 1.764 MB / 1.077 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007598/0.4739, allocations: 6.824 MB / 1.083 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.474, allocations: 0 / 1.083 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.705e-06/0.474, allocations: 0 / 1.083 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002281/0.4742, allocations: 0 / 1.083 GB, free: 8.57 MB / 0.8419 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.01167/0.4859, allocations: 4.403 MB / 1.088 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.486, allocations: 15.97 kB / 1.088 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009518/0.4869, allocations: 420.3 kB / 1.088 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/0.4906, allocations: 2.165 MB / 1.09 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004051/0.491, allocations: 412.1 kB / 1.091 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000652/0.4917, allocations: 439.9 kB / 1.091 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.5035, allocations: 5.469 MB / 1.096 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.5036, allocations: 11.88 kB / 1.096 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005431/0.5042, allocations: 168 kB / 1.097 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.75e-05/0.5043, allocations: 92 kB / 1.097 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009558/0.5139, allocations: 4.225 MB / 1.101 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03477/0.5487, allocations: 18.71 MB / 1.119 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007731/0.5565, allocations: 4.202 MB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003816/0.5603, allocations: 1.958 MB / 1.125 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.5606, allocations: 53.95 kB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005721/0.5663, allocations: 2.901 MB / 1.128 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=355): time 1.462e-05/0.5664, allocations: 0 / 1.128 GB, free: 9.523 MB / 0.8887 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed