Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.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.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") translateModel(Buildings.Experimental.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.Experimental.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.0008738/0.000874, allocations: 99.83 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 174.6 kB / 16.58 MB, free: 6.422 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.586/1.586, allocations: 223.2 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 436.7 MB / 0.7113 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.000477, allocations: 8 kB / 0.8717 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8536/0.854, allocations: 153.6 MB / 1.022 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.005775/0.8599, allocations: 4.681 MB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005375/0.8653, allocations: 3.014 MB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009457/0.8663, allocations: 39.81 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008266/0.8671, allocations: 357.8 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007538/0.8679, allocations: 266.6 kB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.8695, allocations: 0.667 MB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004124/0.8736, allocations: 4.444 MB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004215/0.8779, allocations: 3.265 MB / 1.038 GB, free: 192 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.8791, allocations: 1.132 MB / 1.039 GB, free: 15.05 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.8803, allocations: 1.232 MB / 1.04 GB, free: 13.81 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.8806, allocations: 136 kB / 1.041 GB, free: 13.68 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.8811, allocations: 196 kB / 1.041 GB, free: 13.48 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006125/0.8817, allocations: 0.6966 MB / 1.041 GB, free: 12.79 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006194/0.8823, allocations: 0.6796 MB / 1.042 GB, free: 12.1 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005451/0.8878, allocations: 6.115 MB / 1.048 GB, free: 5.973 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.8878, allocations: 0 / 1.048 GB, free: 5.973 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8878, allocations: 0 / 1.048 GB, free: 5.973 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001612/0.888, allocations: 0 / 1.048 GB, free: 5.973 MB / 0.795 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.006689/0.8946, allocations: 3.555 MB / 1.052 GB, free: 2.246 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.8947, allocations: 8.031 kB / 1.052 GB, free: 2.238 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.8955, allocations: 411.4 kB / 1.052 GB, free: 1.832 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/0.8986, allocations: 2.122 MB / 1.054 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/0.899, allocations: 411.8 kB / 1.054 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005873/0.8996, allocations: 443.8 kB / 1.055 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.9097, allocations: 5.437 MB / 1.06 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.801e-05/0.9098, allocations: 11.88 kB / 1.06 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003547/0.9101, allocations: 172 kB / 1.06 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.917e-05/0.9102, allocations: 88 kB / 1.06 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007305/0.9175, allocations: 4.182 MB / 1.064 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02339/0.9409, allocations: 18.82 MB / 1.083 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005573/0.9466, allocations: 4.167 MB / 1.087 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.9492, allocations: 1.931 MB / 1.089 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.9494, allocations: 58.03 kB / 1.089 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004185/0.9536, allocations: 2.87 MB / 1.092 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 5.55e-06/0.9536, allocations: 0 / 1.092 GB, free: 7.887 MB / 0.8419 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed