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.009877/0.009877, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001749/0.001749, allocations: 194.7 kB / 16.67 MB, free: 5.93 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.632/1.632, allocations: 222.9 MB / 240.4 MB, free: 4.191 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 2.836/2.836, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 55.91 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3427, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003574/0.3463, allocations: 1.982 MB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002925/0.3492, allocations: 1.981 MB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.3495, allocations: 31.81 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.3499, allocations: 139 kB / 1.225 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.35, allocations: 31.72 kB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.3509, allocations: 350.8 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009019/0.3518, allocations: 0.7774 MB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006293/0.3524, allocations: 343.8 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004113/0.3528, allocations: 255.4 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.3533, allocations: 258.9 kB / 1.227 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.3535, allocations: 64 kB / 1.227 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.3537, allocations: 83.97 kB / 1.227 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.3538, allocations: 135.6 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.3542, allocations: 274.7 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.3551, allocations: 0.8251 MB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3551, allocations: 0 / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3551, allocations: 4 kB / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.3551, allocations: 0 / 1.228 GB, free: 6.273 MB / 0.9825 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.001677/0.3568, allocations: 0.9238 MB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3568, allocations: 11.97 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.3569, allocations: 60.61 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007999/0.3577, allocations: 496.2 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/0.3578, allocations: 37.36 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3579, allocations: 56.38 kB / 1.229 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009234/0.3588, allocations: 0.5418 MB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3588, allocations: 192 / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.3589, allocations: 23.92 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3589, allocations: 12 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.3597, allocations: 455.6 kB / 1.23 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.3617, allocations: 1.282 MB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.3625, allocations: 402.2 kB / 1.232 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.3628, allocations: 172.6 kB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3628, allocations: 7.984 kB / 1.232 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004818/0.3633, allocations: 319.8 kB / 1.233 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.3633, allocations: 0 / 1.233 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36): time 0.001291/0.3646, allocations: 0.6451 MB / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3646, allocations: 55.41 kB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.365, allocations: 338.4 kB / 1.234 GB, free: 284 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.365, allocations: 33.7 kB / 1.234 GB, free: 244 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.3652, allocations: 237.5 kB / 1.234 GB, free: 4 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/0.3653, allocations: 83.52 kB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.3655, allocations: 130 kB / 1.234 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3657, allocations: 346.8 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.3662, allocations: 272.1 kB / 1.235 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.3668, allocations: 356 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.3676, allocations: 436.9 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3676, allocations: 7.984 kB / 1.235 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001149/0.3687, allocations: 0.6926 MB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/0.3688, allocations: 65.58 kB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3688, allocations: 0 / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3688, allocations: 8 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.369, allocations: 47.89 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.369, allocations: 3.938 kB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.3695, allocations: 107.9 kB / 1.236 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.3695, allocations: 19.98 kB / 1.236 GB, free: 13.37 MB / 0.9981 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.0003296/0.3698, allocations: 252.8 kB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.3699, allocations: 31.81 kB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.559e-05/0.37, allocations: 38.95 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.37, allocations: 4 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.37, allocations: 0 / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.37, allocations: 0 / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.3716, allocations: 1.101 MB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3716, allocations: 4 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.3718, allocations: 43.89 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3718, allocations: 3.984 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.3718, allocations: 11.94 kB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3718, allocations: 0 / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3718, allocations: 0 / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.3731, allocations: 0.7851 MB / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.3731, allocations: 105 kB / 1.239 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.3732, allocations: 11.92 kB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3734, allocations: 31.95 kB / 1.239 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.3736, allocations: 47.94 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.3736, allocations: 23.92 kB / 1.239 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002563/0.3739, allocations: 205.9 kB / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3739, allocations: 4.062 kB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004222/0.3743, allocations: 131.5 kB / 1.239 GB, free: 10.45 MB / 0.9981 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.0001838/0.3745, allocations: 129.8 kB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.3755, allocations: 0.6192 MB / 1.24 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3755, allocations: 0 / 1.24 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.3759, allocations: 215.6 kB / 1.24 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/0.3766, allocations: 136.9 kB / 1.24 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.3782, allocations: 0.9103 MB / 1.241 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.3786, allocations: 0.8891 MB / 1.242 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000191/0.3788, allocations: 83.2 kB / 1.242 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.3789, allocations: 35.44 kB / 1.242 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.3789, allocations: 0 / 1.242 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of Templates: time 0.01349/0.3924, allocations: 6.449 MB / 1.248 GB, free: 0.9922 MB / 0.9981 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=480 -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