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.001593/0.001593, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001808/0.001808, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 3.161/3.161, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 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.002175/0.002175, allocations: 64.28 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3388, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.00355/0.3424, allocations: 1.805 MB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003112/0.3455, allocations: 2.001 MB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.3458, allocations: 35.69 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.3461, allocations: 143 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.3462, allocations: 27.73 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008541/0.3471, allocations: 353.8 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008413/0.3479, allocations: 0.7814 MB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.3484, allocations: 256.2 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.3487, allocations: 271.2 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.349, allocations: 278.9 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3492, allocations: 64 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.3493, allocations: 75.98 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3495, allocations: 147.5 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.3498, allocations: 227 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.3509, allocations: 0.8291 MB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3509, allocations: 3.938 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3509, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.3509, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 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.001868/0.3528, allocations: 0.8379 MB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3528, allocations: 8.031 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.353, allocations: 68.56 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009748/0.3539, allocations: 436.5 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.354, allocations: 41.38 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.3541, allocations: 56.38 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3552, allocations: 0.5457 MB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3552, allocations: 192 / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.3552, allocations: 19.94 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.3553, allocations: 12 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008283/0.3561, allocations: 459.6 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.3581, allocations: 1.047 MB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.3589, allocations: 402.8 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.3592, allocations: 168.7 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.3592, allocations: 4 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005696/0.3598, allocations: 326.8 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.964e-06/0.3598, allocations: 0 / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001312/0.3611, allocations: 0.6423 MB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3612, allocations: 63.41 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.3616, allocations: 321.7 kB / 1.339 GB, free: 5.035 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.3616, allocations: 41.7 kB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.3618, allocations: 237.5 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.3619, allocations: 91.31 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.3622, allocations: 130 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3623, allocations: 342.8 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.3629, allocations: 335.5 kB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006948/0.3636, allocations: 0.5106 MB / 1.34 GB, free: 3.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007559/0.3644, allocations: 448.9 kB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3644, allocations: 0 / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00128/0.3656, allocations: 0.759 MB / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/0.3657, allocations: 63.39 kB / 1.342 GB, free: 1.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3657, allocations: 0 / 1.342 GB, free: 1.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3657, allocations: 4 kB / 1.342 GB, free: 1.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3659, allocations: 47.89 kB / 1.342 GB, free: 1.891 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.3659, allocations: 0 / 1.342 GB, free: 1.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.3664, allocations: 107.8 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.3664, allocations: 19.98 kB / 1.342 GB, free: 1.766 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.0003036/0.3667, allocations: 244.8 kB / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.3668, allocations: 47.7 kB / 1.342 GB, free: 1.469 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.3669, allocations: 34.97 kB / 1.342 GB, free: 1.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3669, allocations: 4 kB / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.3669, allocations: 7.984 kB / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3669, allocations: 0 / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.3685, allocations: 0.9708 MB / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3685, allocations: 0 / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.3687, allocations: 35.95 kB / 1.343 GB, free: 380 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3687, allocations: 8 kB / 1.343 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.3688, allocations: 7.984 kB / 1.343 GB, free: 364 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3688, allocations: 8 kB / 1.343 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3688, allocations: 0 / 1.343 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.3701, allocations: 0.7892 MB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.3702, allocations: 27.78 kB / 1.344 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.3702, allocations: 12 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.3704, allocations: 31.95 kB / 1.344 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.3705, allocations: 59.91 kB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.3706, allocations: 16 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002291/0.3708, allocations: 205.2 kB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3708, allocations: 0 / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004214/0.3712, allocations: 127.6 kB / 1.344 GB, free: 15.07 MB / 1.045 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.0002022/0.3714, allocations: 129.7 kB / 1.344 GB, free: 14.94 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.3726, allocations: 0.6972 MB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3726, allocations: 4 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.373, allocations: 219.5 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.3737, allocations: 145.6 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3753, allocations: 0.9152 MB / 1.346 GB, free: 12.9 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.3756, allocations: 283.3 kB / 1.347 GB, free: 12.6 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/0.3757, allocations: 39.42 kB / 1.347 GB, free: 12.56 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/0.3757, allocations: 0 / 1.347 GB, free: 12.56 MB / 1.045 GB Notification: Performance of Templates: time 0.01022/0.3859, allocations: 6.632 MB / 1.353 GB, free: 5.973 MB / 1.045 GB " [Timeout remaining time 300] 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.104512366000563]