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.001141/0.001141, allocations: 100.1 kB / 15.88 MB, free: 8 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.00131/0.001309, allocations: 199.6 kB / 16.79 MB, free: 6.828 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 63.17 kB / 0.8991 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3205, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007538/0.3281, allocations: 5.477 MB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005895/0.334, allocations: 3.134 MB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.3357, allocations: 47.75 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.3371, allocations: 370 kB / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.3388, allocations: 282.5 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.3416, allocations: 1.019 MB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005296/0.3469, allocations: 4.635 MB / 1.067 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005898/0.3528, allocations: 3.951 MB / 1.071 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.3553, allocations: 1.436 MB / 1.073 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.3577, allocations: 1.645 MB / 1.074 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.3589, allocations: 244 kB / 1.074 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3599, allocations: 311.9 kB / 1.075 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008815/0.3608, allocations: 0.8994 MB / 1.076 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.3629, allocations: 1.757 MB / 1.077 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004974/0.3679, allocations: 6.275 MB / 1.083 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3679, allocations: 0 / 1.083 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3679, allocations: 0 / 1.083 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.00015/0.3681, allocations: 3.938 kB / 1.083 GB, free: 8.578 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.008388/0.3764, allocations: 4.406 MB / 1.088 GB, free: 4 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3765, allocations: 15.97 kB / 1.088 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/0.3773, allocations: 424.3 kB / 1.088 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.3804, allocations: 2.154 MB / 1.09 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.3807, allocations: 416.1 kB / 1.091 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005734/0.3813, allocations: 435.9 kB / 1.091 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009308/0.3906, allocations: 5.469 MB / 1.096 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-05/0.3907, allocations: 15.88 kB / 1.096 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000382/0.3911, allocations: 171.9 kB / 1.097 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/0.3912, allocations: 92 kB / 1.097 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007378/0.3985, allocations: 4.213 MB / 1.101 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02635/0.4249, allocations: 18.72 MB / 1.119 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00653/0.4315, allocations: 4.19 MB / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/0.4346, allocations: 1.965 MB / 1.125 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.4349, allocations: 50.03 kB / 1.125 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004844/0.4397, allocations: 2.897 MB / 1.128 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=355): time 1.249e-05/0.4398, allocations: 0 / 1.128 GB, free: 9.543 MB / 0.8887 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed