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.001404/0.001404, allocations: 107.6 kB / 15.99 MB, free: 6.359 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.001377/0.001377, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 469.4 MB / 0.7423 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 58.92 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3166, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007662/0.3243, allocations: 5.465 MB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005724/0.3301, allocations: 3.106 MB / 1.072 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.3317, allocations: 51.75 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.3331, allocations: 369.9 kB / 1.073 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.335, allocations: 290.2 kB / 1.073 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.3378, allocations: 1.033 MB / 1.074 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5924/0.9302, allocations: 5.182 MB / 1.079 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006932/0.9372, allocations: 4.519 MB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/0.9412, allocations: 1.915 MB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004013/0.9452, allocations: 1.869 MB / 1.087 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002679/0.9479, allocations: 0.5915 MB / 1.088 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.9507, allocations: 0.6582 MB / 1.088 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002847/0.9536, allocations: 1.275 MB / 1.089 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004483/0.9581, allocations: 2.15 MB / 1.092 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.9681, allocations: 6.189 MB / 1.098 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.9682, allocations: 0.625 kB / 1.098 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.073e-06/0.9682, allocations: 0 / 1.098 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003563/0.9686, allocations: 0 / 1.098 GB, free: 6.641 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.01828/0.9868, allocations: 4.404 MB / 1.102 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.9869, allocations: 14.17 kB / 1.102 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/0.9896, allocations: 417 kB / 1.102 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/0.9958, allocations: 2.171 MB / 1.104 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007523/0.9966, allocations: 414.2 kB / 1.105 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/0.9991, allocations: 440.4 kB / 1.105 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/1.019, allocations: 5.493 MB / 1.111 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002533/1.019, allocations: 15.81 kB / 1.111 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001836/1.021, allocations: 167.3 kB / 1.111 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/1.021, allocations: 91.03 kB / 1.111 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/1.034, allocations: 4.214 MB / 1.115 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03761/1.071, allocations: 18.72 MB / 1.133 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008254/1.08, allocations: 4.191 MB / 1.137 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003958/1.084, allocations: 1.96 MB / 1.139 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/1.084, allocations: 54.91 kB / 1.139 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00663/1.091, allocations: 2.883 MB / 1.142 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=355): time 2.504e-05/1.091, allocations: 0 / 1.142 GB, free: 11.66 MB / 0.8731 GB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed