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.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.001554/0.001554, allocations: 115.8 kB / 17.13 MB, free: 5.926 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.00162/0.00162, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.436/1.436, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.812/2.812, allocations: 0.49 GB / 0.7923 GB, free: 1.516 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: 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.002052/0.002052, allocations: 67.91 kB / 1.15 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9277/0.9297, allocations: 176.1 MB / 1.322 GB, free: 7.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003773/0.9335, allocations: 1.985 MB / 1.324 GB, free: 6.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003466/0.937, allocations: 2.008 MB / 1.326 GB, free: 4.688 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.9373, allocations: 36.56 kB / 1.326 GB, free: 4.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.9376, allocations: 143 kB / 1.326 GB, free: 4.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.9378, allocations: 30.62 kB / 1.326 GB, free: 4.516 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.9387, allocations: 359.6 kB / 1.326 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008748/0.9396, allocations: 0.7698 MB / 1.327 GB, free: 3.758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.9401, allocations: 343.9 kB / 1.327 GB, free: 3.562 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.9404, allocations: 267.9 kB / 1.328 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.9408, allocations: 261.6 kB / 1.328 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.605e-05/0.9409, allocations: 67.14 kB / 1.328 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.941, allocations: 81.55 kB / 1.328 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.9412, allocations: 148.9 kB / 1.328 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.9415, allocations: 273.1 kB / 1.329 GB, free: 2.898 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000946/0.9424, allocations: 0.822 MB / 1.329 GB, free: 2.281 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.9424, allocations: 1.125 kB / 1.329 GB, free: 2.281 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9424, allocations: 0 / 1.329 GB, free: 2.281 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.9424, allocations: 0 / 1.329 GB, free: 2.281 MB / 1.014 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.001645/0.9441, allocations: 0.9193 MB / 1.33 GB, free: 1.508 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.9441, allocations: 17.25 kB / 1.33 GB, free: 1.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.9443, allocations: 64.41 kB / 1.33 GB, free: 1.469 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.9451, allocations: 484.9 kB / 1.331 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/0.9451, allocations: 50.16 kB / 1.331 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.9452, allocations: 49.12 kB / 1.331 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009984/0.9462, allocations: 0.5427 MB / 1.331 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9462, allocations: 192 / 1.331 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.9463, allocations: 27.58 kB / 1.331 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.9463, allocations: 14.59 kB / 1.331 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.947, allocations: 462.2 kB / 1.332 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.949, allocations: 1.276 MB / 1.333 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007475/0.9497, allocations: 400.6 kB / 1.333 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.95, allocations: 171.2 kB / 1.334 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.9501, allocations: 6.672 kB / 1.334 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005439/0.9506, allocations: 326.7 kB / 1.334 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.893e-06/0.9506, allocations: 0 / 1.334 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.00141/0.952, allocations: 0.6347 MB / 1.335 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.9521, allocations: 56.91 kB / 1.335 GB, free: 14.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.9526, allocations: 331.5 kB / 1.335 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.9526, allocations: 43.09 kB / 1.335 GB, free: 14.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.9528, allocations: 229.8 kB / 1.335 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.9529, allocations: 92.5 kB / 1.335 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.9531, allocations: 125.2 kB / 1.335 GB, free: 14.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.9533, allocations: 344 kB / 1.336 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.9538, allocations: 274 kB / 1.336 GB, free: 13.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.9544, allocations: 350 kB / 1.336 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.9552, allocations: 445.5 kB / 1.337 GB, free: 13.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.9552, allocations: 3.938 kB / 1.337 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001282/0.9564, allocations: 0.6937 MB / 1.337 GB, free: 12.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.9565, allocations: 69.2 kB / 1.338 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9565, allocations: 1.031 kB / 1.338 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.9565, allocations: 2.188 kB / 1.338 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.9567, allocations: 46.64 kB / 1.338 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.9567, allocations: 2.594 kB / 1.338 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.9573, allocations: 113.5 kB / 1.338 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.9573, allocations: 18.97 kB / 1.338 GB, free: 12.57 MB / 1.029 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.0003864/0.9577, allocations: 250 kB / 1.338 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.9578, allocations: 30.16 kB / 1.338 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.9579, allocations: 43.77 kB / 1.338 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.9579, allocations: 3.375 kB / 1.338 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.9579, allocations: 4.969 kB / 1.338 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.9579, allocations: 7.938 kB / 1.338 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.9597, allocations: 1.092 MB / 1.339 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.9597, allocations: 0 / 1.339 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.9599, allocations: 38.67 kB / 1.339 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9599, allocations: 1.312 kB / 1.339 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.9599, allocations: 20.67 kB / 1.339 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.9599, allocations: 1.062 kB / 1.339 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9599, allocations: 0 / 1.339 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.9613, allocations: 0.7832 MB / 1.34 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/0.9614, allocations: 109.7 kB / 1.34 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.9614, allocations: 15.28 kB / 1.34 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.9616, allocations: 30.89 kB / 1.34 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.9618, allocations: 52.17 kB / 1.34 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.9618, allocations: 17.67 kB / 1.34 GB, free: 10.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002236/0.962, allocations: 203.2 kB / 1.34 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.962, allocations: 0 / 1.34 GB, free: 10.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004987/0.9625, allocations: 132.1 kB / 1.34 GB, free: 10.73 MB / 1.029 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.0002509/0.9628, allocations: 130.1 kB / 1.341 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.9639, allocations: 0.6194 MB / 1.341 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9639, allocations: 0 / 1.341 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.9643, allocations: 228.8 kB / 1.341 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007719/0.965, allocations: 138.1 kB / 1.342 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.9666, allocations: 0.9262 MB / 1.342 GB, free: 9.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.9672, allocations: 0.878 MB / 1.343 GB, free: 8.711 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.9673, allocations: 38.64 kB / 1.343 GB, free: 8.695 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.9673, allocations: 0 / 1.343 GB, free: 8.695 MB / 1.029 GB Notification: Performance of Templates: time 0.01073/0.978, allocations: 6.547 MB / 1.35 GB, free: 5.312 MB / 1.029 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/jenkins1/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: 12.171480460005114]