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.001199/0.001199, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001257/0.001257, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.443/2.443, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 64.17 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3351, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.007229/0.3424, allocations: 5.459 MB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007215/0.3496, allocations: 3.177 MB / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.3519, allocations: 55.75 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.3535, allocations: 444.7 kB / 1.036 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.3553, allocations: 368.2 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.3581, allocations: 1.135 MB / 1.037 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00761/0.3658, allocations: 5.225 MB / 1.042 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007186/0.373, allocations: 4.523 MB / 1.047 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.3759, allocations: 1.905 MB / 1.048 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.3781, allocations: 1.86 MB / 1.05 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0008072/0.3789, allocations: 0.5859 MB / 1.051 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008557/0.3798, allocations: 0.664 MB / 1.052 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009935/0.3808, allocations: 1.274 MB / 1.053 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.3828, allocations: 2.135 MB / 1.055 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006177/0.389, allocations: 7.714 MB / 1.062 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.389, allocations: 0 / 1.062 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3891, allocations: 0 / 1.062 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001333/0.3892, allocations: 0 / 1.062 GB, free: 13.3 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.008362/0.3976, allocations: 4.398 MB / 1.067 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3976, allocations: 8.031 kB / 1.067 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008251/0.3985, allocations: 420.3 kB / 1.067 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004048/0.4025, allocations: 2.212 MB / 1.069 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004087/0.403, allocations: 412.2 kB / 1.07 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/0.404, allocations: 443.9 kB / 1.07 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5594/0.9634, allocations: 5.458 MB / 1.075 GB, free: 48.06 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.9636, allocations: 14.47 kB / 1.075 GB, free: 48.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007936/0.9644, allocations: 170.8 kB / 1.076 GB, free: 48.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.9646, allocations: 92.64 kB / 1.076 GB, free: 48.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.9801, allocations: 4.215 MB / 1.08 GB, free: 46.85 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04481/1.025, allocations: 18.56 MB / 1.098 GB, free: 34.88 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/1.036, allocations: 4.188 MB / 1.102 GB, free: 32.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005245/1.041, allocations: 1.955 MB / 1.104 GB, free: 31.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/1.041, allocations: 55.7 kB / 1.104 GB, free: 31.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006783/1.048, allocations: 2.888 MB / 1.107 GB, free: 30.35 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 1.407e-05/1.048, allocations: 2.062 kB / 1.107 GB, free: 30.35 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed