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.001053/0.001053, allocations: 91.14 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.009186/0.009187, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.511/1.511, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 462.7 MB / 0.7364 GB, free: 188 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004105, allocations: 8.188 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4045, allocations: 159.6 MB / 1.059 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.002646/0.4072, allocations: 1.576 MB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003722/0.4109, allocations: 1.95 MB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007043/0.4117, allocations: 23.88 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.4121, allocations: 115.2 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.4123, allocations: 15.86 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.4134, allocations: 311 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000988/0.4144, allocations: 0.7266 MB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000826/0.4153, allocations: 436 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.4156, allocations: 167.3 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.416, allocations: 179.1 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.385e-05/0.4161, allocations: 20 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.4162, allocations: 27.98 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.4163, allocations: 91.56 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.4167, allocations: 224.4 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.4176, allocations: 0.7474 MB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4176, allocations: 0 / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4176, allocations: 0 / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.4176, allocations: 0 / 1.065 GB, free: 14.76 MB / 0.8262 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.001706/0.4194, allocations: 0.8036 MB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.4194, allocations: 8.031 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.4197, allocations: 64.28 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008608/0.4205, allocations: 476 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/0.4206, allocations: 41.36 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.4207, allocations: 52.38 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.4219, allocations: 0.5496 MB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4219, allocations: 192 / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.422, allocations: 23.94 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.422, allocations: 12 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008947/0.4229, allocations: 471.6 kB / 1.068 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.4253, allocations: 1.301 MB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008011/0.4261, allocations: 442.2 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.4264, allocations: 199.4 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.4265, allocations: 4 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005889/0.4271, allocations: 335.8 kB / 1.07 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 2.916e-06/0.4271, allocations: 0 / 1.07 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36): time 0.001415/0.4285, allocations: 0.6569 MB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.4286, allocations: 63.39 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.429, allocations: 330.3 kB / 1.071 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/0.4291, allocations: 37.69 kB / 1.071 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.4294, allocations: 225.1 kB / 1.071 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.4295, allocations: 86.88 kB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.4296, allocations: 81.67 kB / 1.071 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4298, allocations: 338.8 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/0.4304, allocations: 280.1 kB / 1.072 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.431, allocations: 367.9 kB / 1.072 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007431/0.4317, allocations: 456.9 kB / 1.073 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.4317, allocations: 4 kB / 1.073 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001229/0.433, allocations: 0.6969 MB / 1.073 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/0.433, allocations: 72.64 kB / 1.073 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4331, allocations: 0 / 1.073 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4331, allocations: 4 kB / 1.073 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.4333, allocations: 48.02 kB / 1.073 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.4333, allocations: 4 kB / 1.073 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.4339, allocations: 140.8 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.434, allocations: 23.98 kB / 1.074 GB, free: 5.844 MB / 0.8262 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.0003536/0.4344, allocations: 249.8 kB / 1.074 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.4344, allocations: 31.62 kB / 1.074 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.616e-05/0.4345, allocations: 38.95 kB / 1.074 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.4345, allocations: 4 kB / 1.074 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.4346, allocations: 0 / 1.074 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4346, allocations: 3.984 kB / 1.074 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.4363, allocations: 1.109 MB / 1.075 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4363, allocations: 0 / 1.075 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.4365, allocations: 43.95 kB / 1.075 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4365, allocations: 0 / 1.075 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.4366, allocations: 12.03 kB / 1.075 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.4366, allocations: 11.88 kB / 1.075 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4366, allocations: 3.984 kB / 1.075 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.4379, allocations: 0.8033 MB / 1.076 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-05/0.438, allocations: 104.8 kB / 1.076 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.4381, allocations: 11.98 kB / 1.076 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.4383, allocations: 43.89 kB / 1.076 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4384, allocations: 59.72 kB / 1.076 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.4385, allocations: 16 kB / 1.076 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002223/0.4387, allocations: 205.9 kB / 1.076 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4387, allocations: 64 / 1.076 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004664/0.4392, allocations: 127.4 kB / 1.076 GB, free: 2.871 MB / 0.8262 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.0002168/0.4394, allocations: 129.7 kB / 1.076 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.4406, allocations: 0.6739 MB / 1.077 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4406, allocations: 0 / 1.077 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.441, allocations: 248.8 kB / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/0.4417, allocations: 109.2 kB / 1.077 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.4437, allocations: 1.076 MB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.4443, allocations: 0.8855 MB / 1.079 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.4445, allocations: 91.14 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.264e-05/0.4446, allocations: 27.44 kB / 1.079 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of SimCode: time 9.22e-07/0.4446, allocations: 0 / 1.079 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.01411/0.4588, allocations: 6.012 MB / 1.085 GB, free: 9.656 MB / 0.8419 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/jenkins/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