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.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.001461/0.001461, allocations: 114.8 kB / 18.89 MB, free: 2.898 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: 193.3 kB / 22.17 MB, free: 5.211 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.317/1.317, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 497.2 MB / 0.7845 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 66.2 kB / 1.139 GB, free: 33.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3102, allocations: 173.9 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003606/0.3138, allocations: 1.979 MB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.3169, allocations: 1.992 MB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.3171, allocations: 23.88 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.3175, allocations: 139 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.3176, allocations: 39.59 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009317/0.3185, allocations: 378.7 kB / 1.314 GB, free: 11.42 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008425/0.3194, allocations: 0.7775 MB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.3198, allocations: 255.8 kB / 1.315 GB, free: 10.38 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.3201, allocations: 267.2 kB / 1.315 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.3204, allocations: 259 kB / 1.315 GB, free: 9.867 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.329e-05/0.3205, allocations: 67.94 kB / 1.315 GB, free: 9.801 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.3207, allocations: 79.92 kB / 1.315 GB, free: 9.723 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.3208, allocations: 135.6 kB / 1.315 GB, free: 9.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.3211, allocations: 278.7 kB / 1.316 GB, free: 9.316 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000877/0.322, allocations: 0.8329 MB / 1.317 GB, free: 8.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.322, allocations: 0 / 1.317 GB, free: 8.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.322, allocations: 4 kB / 1.317 GB, free: 8.477 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.322, allocations: 0 / 1.317 GB, free: 8.477 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.00154/0.3236, allocations: 0.9044 MB / 1.317 GB, free: 7.508 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3236, allocations: 12.62 kB / 1.317 GB, free: 7.496 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.3237, allocations: 68.55 kB / 1.317 GB, free: 7.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.3246, allocations: 484.2 kB / 1.318 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/0.3247, allocations: 45.36 kB / 1.318 GB, free: 6.871 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3248, allocations: 48.38 kB / 1.318 GB, free: 6.824 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.3257, allocations: 0.5534 MB / 1.319 GB, free: 6.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3257, allocations: 192 / 1.319 GB, free: 6.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/0.3258, allocations: 19.94 kB / 1.319 GB, free: 6.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.3258, allocations: 8 kB / 1.319 GB, free: 6.242 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.3266, allocations: 463.6 kB / 1.319 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.3285, allocations: 1.282 MB / 1.32 GB, free: 4.457 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/0.3293, allocations: 402.1 kB / 1.321 GB, free: 4.055 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.3296, allocations: 180.6 kB / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3296, allocations: 4 kB / 1.321 GB, free: 3.871 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.3301, allocations: 328.3 kB / 1.321 GB, free: 3.539 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 1.734e-06/0.3301, allocations: 0 / 1.321 GB, free: 3.539 MB / 1.014 GB Notification: Performance of matching and sorting (n=36): time 0.001223/0.3313, allocations: 0.6417 MB / 1.322 GB, free: 2.891 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.3314, allocations: 59.41 kB / 1.322 GB, free: 2.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.3318, allocations: 330.4 kB / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.3318, allocations: 41.69 kB / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.332, allocations: 233.4 kB / 1.322 GB, free: 2.207 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.674e-05/0.3321, allocations: 91.38 kB / 1.323 GB, free: 2.117 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.3323, allocations: 126 kB / 1.323 GB, free: 1.984 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3325, allocations: 346.8 kB / 1.323 GB, free: 1.637 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.3329, allocations: 264.1 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.3335, allocations: 344.1 kB / 1.324 GB, free: 1.016 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007149/0.3342, allocations: 444.9 kB / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3342, allocations: 0 / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001192/0.3354, allocations: 0.6929 MB / 1.325 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/0.3355, allocations: 71.33 kB / 1.325 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3355, allocations: 8 kB / 1.325 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3355, allocations: 0 / 1.325 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.3357, allocations: 43.89 kB / 1.325 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3357, allocations: 4.125 kB / 1.325 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.3362, allocations: 111.7 kB / 1.325 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.3362, allocations: 23.98 kB / 1.325 GB, free: 15.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.0003117/0.3365, allocations: 252.2 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.3366, allocations: 35.8 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.914e-05/0.3366, allocations: 38.91 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.3367, allocations: 7.984 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3367, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.3367, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.3384, allocations: 1.088 MB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.3384, allocations: 4 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.3385, allocations: 39.89 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3385, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.3386, allocations: 11.98 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.3386, allocations: 7.938 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3386, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.3399, allocations: 0.7827 MB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.629e-05/0.3399, allocations: 108.8 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.34, allocations: 12 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3402, allocations: 39.83 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3403, allocations: 51.92 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.3403, allocations: 12 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002146/0.3405, allocations: 213.9 kB / 1.328 GB, free: 12.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 1.328 GB, free: 12.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003997/0.3409, allocations: 123.7 kB / 1.328 GB, free: 12.66 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.0002065/0.3411, allocations: 129.8 kB / 1.328 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.3422, allocations: 0.623 MB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3422, allocations: 0 / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.3426, allocations: 215.7 kB / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.3432, allocations: 140.6 kB / 1.329 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.3447, allocations: 0.9142 MB / 1.33 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.3453, allocations: 0.8891 MB / 1.33 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000188/0.3454, allocations: 83.22 kB / 1.331 GB, free: 9.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.3455, allocations: 35.36 kB / 1.331 GB, free: 9.555 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3455, allocations: 0 / 1.331 GB, free: 9.555 MB / 1.029 GB Notification: Performance of Templates: time 0.01182/0.3573, allocations: 6.537 MB / 1.337 GB, free: 3.133 MB / 1.029 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 -s gbode -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_2/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: 8.002502765040845]