Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00173/0.00173, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001985/0.001985, allocations: 198.5 kB / 16.14 MB, free: 6.629 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.76/2.76, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.89 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.732, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant): time 0.008971/0.741, allocations: 5.49 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006429/0.7475, allocations: 3.134 MB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.7491, allocations: 43.81 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.7502, allocations: 377.9 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.7513, allocations: 277.2 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.7536, allocations: 1.018 MB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005254/0.7589, allocations: 4.635 MB / 1.031 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005605/0.7645, allocations: 3.939 MB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.7666, allocations: 1.44 MB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.7685, allocations: 1.649 MB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005169/0.769, allocations: 240 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006814/0.7697, allocations: 319.9 kB / 1.039 GB, free: 12.08 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008933/0.7706, allocations: 0.8877 MB / 1.04 GB, free: 11.19 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002301/0.7729, allocations: 1.76 MB / 1.041 GB, free: 9.422 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.008339/0.7813, allocations: 7.122 MB / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7813, allocations: 0 / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7813, allocations: 0 / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001831/0.7815, allocations: 0 / 1.048 GB, free: 2.281 MB / 0.795 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.01125/0.7928, allocations: 4.398 MB / 1.053 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.7928, allocations: 8.031 kB / 1.053 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008966/0.7938, allocations: 424.2 kB / 1.053 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/0.7975, allocations: 2.161 MB / 1.055 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/0.798, allocations: 424.1 kB / 1.055 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007166/0.7987, allocations: 428 kB / 1.056 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.8097, allocations: 5.476 MB / 1.061 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-05/0.8098, allocations: 11.88 kB / 1.061 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.8103, allocations: 175.9 kB / 1.061 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.853e-05/0.8104, allocations: 88 kB / 1.061 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008346/0.8187, allocations: 4.217 MB / 1.066 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02887/0.8476, allocations: 18.72 MB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006776/0.8544, allocations: 4.196 MB / 1.088 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003348/0.8578, allocations: 1.954 MB / 1.09 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.858, allocations: 58.03 kB / 1.09 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004652/0.8627, allocations: 2.895 MB / 1.093 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=355): time 7.093e-06/0.8627, allocations: 0 / 1.093 GB, free: 3.25 MB / 0.8419 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