Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.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.001476/0.001476, 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.001546/0.001546, allocations: 199 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.378/1.378, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] 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 3.047/3.047, allocations: 497.2 MB / 0.7845 GB, free: 33.62 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.DisableDedicated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y|y1EquLea.y|y1EquLea_actual.y|y1ReqEquLea.y|enaDed.y1|enaDedReq.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated") translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y|y1EquLea.y|y1EquLea_actual.y|y1ReqEquLea.y|enaDed.y1|enaDedReq.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 65.88 kB / 1.139 GB, free: 33.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3139, allocations: 173.9 MB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002382/0.3163, allocations: 1.113 MB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.3183, allocations: 1.544 MB / 1.312 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.3184, allocations: 4 kB / 1.312 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.3185, allocations: 35.53 kB / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.968e-05/0.3186, allocations: 39.59 kB / 1.312 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.3197, allocations: 0.4938 MB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005676/0.3203, allocations: 0.5655 MB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.3205, allocations: 108.6 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.3207, allocations: 215.5 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.321, allocations: 219.2 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.3211, allocations: 60 kB / 1.314 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3212, allocations: 71.98 kB / 1.314 GB, free: 11.51 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.3213, allocations: 75.8 kB / 1.314 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.3215, allocations: 211.2 kB / 1.314 GB, free: 11.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005847/0.3221, allocations: 0.58 MB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3221, allocations: 0 / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3221, allocations: 0 / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3221, allocations: 4 kB / 1.314 GB, free: 10.64 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001021/0.3231, allocations: 0.7141 MB / 1.315 GB, free: 9.852 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3231, allocations: 8.625 kB / 1.315 GB, free: 9.844 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.3233, allocations: 44.78 kB / 1.315 GB, free: 9.801 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.3237, allocations: 300.4 kB / 1.315 GB, free: 9.469 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.3237, allocations: 32.88 kB / 1.316 GB, free: 9.434 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.339e-05/0.3238, allocations: 48.36 kB / 1.316 GB, free: 9.387 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.3242, allocations: 253.3 kB / 1.316 GB, free: 9.133 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3242, allocations: 8.188 kB / 1.316 GB, free: 9.125 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.3242, allocations: 11.92 kB / 1.316 GB, free: 9.113 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3243, allocations: 11.94 kB / 1.316 GB, free: 9.102 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.3245, allocations: 162.2 kB / 1.316 GB, free: 8.945 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.3259, allocations: 0.923 MB / 1.317 GB, free: 7.965 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.3264, allocations: 194.7 kB / 1.317 GB, free: 7.766 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.3266, allocations: 72.81 kB / 1.317 GB, free: 7.691 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3266, allocations: 3.938 kB / 1.317 GB, free: 7.688 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.327, allocations: 257.3 kB / 1.317 GB, free: 7.422 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.327, allocations: 0 / 1.317 GB, free: 7.422 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.0007612/0.3277, allocations: 438.9 kB / 1.318 GB, free: 6.988 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.3278, allocations: 59.41 kB / 1.318 GB, free: 6.918 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.328, allocations: 210.5 kB / 1.318 GB, free: 6.699 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.59e-05/0.3281, allocations: 45.7 kB / 1.318 GB, free: 6.648 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.3282, allocations: 156.8 kB / 1.318 GB, free: 6.492 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.3283, allocations: 79.42 kB / 1.318 GB, free: 6.414 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.3285, allocations: 138 kB / 1.318 GB, free: 6.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3286, allocations: 334.8 kB / 1.319 GB, free: 5.934 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.329, allocations: 164.7 kB / 1.319 GB, free: 5.773 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.3294, allocations: 257.6 kB / 1.319 GB, free: 5.488 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.3299, allocations: 414.3 kB / 1.32 GB, free: 5.027 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3299, allocations: 0 / 1.32 GB, free: 5.027 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001052/0.3309, allocations: 0.6444 MB / 1.32 GB, free: 4.352 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/0.331, allocations: 130.8 kB / 1.32 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.331, allocations: 4 kB / 1.32 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3311, allocations: 4 kB / 1.32 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.3311, allocations: 27.86 kB / 1.32 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.3312, allocations: 4 kB / 1.32 GB, free: 4.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.3318, allocations: 127.7 kB / 1.32 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.3319, allocations: 31.98 kB / 1.321 GB, free: 4.004 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition14,$whenCondition15,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaDedReq.ini.y,enaDedReq.lat.y,enaDed.ini.y,enaDed.lat.y,y1.y,$PRE.y1.y,$whenCondition10,$whenCondition11,$whenCondition13,y1EquLea.y,$PRE.y1EquLea.y,y1ReqEquLea.y,$PRE.y1ReqEquLea.y,enaDedReq.edg.y,enaDedReq.edg.u,$PRE.enaDedReq.edg.u,enaDedReq.timOff.passed,$PRE.enaDedReq.timOff.passed,enaDedReq.offOrNotReq.y,enaDed.edg.y,enaDed.edg.u,$PRE.enaDed.edg.u,enaDed.timOff.passed,$PRE.enaDed.timOff.passed,y1EquLea_actual.y,$PRE.y1EquLea_actual.y,enaDedReq.timOff.entryTime,$PRE.enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,$PRE.enaDed.timOff.entryTime,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition12,enaDed.fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002003/0.3321, allocations: 170.8 kB / 1.321 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.3321, allocations: 31.8 kB / 1.321 GB, free: 3.801 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.3322, allocations: 26.64 kB / 1.321 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3322, allocations: 4 kB / 1.321 GB, free: 3.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3322, allocations: 0 / 1.321 GB, free: 3.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3322, allocations: 3.938 kB / 1.321 GB, free: 3.766 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000999/0.3332, allocations: 0.7681 MB / 1.321 GB, free: 2.941 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3332, allocations: 3.938 kB / 1.322 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.3332, allocations: 7.984 kB / 1.322 GB, free: 2.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3332, allocations: 4 kB / 1.322 GB, free: 2.926 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3332, allocations: 15.92 kB / 1.322 GB, free: 2.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3332, allocations: 7.984 kB / 1.322 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3332, allocations: 0 / 1.322 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.3338, allocations: 437.7 kB / 1.322 GB, free: 2.461 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.3339, allocations: 108.8 kB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.3339, allocations: 16 kB / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.334, allocations: 7.984 kB / 1.322 GB, free: 2.312 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.3341, allocations: 35.95 kB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.3341, allocations: 23.98 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001024/0.3342, allocations: 135.2 kB / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3342, allocations: 0 / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003787/0.3346, allocations: 103.8 kB / 1.322 GB, free: 2.02 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (enaDed.ini.y,enaDedReq.ini.y,$whenCondition14,$whenCondition15,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1.y,enaDed.lat.y,enaDed.timOff.passed,enaDed.timOff.entryTime,enaDed.edg.u,enaDed.edg.y,enaDedReq.lat.y,enaDedReq.offOrNotReq.y,enaDedReq.timOff.passed,enaDedReq.timOff.entryTime,enaDedReq.edg.u,enaDedReq.edg.y,y1ReqEquLea.y,y1EquLea.y,y1EquLea_actual.y) * Number of discrete states: 4 (enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,enaDedReq.edg.u,enaDed.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001884/0.3348, allocations: 125.4 kB / 1.322 GB, free: 1.891 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008411/0.3357, allocations: 0.5753 MB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3357, allocations: 0 / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.3359, allocations: 119.8 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3362, allocations: 43.95 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008242/0.3371, allocations: 490.9 kB / 1.324 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.3375, allocations: 0.7564 MB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.889e-05/0.3376, allocations: 34.27 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.3376, allocations: 27.44 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3376, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Templates: time 0.00902/0.3466, allocations: 4.981 MB / 1.329 GB, free: 10.82 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.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.305936220102012]