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.0009906/0.0009962, allocations: 98.8 kB / 16.02 MB, free: 76 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.00161/0.00161, allocations: 188.3 kB / 16.92 MB, free: 6.75 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.669/2.669, allocations: 462.7 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003739, allocations: 8.25 kB / 0.9035 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3192, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006033/0.3253, allocations: 4.947 MB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005625/0.331, allocations: 3.106 MB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.3327, allocations: 47.75 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.334, allocations: 369.9 kB / 1.068 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.3356, allocations: 266.6 kB / 1.068 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.3384, allocations: 1.024 MB / 1.069 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005263/0.3436, allocations: 4.628 MB / 1.073 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005963/0.3496, allocations: 3.694 MB / 1.077 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.3518, allocations: 1.159 MB / 1.078 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.3537, allocations: 1.29 MB / 1.079 GB, free: 328 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007552/0.3545, allocations: 132 kB / 1.08 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008912/0.3554, allocations: 204 kB / 1.08 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009424/0.3563, allocations: 0.7081 MB / 1.08 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002283/0.3586, allocations: 1.559 MB / 1.082 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.3642, allocations: 6.129 MB / 1.088 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3643, allocations: 0 / 1.088 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3643, allocations: 0 / 1.088 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002089/0.3645, allocations: 0 / 1.088 GB, free: 7.562 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.008016/0.3725, allocations: 3.536 MB / 1.091 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3726, allocations: 12.03 kB / 1.091 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.3738, allocations: 416.3 kB / 1.092 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/0.3775, allocations: 2.158 MB / 1.094 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003678/0.3779, allocations: 412.1 kB / 1.094 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009296/0.3788, allocations: 440 kB / 1.095 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.3898, allocations: 5.465 MB / 1.1 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.488e-05/0.39, allocations: 15.88 kB / 1.1 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004999/0.3905, allocations: 172 kB / 1.1 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.549e-05/0.3906, allocations: 92 kB / 1.1 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008879/0.3994, allocations: 4.213 MB / 1.104 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02633/0.4258, allocations: 18.84 MB / 1.123 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006357/0.4322, allocations: 4.19 MB / 1.127 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003039/0.4353, allocations: 1.961 MB / 1.129 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.4355, allocations: 45.94 kB / 1.129 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004314/0.4398, allocations: 2.885 MB / 1.132 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=355): time 6.722e-06/0.4398, allocations: 0 / 1.132 GB, free: 9.309 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