Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002378/0.002378, allocations: 210.4 kB / 23 MB, free: 4.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 0.49 GB / 0.7958 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1ValIso.1..y|u1ValIso.2..y|enaParTwo.y1|enaSerTwo.y1|uValIso.1..y|uValIso.2..y|enaParMod.y1|enaSerMod.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1ValIso.1..y|u1ValIso.2..y|enaParTwo.y1|enaSerTwo.y1|uValIso.1..y|uValIso.2..y|enaParMod.y1|enaSerMod.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 68.62 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3982, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.0038/0.402, allocations: 1.995 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.4054, allocations: 2.024 MB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.4058, allocations: 39.69 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003926/0.4062, allocations: 139 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.4063, allocations: 31.67 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.4074, allocations: 384.4 kB / 1.332 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008869/0.4083, allocations: 0.7775 MB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.4087, allocations: 264.2 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.409, allocations: 267.2 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.4094, allocations: 263 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.4095, allocations: 64 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.4097, allocations: 75.98 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.4098, allocations: 147.5 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.4101, allocations: 274.7 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009206/0.4111, allocations: 0.829 MB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4111, allocations: 0 / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4111, allocations: 0 / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.4111, allocations: 0 / 1.334 GB, free: 9.914 MB / 1.029 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.001504/0.4126, allocations: 0.8447 MB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4126, allocations: 8.031 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.4128, allocations: 68.56 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008722/0.4136, allocations: 424.6 kB / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.4137, allocations: 41.36 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4138, allocations: 56.36 kB / 1.336 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009565/0.4147, allocations: 0.5417 MB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4148, allocations: 192 / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.4148, allocations: 27.92 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4148, allocations: 12 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007935/0.4156, allocations: 459.6 kB / 1.337 GB, free: 7.379 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.4177, allocations: 1.245 MB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.4185, allocations: 398.2 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.4188, allocations: 172.6 kB / 1.339 GB, free: 5.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.4188, allocations: 4 kB / 1.339 GB, free: 5.516 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005476/0.4194, allocations: 322.8 kB / 1.339 GB, free: 5.188 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/0.4194, allocations: 0 / 1.339 GB, free: 5.188 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001272/0.4206, allocations: 0.6423 MB / 1.34 GB, free: 4.539 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.4207, allocations: 55.41 kB / 1.34 GB, free: 4.473 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.4211, allocations: 329.7 kB / 1.34 GB, free: 4.145 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.4211, allocations: 37.7 kB / 1.34 GB, free: 4.102 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.4214, allocations: 237.4 kB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.4214, allocations: 91.3 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.4217, allocations: 133.9 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4218, allocations: 338.8 kB / 1.341 GB, free: 3.297 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.4223, allocations: 272.1 kB / 1.341 GB, free: 3.031 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.4229, allocations: 348.7 kB / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.4236, allocations: 444.9 kB / 1.342 GB, free: 2.203 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4236, allocations: 0 / 1.342 GB, free: 2.203 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001204/0.4248, allocations: 0.6933 MB / 1.342 GB, free: 1.492 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.686e-05/0.4249, allocations: 67.39 kB / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4249, allocations: 0 / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4249, allocations: 4 kB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.4251, allocations: 43.89 kB / 1.343 GB, free: 1.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4251, allocations: 4 kB / 1.343 GB, free: 1.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.4256, allocations: 107.7 kB / 1.343 GB, free: 1.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.4257, allocations: 19.98 kB / 1.343 GB, free: 1.238 MB / 1.029 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.0003452/0.426, allocations: 248.8 kB / 1.343 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.426, allocations: 31.8 kB / 1.343 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.095e-05/0.4261, allocations: 35.02 kB / 1.343 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.4261, allocations: 11.98 kB / 1.343 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4262, allocations: 4 kB / 1.343 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4262, allocations: 3.984 kB / 1.343 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.4279, allocations: 1.068 MB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4279, allocations: 0 / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4281, allocations: 43.88 kB / 1.344 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.4281, allocations: 7.938 kB / 1.344 GB, free: 15.72 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.4281, allocations: 12 kB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.4281, allocations: 7.938 kB / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4281, allocations: 0 / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.4295, allocations: 0.7776 MB / 1.345 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.4296, allocations: 35.84 kB / 1.345 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.4296, allocations: 7.984 kB / 1.345 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.4298, allocations: 35.89 kB / 1.345 GB, free: 14.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.4299, allocations: 55.92 kB / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.43, allocations: 11.98 kB / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002318/0.4302, allocations: 205.2 kB / 1.345 GB, free: 14.56 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4302, allocations: 0 / 1.345 GB, free: 14.56 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000462/0.4307, allocations: 127.6 kB / 1.345 GB, free: 14.43 MB / 1.045 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.0001931/0.4308, allocations: 133.7 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.432, allocations: 0.6236 MB / 1.346 GB, free: 13.65 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.432, allocations: 256 / 1.346 GB, free: 13.65 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.4324, allocations: 223.5 kB / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.4331, allocations: 140.4 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.4348, allocations: 0.9345 MB / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.4355, allocations: 0.8812 MB / 1.348 GB, free: 11.42 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4356, allocations: 35.42 kB / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of SimCode: time 1.092e-06/0.4356, allocations: 0 / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of Templates: time 0.01149/0.4471, allocations: 6.55 MB / 1.355 GB, free: 4.879 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_EnableLeadHeadered.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.638944869016996]