Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001403/0.001403, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.00152/0.00152, allocations: 188.1 kB / 22.1 MB, free: 4.223 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.518/1.518, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.922/2.922, allocations: 495.8 MB / 0.7831 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163/1.165, allocations: 173.6 MB / 1.307 GB, free: 33.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003127/1.168, allocations: 1.989 MB / 1.309 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002701/1.171, allocations: 1.992 MB / 1.311 GB, free: 30.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/1.171, allocations: 37 kB / 1.311 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003244/1.172, allocations: 146.2 kB / 1.311 GB, free: 30.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.984e-05/1.172, allocations: 29.97 kB / 1.311 GB, free: 30.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000889/1.173, allocations: 380.1 kB / 1.311 GB, free: 30.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006232/1.173, allocations: 0.7774 MB / 1.312 GB, free: 30.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/1.174, allocations: 269.8 kB / 1.312 GB, free: 30.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/1.174, allocations: 264.2 kB / 1.312 GB, free: 29.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/1.174, allocations: 271.1 kB / 1.313 GB, free: 29.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/1.174, allocations: 63.88 kB / 1.313 GB, free: 29.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/1.174, allocations: 72.84 kB / 1.313 GB, free: 29.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/1.175, allocations: 144.5 kB / 1.313 GB, free: 29.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/1.175, allocations: 272.9 kB / 1.313 GB, free: 29.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007365/1.176, allocations: 0.8288 MB / 1.314 GB, free: 29.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.176, allocations: 0 / 1.314 GB, free: 29.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.434e-06/1.176, allocations: 0 / 1.314 GB, free: 29.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.781e-05/1.176, allocations: 0 / 1.314 GB, free: 29.24 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.001315/1.177, allocations: 0.8474 MB / 1.315 GB, free: 28.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.177, allocations: 8.5 kB / 1.315 GB, free: 28.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/1.177, allocations: 65.86 kB / 1.315 GB, free: 28.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/1.178, allocations: 425.7 kB / 1.315 GB, free: 28.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/1.178, allocations: 43.61 kB / 1.315 GB, free: 28.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.42e-05/1.178, allocations: 57.09 kB / 1.315 GB, free: 28.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007894/1.179, allocations: 0.5406 MB / 1.316 GB, free: 28.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/1.179, allocations: 192 / 1.316 GB, free: 28.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/1.179, allocations: 22.27 kB / 1.316 GB, free: 28.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/1.179, allocations: 12.31 kB / 1.316 GB, free: 28.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006807/1.18, allocations: 466.1 kB / 1.316 GB, free: 28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/1.181, allocations: 1.23 MB / 1.318 GB, free: 27.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/1.182, allocations: 401.1 kB / 1.318 GB, free: 27.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/1.182, allocations: 180 kB / 1.318 GB, free: 27.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/1.182, allocations: 2.625 kB / 1.318 GB, free: 27.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/1.182, allocations: 319.9 kB / 1.319 GB, free: 27.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/1.182, allocations: 0 / 1.319 GB, free: 27.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.001114/1.184, allocations: 0.6504 MB / 1.319 GB, free: 26.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/1.184, allocations: 59.92 kB / 1.319 GB, free: 26.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/1.184, allocations: 330.3 kB / 1.32 GB, free: 26.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/1.184, allocations: 38.92 kB / 1.32 GB, free: 26.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/1.184, allocations: 234.2 kB / 1.32 GB, free: 26.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/1.184, allocations: 89.02 kB / 1.32 GB, free: 26.35 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/1.184, allocations: 125.7 kB / 1.32 GB, free: 26.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/1.184, allocations: 345 kB / 1.32 GB, free: 25.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/1.185, allocations: 266.8 kB / 1.321 GB, free: 25.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/1.185, allocations: 355.6 kB / 1.321 GB, free: 25.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/1.186, allocations: 439.4 kB / 1.321 GB, free: 25.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.186, allocations: 3.938 kB / 1.321 GB, free: 25.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009902/1.187, allocations: 0.7032 MB / 1.322 GB, free: 25.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/1.187, allocations: 68.58 kB / 1.322 GB, free: 25.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.187, allocations: 2.688 kB / 1.322 GB, free: 25.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.187, allocations: 2.562 kB / 1.322 GB, free: 25.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/1.187, allocations: 42.14 kB / 1.322 GB, free: 25.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/1.187, allocations: 2.625 kB / 1.322 GB, free: 25.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/1.188, allocations: 107.5 kB / 1.322 GB, free: 25.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/1.188, allocations: 15.19 kB / 1.322 GB, free: 25.21 MB / 1.061 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.0002334/1.188, allocations: 259.3 kB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/1.188, allocations: 36.52 kB / 1.323 GB, free: 25.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.876e-05/1.188, allocations: 43.73 kB / 1.323 GB, free: 24.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.188, allocations: 2.375 kB / 1.323 GB, free: 24.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.188, allocations: 4 kB / 1.323 GB, free: 24.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.188, allocations: 5.672 kB / 1.323 GB, free: 24.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/1.189, allocations: 1.069 MB / 1.324 GB, free: 24.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.189, allocations: 0 / 1.324 GB, free: 24.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/1.19, allocations: 38.86 kB / 1.324 GB, free: 24.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.19, allocations: 0 / 1.324 GB, free: 24.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/1.19, allocations: 24.2 kB / 1.324 GB, free: 24.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.19, allocations: 3.938 kB / 1.324 GB, free: 24.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/1.19, allocations: 0 / 1.324 GB, free: 24.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/1.191, allocations: 0.7809 MB / 1.324 GB, free: 24.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/1.191, allocations: 31.84 kB / 1.324 GB, free: 24.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/1.191, allocations: 13.84 kB / 1.325 GB, free: 24.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.191, allocations: 33.17 kB / 1.325 GB, free: 24.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/1.191, allocations: 57.11 kB / 1.325 GB, free: 24.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/1.191, allocations: 16.88 kB / 1.325 GB, free: 24.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002272/1.191, allocations: 205.6 kB / 1.325 GB, free: 23.96 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.191, allocations: 0 / 1.325 GB, free: 23.96 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005376/1.192, allocations: 127.5 kB / 1.325 GB, free: 23.93 MB / 1.061 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.0001829/1.192, allocations: 128.7 kB / 1.325 GB, free: 23.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00121/1.193, allocations: 0.6155 MB / 1.326 GB, free: 23.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.193, allocations: 0 / 1.326 GB, free: 23.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/1.194, allocations: 220.8 kB / 1.326 GB, free: 23.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007104/1.195, allocations: 145.2 kB / 1.326 GB, free: 23.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/1.196, allocations: 0.9121 MB / 1.327 GB, free: 23.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/1.197, allocations: 0.8846 MB / 1.328 GB, free: 22.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002569/1.197, allocations: 88.47 kB / 1.328 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/1.197, allocations: 33.44 kB / 1.328 GB, free: 22.28 MB / 1.061 GB Notification: Performance of SimCode: time 1.473e-06/1.197, allocations: 0 / 1.328 GB, free: 22.28 MB / 1.061 GB Notification: Performance of Templates: time 0.0183/1.215, allocations: 6.596 MB / 1.334 GB, free: 21.81 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_EnableLeadHeadered.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.984332208521664]