Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.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.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|u1ValIso.1..y|u1ValIso.2..y|enaParTwo.y1|enaSerTwo.y1|uValIso.1..y|uValIso.2..y|enaParMod.y1|enaSerMod.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|u1ValIso.1..y|u1ValIso.2..y|enaParTwo.y1|enaSerTwo.y1|uValIso.1..y|uValIso.2..y|enaParMod.y1|enaSerMod.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.00121/0.00121, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8025, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003429/0.8059, allocations: 1.965 MB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003366/0.8093, allocations: 1.977 MB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005044/0.8099, allocations: 27.88 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.8103, allocations: 131 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.8105, allocations: 35.66 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009922/0.8115, allocations: 354.3 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008944/0.8124, allocations: 0.7931 MB / 1.214 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000647/0.813, allocations: 459.7 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.8134, allocations: 263.3 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.8138, allocations: 262.9 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.8139, allocations: 64 kB / 1.215 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.8141, allocations: 71.98 kB / 1.215 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.8143, allocations: 151.5 kB / 1.215 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.8146, allocations: 270.7 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008401/0.8155, allocations: 0.8215 MB / 1.216 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8155, allocations: 0 / 1.216 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8155, allocations: 0 / 1.216 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.655e-05/0.8155, allocations: 4 kB / 1.216 GB, free: 5.988 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.0017/0.8173, allocations: 0.9028 MB / 1.217 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.8173, allocations: 8.031 kB / 1.217 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.8175, allocations: 68.27 kB / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.8182, allocations: 491.9 kB / 1.217 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.8183, allocations: 41.36 kB / 1.217 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.8184, allocations: 56.38 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000977/0.8193, allocations: 0.5456 MB / 1.218 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.8194, allocations: 192 / 1.218 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.8194, allocations: 19.94 kB / 1.218 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.8194, allocations: 12 kB / 1.218 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007753/0.8202, allocations: 459.6 kB / 1.218 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.8221, allocations: 1.277 MB / 1.22 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007321/0.8228, allocations: 426.2 kB / 1.22 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.8231, allocations: 188.6 kB / 1.22 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.8232, allocations: 4 kB / 1.22 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005065/0.8237, allocations: 326.7 kB / 1.221 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.8237, allocations: 0 / 1.221 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36): time 0.001171/0.8249, allocations: 0.6384 MB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.8249, allocations: 59.41 kB / 1.221 GB, free: 320 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.8253, allocations: 318.5 kB / 1.221 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.8254, allocations: 45.62 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.8255, allocations: 232.9 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.8256, allocations: 90.88 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.8258, allocations: 130 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8259, allocations: 338.8 kB / 1.222 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.8264, allocations: 272.1 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.8269, allocations: 340.1 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.8276, allocations: 448.9 kB / 1.223 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8277, allocations: 0 / 1.223 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001115/0.8288, allocations: 0.686 MB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.8288, allocations: 67.39 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8289, allocations: 0 / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.8289, allocations: 4 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.8291, allocations: 43.89 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.8291, allocations: 4 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.8296, allocations: 99.84 kB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.8296, allocations: 23.98 kB / 1.224 GB, free: 13.09 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaParMod.lat.y,enaParMod.cloParMod[2].y,enaParMod.cloParMod[1].y,enaParMod.allCloPar.y,enaParMod.anyOpePar.y,enaParTwo.lat.y,enaParTwo.allCloPar.y,enaParTwo.anyOpePar.y,enaSerMod.opeSerMod[2].y,enaSerMod.opeSerMod[1].y,enaSerMod.allOpeSer.y,enaSerMod.anyCloSer.y,enaSerMod.lat.y,enaSerTwo.allOpeSer.y,enaSerTwo.anyCloSer.y,enaSerTwo.lat.y,u1ValIso[2].y,$PRE.u1ValIso[2].y,u1ValIso[1].y,$PRE.u1ValIso[1].y,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.8299, allocations: 248.2 kB / 1.224 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.83, allocations: 39.61 kB / 1.224 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.8301, allocations: 34.97 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.8301, allocations: 7.984 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.8301, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8301, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.8317, allocations: 1.104 MB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8317, allocations: 0 / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.8319, allocations: 43.89 kB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8319, allocations: 0 / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.832, allocations: 11.98 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.108e-06/0.832, allocations: 11.94 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.832, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.8332, allocations: 0.7809 MB / 1.226 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.8333, allocations: 100.8 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.8333, allocations: 8 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.8335, allocations: 35.89 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.8336, allocations: 55.92 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.8337, allocations: 12 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001918/0.8339, allocations: 209.9 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.793e-06/0.8339, allocations: 4.062 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004111/0.8343, allocations: 123.5 kB / 1.227 GB, free: 10.18 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (uValIso[1].y,uValIso[2].y) * Number of discrete variables: 30 (enaSerTwo.anyCloSer.y,enaSerTwo.allOpeSer.y,enaParTwo.anyOpePar.y,enaParTwo.allCloPar.y,enaParMod.anyOpePar.y,enaParMod.allCloPar.y,enaSerMod.anyCloSer.y,enaSerMod.allOpeSer.y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u1ValIso[1].y,u1ValIso[2].y,enaSerTwo.lat.y,enaSerMod.lat.y,enaSerMod.opeSerMod[1].y,enaSerMod.opeSerMod[2].y,enaParTwo.lat.y,enaParMod.cloParMod[1].y,enaParMod.cloParMod[2].y,enaParMod.lat.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001706/0.8345, allocations: 129.8 kB / 1.227 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.8355, allocations: 0.6626 MB / 1.228 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.8355, allocations: 0 / 1.228 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.8359, allocations: 243.5 kB / 1.228 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.8366, allocations: 131.4 kB / 1.228 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.8381, allocations: 0.9196 MB / 1.229 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.8386, allocations: 0.8774 MB / 1.23 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.8387, allocations: 31.44 kB / 1.23 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.8387, allocations: 4 kB / 1.23 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of Templates: time 0.00992/0.8486, allocations: 6.548 MB / 1.236 GB, free: 0.6133 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_EnableLeadHeadered.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches