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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 198.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.736/2.736, allocations: 482.4 MB / 0.755 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.94 kB / 0.924 GB, free: 304 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7527, allocations: 162.2 MB / 1.082 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002277/0.7551, allocations: 1.149 MB / 1.084 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.757, allocations: 1.518 MB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.7571, allocations: 4.312 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.7573, allocations: 25.75 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.7574, allocations: 28.06 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.7586, allocations: 464.7 kB / 1.086 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007028/0.7593, allocations: 0.5746 MB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.7596, allocations: 140.4 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.7599, allocations: 222.5 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.7602, allocations: 194.7 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/0.7603, allocations: 60.8 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.7604, allocations: 72.17 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/0.7605, allocations: 80.48 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.7608, allocations: 225.7 kB / 1.087 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.7613, allocations: 430.3 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7613, allocations: 0 / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7613, allocations: 1.156 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7614, allocations: 0 / 1.087 GB, free: 14.65 MB / 0.8419 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.001076/0.7624, allocations: 0.7124 MB / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.7625, allocations: 9.031 kB / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.7626, allocations: 43.78 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.763, allocations: 295.8 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.7631, allocations: 33.33 kB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/0.7632, allocations: 46.39 kB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.7636, allocations: 250.1 kB / 1.089 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7636, allocations: 4.125 kB / 1.089 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.7637, allocations: 17.12 kB / 1.089 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.7637, allocations: 5.281 kB / 1.089 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.764, allocations: 169.8 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.7656, allocations: 0.9226 MB / 1.09 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/0.766, allocations: 226.4 kB / 1.09 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.7662, allocations: 85.16 kB / 1.09 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.7662, allocations: 3.109 kB / 1.09 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/0.7667, allocations: 257.3 kB / 1.09 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.7667, allocations: 4 kB / 1.09 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008251/0.7675, allocations: 431.8 kB / 1.091 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.7676, allocations: 66.33 kB / 1.091 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.7678, allocations: 205.5 kB / 1.091 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/0.7679, allocations: 49.53 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.768, allocations: 150 kB / 1.091 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.7681, allocations: 80.17 kB / 1.091 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.7684, allocations: 130.9 kB / 1.091 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.7685, allocations: 340.5 kB / 1.092 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.7689, allocations: 165.6 kB / 1.092 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.7693, allocations: 258.8 kB / 1.092 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.7699, allocations: 423.4 kB / 1.093 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7699, allocations: 1.75 kB / 1.093 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001124/0.771, allocations: 0.6198 MB / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.7712, allocations: 132 kB / 1.093 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.7712, allocations: 2.688 kB / 1.093 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.7712, allocations: 8.438 kB / 1.093 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.7713, allocations: 28.69 kB / 1.093 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.7713, allocations: 8.75 kB / 1.093 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/0.7721, allocations: 137 kB / 1.094 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.7722, allocations: 31.23 kB / 1.094 GB, free: 10.72 MB / 0.8419 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.0002404/0.7724, allocations: 170.9 kB / 1.094 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.7725, allocations: 25.39 kB / 1.094 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.7725, allocations: 23.89 kB / 1.094 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7725, allocations: 3.344 kB / 1.094 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.7726, allocations: 5.203 kB / 1.094 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.7726, allocations: 5.844 kB / 1.094 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.7737, allocations: 0.7752 MB / 1.095 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7737, allocations: 0 / 1.095 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.7738, allocations: 12.36 kB / 1.095 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7738, allocations: 2.094 kB / 1.095 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.7738, allocations: 14.8 kB / 1.095 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.7738, allocations: 3.297 kB / 1.095 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7738, allocations: 4 kB / 1.095 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.7744, allocations: 438 kB / 1.095 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.7745, allocations: 99.52 kB / 1.095 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.7746, allocations: 11 kB / 1.095 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.7747, allocations: 13.09 kB / 1.095 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.7748, allocations: 34.61 kB / 1.095 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.7748, allocations: 19.3 kB / 1.095 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001199/0.775, allocations: 141.1 kB / 1.095 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.775, allocations: 0 / 1.095 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004261/0.7754, allocations: 103.2 kB / 1.095 GB, free: 9.555 MB / 0.8419 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.0001964/0.7756, allocations: 127.1 kB / 1.096 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009845/0.7766, allocations: 0.6385 MB / 1.096 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7766, allocations: 0 / 1.096 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.7769, allocations: 160.5 kB / 1.096 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.7773, allocations: 46.67 kB / 1.096 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.7782, allocations: 0.5781 MB / 1.097 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.7786, allocations: 0.7589 MB / 1.098 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.7787, allocations: 35.27 kB / 1.098 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.7787, allocations: 0 / 1.098 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of Templates: time 0.007894/0.7866, allocations: 4.14 MB / 1.102 GB, free: 7.395 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches