Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001711/0.001711, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.583/1.583, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.053/3.053, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 66.75 kB / 0.9086 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3605, allocations: 159.1 MB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.004159/0.3647, allocations: 1.966 MB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003466/0.3682, allocations: 1.989 MB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.3685, allocations: 23.88 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.3689, allocations: 135 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.369, allocations: 31.66 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009599/0.37, allocations: 346 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009614/0.371, allocations: 0.7893 MB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007023/0.3717, allocations: 475.9 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.372, allocations: 251.3 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.3724, allocations: 251 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.3725, allocations: 64 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.3727, allocations: 75.98 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.3729, allocations: 143.6 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.3732, allocations: 274.6 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000836/0.374, allocations: 0.8024 MB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3741, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3741, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.3741, allocations: 4 kB / 1.071 GB, free: 6.676 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.001616/0.3757, allocations: 0.9048 MB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3758, allocations: 12.03 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.3759, allocations: 64.27 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.3766, allocations: 460.1 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/0.3767, allocations: 45.38 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3768, allocations: 52.36 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009533/0.3778, allocations: 0.5457 MB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3778, allocations: 192 / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.3779, allocations: 19.94 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3779, allocations: 8 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.3787, allocations: 467.6 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.3807, allocations: 1.301 MB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007746/0.3815, allocations: 418.2 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.3818, allocations: 188.6 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.3819, allocations: 8 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005507/0.3824, allocations: 319.7 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 1.582e-06/0.3824, allocations: 0 / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36): time 0.001313/0.3837, allocations: 0.6412 MB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3838, allocations: 63.33 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.3842, allocations: 322.4 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.3842, allocations: 37.7 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.3845, allocations: 233 kB / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.3846, allocations: 82.81 kB / 1.077 GB, free: 332 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.3848, allocations: 130 kB / 1.077 GB, free: 196 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.385, allocations: 346.8 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.3855, allocations: 268.1 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/0.3861, allocations: 355.9 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.3869, allocations: 444.9 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3869, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001252/0.3881, allocations: 0.6884 MB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.3882, allocations: 64.66 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3882, allocations: 3.984 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3883, allocations: 4 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.3885, allocations: 43.89 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3885, allocations: 8.125 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.389, allocations: 103.6 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.3891, allocations: 27.92 kB / 1.08 GB, free: 13.78 MB / 0.8419 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.0003362/0.3894, allocations: 256.2 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.3895, allocations: 35.61 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.517e-05/0.3896, allocations: 38.95 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3896, allocations: 4 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3896, allocations: 0 / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3896, allocations: 0 / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.3913, allocations: 1.101 MB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3914, allocations: 0 / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.3915, allocations: 39.95 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.3916, allocations: 4 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.3916, allocations: 11.98 kB / 1.081 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3916, allocations: 3.938 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3916, allocations: 0 / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.3929, allocations: 0.7838 MB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.393, allocations: 104.7 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.3931, allocations: 8 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.3933, allocations: 35.89 kB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.3934, allocations: 63.78 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.3934, allocations: 15.98 kB / 1.082 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002196/0.3937, allocations: 209.9 kB / 1.082 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3937, allocations: 0 / 1.082 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004345/0.3941, allocations: 119.5 kB / 1.082 GB, free: 10.85 MB / 0.8419 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.0001956/0.3943, allocations: 129.8 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.3956, allocations: 0.6973 MB / 1.083 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3956, allocations: 0 / 1.083 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.396, allocations: 231.7 kB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006879/0.3967, allocations: 140.2 kB / 1.084 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.3982, allocations: 0.9037 MB / 1.085 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.3988, allocations: 0.8931 MB / 1.085 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.399, allocations: 75.17 kB / 1.085 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.3991, allocations: 27.44 kB / 1.086 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3991, allocations: 4 kB / 1.086 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of Templates: time 0.01239/0.4115, allocations: 6.411 MB / 1.092 GB, free: 1.359 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_EnableLeadHeadered.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches