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.001332/0.001332, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001328/0.001328, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.678/2.678, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.39 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003463/0.3304, allocations: 1.993 MB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003008/0.3334, allocations: 1.934 MB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.3336, allocations: 27.81 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.334, allocations: 115.2 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.3341, allocations: 23.8 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008305/0.335, allocations: 310.6 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.3358, allocations: 0.7854 MB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.3364, allocations: 463.9 kB / 1.07 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.3367, allocations: 263.3 kB / 1.07 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.337, allocations: 254.9 kB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.225e-05/0.3371, allocations: 64 kB / 1.07 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.3372, allocations: 71.98 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.3374, allocations: 143.6 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.3377, allocations: 274.6 kB / 1.071 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.3383, allocations: 0.651 MB / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3383, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3383, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3383, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8419 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.001464/0.3398, allocations: 0.9049 MB / 1.072 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3398, allocations: 11.97 kB / 1.072 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.34, allocations: 60.28 kB / 1.072 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.3407, allocations: 460.1 kB / 1.073 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.3407, allocations: 45.36 kB / 1.073 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.3408, allocations: 52.38 kB / 1.073 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009554/0.3418, allocations: 0.5496 MB / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3418, allocations: 192 / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.3419, allocations: 23.92 kB / 1.073 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.3419, allocations: 12 kB / 1.073 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.3427, allocations: 455.6 kB / 1.074 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.3446, allocations: 1.297 MB / 1.075 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.3454, allocations: 430.1 kB / 1.075 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.3457, allocations: 192.6 kB / 1.076 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.3457, allocations: 4 kB / 1.076 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005344/0.3463, allocations: 320.6 kB / 1.076 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.3463, allocations: 0 / 1.076 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.001268/0.3476, allocations: 0.645 MB / 1.077 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.3476, allocations: 55.41 kB / 1.077 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.348, allocations: 330.3 kB / 1.077 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.348, allocations: 37.7 kB / 1.077 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.3482, allocations: 233 kB / 1.077 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/0.3483, allocations: 86.81 kB / 1.077 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.3485, allocations: 130 kB / 1.077 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3487, allocations: 342.8 kB / 1.078 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/0.3492, allocations: 272.1 kB / 1.078 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.3498, allocations: 351.9 kB / 1.078 GB, free: 276 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5548/0.9046, allocations: 440.2 kB / 1.079 GB, free: 22.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.9047, allocations: 0 / 1.079 GB, free: 22.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001434/0.9061, allocations: 0.684 MB / 1.079 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.842e-05/0.9062, allocations: 68.17 kB / 1.08 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.9062, allocations: 0.9375 kB / 1.08 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.9062, allocations: 3.781 kB / 1.08 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.9065, allocations: 49.78 kB / 1.08 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.9065, allocations: 3.062 kB / 1.08 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.907, allocations: 110.8 kB / 1.08 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.9071, allocations: 22.16 kB / 1.08 GB, free: 21.95 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.9074, allocations: 245.9 kB / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.9075, allocations: 29.03 kB / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.9076, allocations: 42.5 kB / 1.08 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.9076, allocations: 5.422 kB / 1.08 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.9076, allocations: 0.75 kB / 1.08 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9076, allocations: 2.406 kB / 1.08 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.9092, allocations: 1.095 MB / 1.081 GB, free: 21.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9092, allocations: 4.688 kB / 1.081 GB, free: 21.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.9094, allocations: 41.67 kB / 1.081 GB, free: 21.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.9094, allocations: 5.969 kB / 1.081 GB, free: 21.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.9095, allocations: 8.438 kB / 1.081 GB, free: 21.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.9095, allocations: 7.062 kB / 1.081 GB, free: 21.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9095, allocations: 0 / 1.081 GB, free: 21.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.9107, allocations: 0.7858 MB / 1.082 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.9107, allocations: 112.9 kB / 1.082 GB, free: 21.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.9108, allocations: 7.922 kB / 1.082 GB, free: 21.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.911, allocations: 34.64 kB / 1.082 GB, free: 21.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.9111, allocations: 54.08 kB / 1.082 GB, free: 21.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.9112, allocations: 13.03 kB / 1.082 GB, free: 21.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001831/0.9113, allocations: 208.9 kB / 1.082 GB, free: 21.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9113, allocations: 1.125 kB / 1.082 GB, free: 21.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004009/0.9118, allocations: 120.9 kB / 1.082 GB, free: 21.04 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.0001637/0.9119, allocations: 134.9 kB / 1.083 GB, free: 20.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.9131, allocations: 0.6947 MB / 1.083 GB, free: 20.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9131, allocations: 3.75 kB / 1.083 GB, free: 20.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.9135, allocations: 239.3 kB / 1.083 GB, free: 20.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.9142, allocations: 138.2 kB / 1.084 GB, free: 20.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.9156, allocations: 1.086 MB / 1.085 GB, free: 19.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.916, allocations: 0.8777 MB / 1.086 GB, free: 19.24 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/0.9161, allocations: 36.47 kB / 1.086 GB, free: 19.23 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.9161, allocations: 3.938 kB / 1.086 GB, free: 19.22 MB / 0.8419 GB Notification: Performance of Templates: time 0.01174/0.9278, allocations: 6.52 MB / 1.092 GB, free: 18.6 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/jenkins1/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