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.001019/0.00102, allocations: 91.77 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.001271/0.001271, 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.527/1.527, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.898/2.898, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 8.906 kB / 0.9022 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3479, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006064/0.354, allocations: 4.679 MB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005485/0.3595, allocations: 3.014 MB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.3606, allocations: 43.81 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000822/0.3614, allocations: 365.8 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007829/0.3622, allocations: 258.6 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.3639, allocations: 0.6773 MB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004332/0.3682, allocations: 4.44 MB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004338/0.3726, allocations: 3.269 MB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.3742, allocations: 1.124 MB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.3756, allocations: 1.232 MB / 1.077 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.3759, allocations: 132 kB / 1.077 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.3764, allocations: 195.9 kB / 1.077 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006395/0.3771, allocations: 0.7045 MB / 1.078 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007029/0.3778, allocations: 0.6717 MB / 1.078 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005648/0.3834, allocations: 6.133 MB / 1.084 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3835, allocations: 0 / 1.084 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.946e-06/0.3835, allocations: 3.938 kB / 1.084 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001568/0.3836, allocations: 0 / 1.084 GB, free: 10.25 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.006922/0.3906, allocations: 3.551 MB / 1.088 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3906, allocations: 8.031 kB / 1.088 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.3918, allocations: 419.4 kB / 1.088 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004255/0.396, allocations: 2.106 MB / 1.09 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004089/0.3965, allocations: 415.8 kB / 1.091 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008006/0.3973, allocations: 431.9 kB / 1.091 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.4078, allocations: 5.434 MB / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/0.4079, allocations: 11.88 kB / 1.096 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003982/0.4084, allocations: 168 kB / 1.097 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.821e-05/0.4084, allocations: 92 kB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008168/0.4166, allocations: 4.186 MB / 1.101 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02777/0.4444, allocations: 18.83 MB / 1.119 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006297/0.4508, allocations: 4.167 MB / 1.123 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003068/0.4539, allocations: 1.93 MB / 1.125 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.4541, allocations: 54.03 kB / 1.125 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004953/0.459, allocations: 2.866 MB / 1.128 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=355): time 1.198e-05/0.4591, allocations: 4 kB / 1.128 GB, free: 12.16 MB / 0.8887 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