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.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.001612/0.001612, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001761/0.001761, allocations: 222.2 kB / 23 MB, free: 4.91 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.245/3.245, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002026/0.002026, allocations: 67.98 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003694/0.3679, allocations: 1.809 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003297/0.3712, allocations: 1.997 MB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.3715, allocations: 35.69 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.3719, allocations: 139 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.372, allocations: 31.72 kB / 1.369 GB, free: 9.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.3729, allocations: 341.6 kB / 1.369 GB, free: 9.238 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008262/0.3737, allocations: 0.7697 MB / 1.37 GB, free: 8.469 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.3742, allocations: 268.2 kB / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.3745, allocations: 271.2 kB / 1.37 GB, free: 7.926 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.3749, allocations: 278.9 kB / 1.37 GB, free: 7.652 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.375, allocations: 64 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.3752, allocations: 79.98 kB / 1.371 GB, free: 7.512 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3753, allocations: 139.6 kB / 1.371 GB, free: 7.375 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.3756, allocations: 219 kB / 1.371 GB, free: 7.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.3764, allocations: 0.8367 MB / 1.372 GB, free: 6.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3764, allocations: 0 / 1.372 GB, free: 6.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3764, allocations: 0 / 1.372 GB, free: 6.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.3764, allocations: 0 / 1.372 GB, free: 6.32 MB / 1.061 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.001473/0.3779, allocations: 0.8408 MB / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3779, allocations: 8.031 kB / 1.373 GB, free: 5.426 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.378, allocations: 60.61 kB / 1.373 GB, free: 5.367 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008548/0.3789, allocations: 432.5 kB / 1.373 GB, free: 4.922 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.3789, allocations: 45.36 kB / 1.373 GB, free: 4.875 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.379, allocations: 52.38 kB / 1.373 GB, free: 4.824 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000906/0.38, allocations: 0.5301 MB / 1.374 GB, free: 4.293 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.38, allocations: 192 / 1.374 GB, free: 4.293 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.38, allocations: 19.94 kB / 1.374 GB, free: 4.273 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.38, allocations: 19.94 kB / 1.374 GB, free: 4.254 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007592/0.3808, allocations: 447.6 kB / 1.374 GB, free: 3.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.3826, allocations: 1.047 MB / 1.375 GB, free: 2.742 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.3833, allocations: 390.1 kB / 1.375 GB, free: 2.352 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.3836, allocations: 160.7 kB / 1.376 GB, free: 2.191 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.3836, allocations: 4.391 kB / 1.376 GB, free: 2.188 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000509/0.3841, allocations: 310.8 kB / 1.376 GB, free: 1.871 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 1.863e-06/0.3841, allocations: 0 / 1.376 GB, free: 1.871 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.001209/0.3853, allocations: 0.6185 MB / 1.377 GB, free: 1.246 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3854, allocations: 59.41 kB / 1.377 GB, free: 1.176 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.3858, allocations: 325.7 kB / 1.377 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.3858, allocations: 45.69 kB / 1.377 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.386, allocations: 233.5 kB / 1.377 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.3861, allocations: 87.31 kB / 1.377 GB, free: 492 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.3863, allocations: 133.6 kB / 1.377 GB, free: 352 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3865, allocations: 350.8 kB / 1.378 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.387, allocations: 339.6 kB / 1.378 GB, free: 15.65 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.3877, allocations: 0.5162 MB / 1.379 GB, free: 15.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007564/0.3885, allocations: 472.8 kB / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3885, allocations: 0 / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001264/0.3897, allocations: 0.7707 MB / 1.38 GB, free: 13.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.3898, allocations: 71.39 kB / 1.38 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3898, allocations: 0 / 1.38 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3898, allocations: 4.125 kB / 1.38 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.39, allocations: 47.89 kB / 1.38 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.39, allocations: 3.938 kB / 1.38 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.3905, allocations: 111.7 kB / 1.38 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.3906, allocations: 23.98 kB / 1.38 GB, free: 13.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaParMod.lat.y,$PRE.enaParMod.lat.y,enaParMod.lat.clr,enaParMod.lat.u,enaParMod.cloParMod[2].y,enaParMod.cloParMod[1].y,enaParTwo.lat.y,$PRE.enaParTwo.lat.y,enaParTwo.lat.clr,enaParTwo.lat.u,enaSerMod.opeSerMod[2].y,enaSerMod.opeSerMod[1].y,enaSerMod.lat.y,$PRE.enaSerMod.lat.y,enaSerMod.lat.clr,enaSerMod.lat.u,enaSerTwo.lat.y,$PRE.enaSerTwo.lat.y,enaSerTwo.lat.clr,enaSerTwo.lat.u,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 (44): * Single equations (assignments): 42 * 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.0003017/0.3909, allocations: 244.3 kB / 1.38 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.3909, allocations: 35.75 kB / 1.38 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.391, allocations: 38.95 kB / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.391, allocations: 4 kB / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.391, allocations: 0 / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.391, allocations: 0 / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.3926, allocations: 0.9395 MB / 1.381 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3926, allocations: 0 / 1.381 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.3928, allocations: 43.89 kB / 1.381 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3928, allocations: 3.938 kB / 1.381 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.3928, allocations: 8 kB / 1.381 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3928, allocations: 3.984 kB / 1.381 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3928, allocations: 0 / 1.381 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.3941, allocations: 0.77 MB / 1.382 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.3942, allocations: 31.8 kB / 1.382 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.3942, allocations: 11.98 kB / 1.382 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.3944, allocations: 27.95 kB / 1.382 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3945, allocations: 59.86 kB / 1.382 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.3945, allocations: 8 kB / 1.382 GB, free: 11.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002333/0.3948, allocations: 209.2 kB / 1.382 GB, free: 11.01 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3948, allocations: 0 / 1.382 GB, free: 11.01 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004235/0.3952, allocations: 127.7 kB / 1.382 GB, free: 10.89 MB / 1.076 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.lat.u,enaSerTwo.lat.clr,enaParTwo.lat.u,enaParTwo.lat.clr,enaParMod.lat.u,enaParMod.lat.clr,enaSerMod.lat.u,enaSerMod.lat.clr,$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.0002392/0.3954, allocations: 129.8 kB / 1.383 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.3966, allocations: 0.6898 MB / 1.383 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3966, allocations: 4.062 kB / 1.383 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.397, allocations: 211.7 kB / 1.383 GB, free: 9.812 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.3977, allocations: 137 kB / 1.384 GB, free: 9.688 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.3994, allocations: 0.9151 MB / 1.384 GB, free: 8.734 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3997, allocations: 279.5 kB / 1.385 GB, free: 8.438 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/0.3998, allocations: 31.44 kB / 1.385 GB, free: 8.406 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.3998, allocations: 0 / 1.385 GB, free: 8.406 MB / 1.076 GB Notification: Performance of Templates: time 0.01035/0.4102, allocations: 6.661 MB / 1.391 GB, free: 1.789 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.360667480155826]