Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant") translateModel(Buildings.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.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.0009525/0.0009527, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007343/0.007343, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.534/1.534, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.979/2.979, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 14.78 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3967, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.006813/0.4035, allocations: 4.947 MB / 1.064 GB, free: 472 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006287/0.4099, allocations: 3.095 MB / 1.067 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.4112, allocations: 47.75 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009236/0.4122, allocations: 370 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009494/0.4131, allocations: 277.3 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.4154, allocations: 1.022 MB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004889/0.4203, allocations: 4.627 MB / 1.073 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005355/0.4257, allocations: 3.686 MB / 1.076 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.4273, allocations: 1.151 MB / 1.077 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.4288, allocations: 1.298 MB / 1.079 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002743/0.4291, allocations: 132 kB / 1.079 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.4296, allocations: 203.9 kB / 1.079 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000699/0.4303, allocations: 0.712 MB / 1.08 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.4321, allocations: 1.551 MB / 1.081 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006629/0.4387, allocations: 6.608 MB / 1.088 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4388, allocations: 0 / 1.088 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4388, allocations: 0 / 1.088 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002101/0.439, allocations: 0 / 1.088 GB, free: 7.543 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.008358/0.4474, allocations: 3.528 MB / 1.091 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4474, allocations: 8.031 kB / 1.091 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.4487, allocations: 420.3 kB / 1.092 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/0.4526, allocations: 2.169 MB / 1.094 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/0.453, allocations: 412.2 kB / 1.094 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000753/0.4538, allocations: 435.9 kB / 1.094 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.464, allocations: 5.473 MB / 1.1 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.923e-05/0.4641, allocations: 15.88 kB / 1.1 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003799/0.4645, allocations: 164 kB / 1.1 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.339e-05/0.4646, allocations: 92 kB / 1.1 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008112/0.4727, allocations: 4.221 MB / 1.104 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02645/0.4992, allocations: 18.83 MB / 1.123 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006355/0.5056, allocations: 4.199 MB / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003109/0.5088, allocations: 1.953 MB / 1.129 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.509, allocations: 54.08 kB / 1.129 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004609/0.5136, allocations: 2.889 MB / 1.131 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=355): time 6.873e-06/0.5136, allocations: 0 / 1.131 GB, free: 9.285 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed