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.001424/0.001424, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001591/0.001591, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.33/1.33, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] 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 2.925/2.925, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] 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.001848/0.001848, allocations: 72.64 kB / 1.178 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2833, allocations: 180.2 MB / 1.354 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003288/0.2866, allocations: 1.969 MB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.2893, allocations: 2.028 MB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.2895, allocations: 35.69 kB / 1.358 GB, free: 3.969 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.2898, allocations: 139 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.2899, allocations: 31.67 kB / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.2907, allocations: 377.3 kB / 1.359 GB, free: 3.434 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.2914, allocations: 0.7775 MB / 1.359 GB, free: 2.656 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.2919, allocations: 264.2 kB / 1.36 GB, free: 2.387 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.2921, allocations: 267.3 kB / 1.36 GB, free: 2.125 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.2924, allocations: 262.9 kB / 1.36 GB, free: 1.867 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.2925, allocations: 64 kB / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.2927, allocations: 79.92 kB / 1.36 GB, free: 1.727 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.2928, allocations: 143.5 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.2931, allocations: 270.7 kB / 1.361 GB, free: 1.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007726/0.2938, allocations: 0.8252 MB / 1.361 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2938, allocations: 4 kB / 1.361 GB, free: 500 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2938, allocations: 3.938 kB / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.2938, allocations: 0 / 1.361 GB, free: 496 kB / 1.045 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.001332/0.2952, allocations: 0.8407 MB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.2952, allocations: 8.031 kB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2953, allocations: 64.59 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007668/0.2961, allocations: 420.6 kB / 1.363 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.2961, allocations: 41.38 kB / 1.363 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/0.2962, allocations: 56.36 kB / 1.363 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/0.2971, allocations: 0.5339 MB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2971, allocations: 192 / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.2971, allocations: 19.94 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2972, allocations: 12 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.2979, allocations: 447.6 kB / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.2998, allocations: 1.257 MB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.3005, allocations: 378.2 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.3008, allocations: 168.6 kB / 1.366 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.3008, allocations: 8 kB / 1.366 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.3013, allocations: 306.9 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=36): time 1.493e-06/0.3013, allocations: 3.938 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=36): time 0.001118/0.3024, allocations: 0.5961 MB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3025, allocations: 67.34 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.3028, allocations: 321.7 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.3028, allocations: 45.69 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.303, allocations: 233.5 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.377e-05/0.3031, allocations: 87.31 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.3033, allocations: 137.6 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3034, allocations: 346.8 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.3039, allocations: 276.2 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.3045, allocations: 362.4 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.3052, allocations: 452.9 kB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3052, allocations: 8 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001154/0.3063, allocations: 0.7165 MB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.3064, allocations: 63.39 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3064, allocations: 0 / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3064, allocations: 4 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.3066, allocations: 47.89 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3066, allocations: 16.05 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.307, allocations: 95.77 kB / 1.37 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-05/0.3071, allocations: 23.98 kB / 1.37 GB, free: 7.828 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: 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.0002874/0.3074, allocations: 260.8 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.3074, allocations: 31.77 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.417e-05/0.3075, allocations: 38.95 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3075, allocations: 4 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3075, allocations: 0 / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3075, allocations: 4 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.309, allocations: 1.037 MB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.309, allocations: 0 / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.3092, allocations: 39.88 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3092, allocations: 4 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.3092, allocations: 12 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3092, allocations: 3.938 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3092, allocations: 0 / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.3104, allocations: 0.7534 MB / 1.372 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.3104, allocations: 23.84 kB / 1.372 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.3104, allocations: 15.94 kB / 1.372 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.3106, allocations: 31.89 kB / 1.372 GB, free: 5.488 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3107, allocations: 55.98 kB / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.3108, allocations: 15.98 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001916/0.3109, allocations: 201.2 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3109, allocations: 0 / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000369/0.3113, allocations: 135.5 kB / 1.372 GB, free: 5.09 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.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.0001589/0.3115, allocations: 125.8 kB / 1.372 GB, free: 4.961 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.3125, allocations: 0.6281 MB / 1.373 GB, free: 4.309 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3125, allocations: 0 / 1.373 GB, free: 4.309 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.3129, allocations: 211.8 kB / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.3135, allocations: 141.2 kB / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3148, allocations: 0.915 MB / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.3153, allocations: 0.8774 MB / 1.375 GB, free: 2.113 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.3154, allocations: 39.42 kB / 1.375 GB, free: 2.074 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.3154, allocations: 0 / 1.375 GB, free: 2.074 MB / 1.061 GB Notification: Performance of Templates: time 0.008979/0.3244, allocations: 6.576 MB / 1.381 GB, free: 11.55 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: 10.93187974000466]