Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0013/0.0013, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00186/0.00186, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 3.027/3.027, allocations: 437.7 MB / 0.7117 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 11.98 kB / 0.8723 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.004, allocations: 153.8 MB / 1.022 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006506/1.011, allocations: 4.681 MB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0066/1.018, allocations: 3.026 MB / 1.03 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/1.019, allocations: 43.81 kB / 1.03 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/1.02, allocations: 353.8 kB / 1.03 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/1.021, allocations: 263.1 kB / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/1.024, allocations: 0.6787 MB / 1.031 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005922/1.03, allocations: 4.429 MB / 1.036 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005724/1.035, allocations: 3.277 MB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/1.038, allocations: 1.12 MB / 1.04 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/1.039, allocations: 1.232 MB / 1.041 GB, free: 12.8 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003697/1.04, allocations: 136 kB / 1.041 GB, free: 12.66 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006356/1.04, allocations: 192 kB / 1.041 GB, free: 12.48 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006962/1.041, allocations: 0.7045 MB / 1.042 GB, free: 11.77 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009328/1.042, allocations: 0.6796 MB / 1.043 GB, free: 11.08 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006686/1.049, allocations: 6.119 MB / 1.049 GB, free: 4.949 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.049, allocations: 0 / 1.049 GB, free: 4.949 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.326e-06/1.049, allocations: 0 / 1.049 GB, free: 4.949 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002442/1.049, allocations: 0 / 1.049 GB, free: 4.949 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.008738/1.058, allocations: 3.547 MB / 1.052 GB, free: 1.23 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.058, allocations: 8.031 kB / 1.052 GB, free: 1.223 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.06, allocations: 419.4 kB / 1.053 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004265/1.064, allocations: 2.122 MB / 1.055 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/1.064, allocations: 411.8 kB / 1.055 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/1.065, allocations: 439.9 kB / 1.055 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/1.077, allocations: 5.426 MB / 1.061 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-05/1.077, allocations: 19.88 kB / 1.061 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003955/1.078, allocations: 171.9 kB / 1.061 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.06e-05/1.078, allocations: 92 kB / 1.061 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009323/1.087, allocations: 4.178 MB / 1.065 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03016/1.117, allocations: 18.83 MB / 1.084 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006731/1.124, allocations: 4.159 MB / 1.088 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/1.128, allocations: 1.932 MB / 1.089 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/1.128, allocations: 54.02 kB / 1.09 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005472/1.133, allocations: 2.88 MB / 1.092 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 1.146e-05/1.133, allocations: 0 / 1.092 GB, free: 6.859 MB / 0.8419 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed