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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] 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=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_11_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_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 168.7 MB / 1.272 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003218/1.066, allocations: 1.981 MB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002848/1.069, allocations: 1.989 MB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/1.069, allocations: 29.28 kB / 1.276 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000328/1.07, allocations: 140.7 kB / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/1.07, allocations: 35.02 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/1.071, allocations: 378.6 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008352/1.072, allocations: 0.7785 MB / 1.277 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/1.072, allocations: 267.7 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/1.072, allocations: 255.7 kB / 1.278 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/1.073, allocations: 273.4 kB / 1.278 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/1.073, allocations: 63.47 kB / 1.278 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/1.073, allocations: 80.22 kB / 1.278 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/1.073, allocations: 141.4 kB / 1.278 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/1.073, allocations: 274.4 kB / 1.278 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/1.074, allocations: 0.8221 MB / 1.279 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.074, allocations: 1 kB / 1.279 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.074, allocations: 0 / 1.279 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.154e-05/1.074, allocations: 0 / 1.279 GB, free: 3.473 MB / 0.9981 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.001668/1.076, allocations: 0.9189 MB / 1.28 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.076, allocations: 9.5 kB / 1.28 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/1.076, allocations: 65.33 kB / 1.28 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008306/1.077, allocations: 491.4 kB / 1.281 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/1.077, allocations: 42.06 kB / 1.281 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/1.077, allocations: 56.22 kB / 1.281 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/1.078, allocations: 0.5414 MB / 1.281 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/1.078, allocations: 0.8438 kB / 1.281 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/1.078, allocations: 19.25 kB / 1.281 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/1.078, allocations: 9.594 kB / 1.281 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/1.079, allocations: 464.2 kB / 1.282 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/1.081, allocations: 1.278 MB / 1.283 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/1.082, allocations: 399.9 kB / 1.283 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/1.082, allocations: 175.7 kB / 1.284 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/1.082, allocations: 8.75 kB / 1.284 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005543/1.083, allocations: 321.5 kB / 1.284 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.344e-06/1.083, allocations: 0 / 1.284 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36): time 0.001208/1.084, allocations: 0.6395 MB / 1.285 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/1.084, allocations: 62.22 kB / 1.285 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/1.084, allocations: 323.7 kB / 1.285 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/1.084, allocations: 48.78 kB / 1.285 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/1.084, allocations: 232.3 kB / 1.285 GB, free: 468 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/1.084, allocations: 90.03 kB / 1.285 GB, free: 396 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/1.085, allocations: 129.5 kB / 1.285 GB, free: 340 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/1.085, allocations: 342 kB / 1.286 GB, free: 8 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/1.085, allocations: 269.1 kB / 1.286 GB, free: 15.94 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000619/1.086, allocations: 353.9 kB / 1.286 GB, free: 15.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007995/1.087, allocations: 445.5 kB / 1.287 GB, free: 15.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.087, allocations: 1.156 kB / 1.287 GB, free: 15.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001291/1.088, allocations: 0.6894 MB / 1.287 GB, free: 15.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/1.088, allocations: 73.12 kB / 1.287 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.088, allocations: 0 / 1.287 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.088, allocations: 2 kB / 1.287 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/1.088, allocations: 47.44 kB / 1.287 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/1.088, allocations: 7.219 kB / 1.287 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/1.089, allocations: 102.4 kB / 1.288 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/1.089, allocations: 29.53 kB / 1.288 GB, free: 15.23 MB / 1.014 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.0003544/1.089, allocations: 246.8 kB / 1.288 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/1.089, allocations: 36.02 kB / 1.288 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/1.089, allocations: 40.92 kB / 1.288 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/1.089, allocations: 3.938 kB / 1.288 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.089, allocations: 0 / 1.288 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/1.089, allocations: 5.922 kB / 1.288 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/1.091, allocations: 1.089 MB / 1.289 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.091, allocations: 0 / 1.289 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/1.091, allocations: 38.39 kB / 1.289 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.091, allocations: 2.844 kB / 1.289 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/1.091, allocations: 13.67 kB / 1.289 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.091, allocations: 5.344 kB / 1.289 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.091, allocations: 5.688 kB / 1.289 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/1.093, allocations: 0.7766 MB / 1.29 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/1.093, allocations: 110 kB / 1.29 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/1.093, allocations: 8.312 kB / 1.29 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/1.093, allocations: 39.66 kB / 1.29 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.093, allocations: 49.66 kB / 1.29 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/1.093, allocations: 20.78 kB / 1.29 GB, free: 14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002253/1.094, allocations: 208.2 kB / 1.29 GB, free: 13.88 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.094, allocations: 0 / 1.29 GB, free: 13.88 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004996/1.094, allocations: 130.3 kB / 1.29 GB, free: 13.84 MB / 1.014 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.0002006/1.094, allocations: 132 kB / 1.29 GB, free: 13.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001139/1.095, allocations: 0.6203 MB / 1.291 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.095, allocations: 0 / 1.291 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004211/1.096, allocations: 212.5 kB / 1.291 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/1.097, allocations: 150.7 kB / 1.291 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/1.098, allocations: 0.9159 MB / 1.292 GB, free: 12.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/1.099, allocations: 0.8872 MB / 1.293 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002305/1.099, allocations: 75.92 kB / 1.293 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.625e-05/1.099, allocations: 30.5 kB / 1.293 GB, free: 12.2 MB / 1.014 GB Notification: Performance of SimCode: time 8.22e-07/1.099, allocations: 0 / 1.293 GB, free: 12.2 MB / 1.014 GB Notification: Performance of Templates: time 0.01394/1.113, allocations: 6.528 MB / 1.3 GB, free: 11.73 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.281049859710038]