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.001289/0.001289, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001423/0.001423, allocations: 210.5 kB / 23 MB, free: 4.934 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.246/3.246, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.002029/0.002029, allocations: 66.78 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003515/0.3146, allocations: 1.808 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00322/0.3178, allocations: 2.005 MB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.3181, allocations: 35.69 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.3184, allocations: 143 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.3186, allocations: 35.66 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.3195, allocations: 349.8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008543/0.3203, allocations: 0.7737 MB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.3208, allocations: 260.1 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.3211, allocations: 275.2 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003497/0.3214, allocations: 266.9 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.3215, allocations: 64 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.3217, allocations: 71.98 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.3218, allocations: 147.5 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.3221, allocations: 219 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008655/0.323, allocations: 0.833 MB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.323, allocations: 0 / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.323, allocations: 0 / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.323, allocations: 0 / 1.334 GB, free: 9.719 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.00155/0.3245, allocations: 0.8446 MB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3246, allocations: 8.031 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.3247, allocations: 64.56 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000862/0.3256, allocations: 428.6 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.3256, allocations: 41.38 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.3258, allocations: 56.36 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.3267, allocations: 0.5456 MB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3267, allocations: 192 / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.3268, allocations: 19.94 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.3268, allocations: 8 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000805/0.3276, allocations: 463.6 kB / 1.337 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.3295, allocations: 1.051 MB / 1.338 GB, free: 6.105 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007612/0.3303, allocations: 394.2 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.3306, allocations: 174.7 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.3306, allocations: 4 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005525/0.3312, allocations: 322.8 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.3312, allocations: 0 / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001287/0.3325, allocations: 0.654 MB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3325, allocations: 59.34 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.3328, allocations: 329.7 kB / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.3329, allocations: 33.7 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.3331, allocations: 237.5 kB / 1.34 GB, free: 3.875 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.668e-05/0.3332, allocations: 91.25 kB / 1.34 GB, free: 3.785 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.3334, allocations: 130 kB / 1.34 GB, free: 3.648 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3336, allocations: 342.8 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/0.3341, allocations: 339.5 kB / 1.341 GB, free: 2.961 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.3348, allocations: 0.5067 MB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/0.3355, allocations: 448.9 kB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3355, allocations: 0 / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00128/0.3368, allocations: 0.755 MB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.3369, allocations: 71.39 kB / 1.342 GB, free: 1.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3369, allocations: 0 / 1.342 GB, free: 1.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.3369, allocations: 4 kB / 1.342 GB, free: 1.055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.3371, allocations: 44.02 kB / 1.342 GB, free: 1.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3371, allocations: 4 kB / 1.342 GB, free: 1.008 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/0.3376, allocations: 107.7 kB / 1.342 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.3376, allocations: 19.98 kB / 1.342 GB, free: 0.8828 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.0002959/0.3379, allocations: 248.8 kB / 1.343 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.338, allocations: 35.73 kB / 1.343 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.746e-05/0.3381, allocations: 38.97 kB / 1.343 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3381, allocations: 3.984 kB / 1.343 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3381, allocations: 0 / 1.343 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.3381, allocations: 27.75 kB / 1.343 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.3382, allocations: 11.98 kB / 1.343 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3383, allocations: 31.95 kB / 1.343 GB, free: 488 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3385, allocations: 47.92 kB / 1.343 GB, free: 440 kB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00149/0.34, allocations: 0.7267 MB / 1.344 GB, free: 15.69 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001373/0.3413, allocations: 0.8931 MB / 1.344 GB, free: 14.78 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003878/0.3417, allocations: 224.1 kB / 1.345 GB, free: 14.56 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002081/0.3419, allocations: 205.1 kB / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of Backend: time 5.21e-07/0.3419, allocations: 0 / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.3431, allocations: 0.5979 MB / 1.345 GB, free: 13.72 MB / 1.045 GB Notification: Performance of SimCode: time 0.0018/0.3449, allocations: 1.297 MB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of Templates: time 0.01381/0.3587, allocations: 7.955 MB / 1.355 GB, free: 4.59 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: 8.715380392000952]