Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.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.0007724/0.0007724, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007747/0.0007747, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8623/0.8623, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 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 1.755/1.755, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.088e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003307/0.003328, allocations: 3.496 MB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005903/0.009231, allocations: 6.086 MB / 1.01 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.009544, allocations: 31.81 kB / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00339/0.01293, allocations: 1.941 MB / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006325/0.01357, allocations: 0.6411 MB / 1.013 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 1.821e-05/0.01358, allocations: 4 kB / 1.013 GB, free: 0.7578 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.01743/0.03102, allocations: 22.65 MB / 1.035 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.03115, allocations: 38.62 kB / 1.035 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.03184, allocations: 0.7049 MB / 1.036 GB, free: 9.328 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.03231, allocations: 0.5956 MB / 1.036 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.03236, allocations: 28 kB / 1.036 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.03248, allocations: 32 kB / 1.036 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.03288, allocations: 0.8143 MB / 1.037 GB, free: 7.855 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.03318, allocations: 466.6 kB / 1.038 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.03452, allocations: 1.997 MB / 1.039 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.03452, allocations: 4 kB / 1.039 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.03452, allocations: 0 / 1.039 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.03454, allocations: 0 / 1.039 GB, free: 5.391 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001905/0.03645, allocations: 2.179 MB / 1.042 GB, free: 3.168 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.03648, allocations: 8.75 kB / 1.042 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.03666, allocations: 293.8 kB / 1.042 GB, free: 2.871 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.03887, allocations: 2.407 MB / 1.044 GB, free: 396 kB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.0389, allocations: 150.6 kB / 1.044 GB, free: 244 kB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.03893, allocations: 150.6 kB / 1.045 GB, free: 92 kB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4304/0.4693, allocations: 101 kB / 1.045 GB, free: 85.02 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.4693, allocations: 77.91 kB / 1.045 GB, free: 84.95 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.4694, allocations: 156.7 kB / 1.045 GB, free: 84.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.4694, allocations: 150.6 kB / 1.045 GB, free: 84.65 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.4694, allocations: 158.4 kB / 1.045 GB, free: 84.5 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.4705, allocations: 1.058 MB / 1.046 GB, free: 84.02 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.4705, allocations: 169.1 kB / 1.046 GB, free: 83.84 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.4706, allocations: 83.55 kB / 1.046 GB, free: 83.76 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.4706, allocations: 77.91 kB / 1.046 GB, free: 83.69 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.4706, allocations: 109.1 kB / 1.047 GB, free: 83.57 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 2.195e-06/0.4706, allocations: 0 / 1.047 GB, free: 83.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 0.0001569/0.4707, allocations: 242.3 kB / 1.047 GB, free: 83.54 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.4708, allocations: 131.3 kB / 1.047 GB, free: 83.41 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.4728, allocations: 2.852 MB / 1.05 GB, free: 82.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-06/0.4728, allocations: 26.58 kB / 1.05 GB, free: 82.47 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.4732, allocations: 0.9077 MB / 1.051 GB, free: 81.76 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.4732, allocations: 1.5 kB / 1.051 GB, free: 81.76 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.4732, allocations: 14.66 kB / 1.051 GB, free: 81.75 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.82e-05/0.4733, allocations: 309 kB / 1.051 GB, free: 81.44 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-06/0.4733, allocations: 0 / 1.051 GB, free: 81.44 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-06/0.4733, allocations: 0.5625 kB / 1.051 GB, free: 81.44 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.108e-05/0.4733, allocations: 75.28 kB / 1.051 GB, free: 81.37 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.4733, allocations: 78.72 kB / 1.051 GB, free: 81.29 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001196/0.4734, allocations: 243.9 kB / 1.051 GB, free: 81.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4734, allocations: 82.19 kB / 1.051 GB, free: 81.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.4734, allocations: 78.28 kB / 1.051 GB, free: 81.03 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4735, allocations: 157.5 kB / 1.052 GB, free: 80.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-06/0.4735, allocations: 85.44 kB / 1.052 GB, free: 80.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.4735, allocations: 158.1 kB / 1.052 GB, free: 80.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.4738, allocations: 89.27 kB / 1.052 GB, free: 80.58 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4738, allocations: 81.91 kB / 1.052 GB, free: 80.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0004447/0.4742, allocations: 0.946 MB / 1.053 GB, free: 80.03 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.4743, allocations: 320.2 kB / 1.053 GB, free: 79.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.4745, allocations: 343.4 kB / 1.054 GB, free: 79.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4745, allocations: 179.1 kB / 1.054 GB, free: 79.44 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.4745, allocations: 181.8 kB / 1.054 GB, free: 79.25 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.4745, allocations: 183.1 kB / 1.054 GB, free: 79.07 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.475, allocations: 0.9959 MB / 1.055 GB, free: 78.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.4751, allocations: 108.2 kB / 1.055 GB, free: 78.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-06/0.4751, allocations: 104.8 kB / 1.055 GB, free: 78.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/0.4751, allocations: 180.2 kB / 1.055 GB, free: 78.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4751, allocations: 189.1 kB / 1.056 GB, free: 77.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/0.4751, allocations: 176.3 kB / 1.056 GB, free: 77.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/0.4751, allocations: 187.6 kB / 1.056 GB, free: 77.55 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.4752, allocations: 0.5119 MB / 1.056 GB, free: 77.11 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.4754, allocations: 301.7 kB / 1.057 GB, free: 76.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.4755, allocations: 183.1 kB / 1.057 GB, free: 76.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.4758, allocations: 130.7 kB / 1.057 GB, free: 76.57 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.4758, allocations: 176.3 kB / 1.057 GB, free: 76.39 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4758, allocations: 107.7 kB / 1.057 GB, free: 76.28 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001441/0.4772, allocations: 2.092 MB / 1.059 GB, free: 75.59 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.4772, allocations: 0 / 1.059 GB, free: 75.59 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003047/0.4775, allocations: 177.8 kB / 1.06 GB, free: 75.59 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.918e-05/0.4776, allocations: 170.4 kB / 1.06 GB, free: 75.43 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 4.435e-05/0.4777, allocations: 3.625 kB / 1.06 GB, free: 75.43 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4777, allocations: 3.094 kB / 1.06 GB, free: 75.43 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.4777, allocations: 0 / 1.06 GB, free: 75.43 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.4805, allocations: 2.345 MB / 1.062 GB, free: 74.58 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.4829, allocations: 3.69 MB / 1.066 GB, free: 72.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.4836, allocations: 1.121 MB / 1.067 GB, free: 72.62 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.4837, allocations: 114 kB / 1.067 GB, free: 72.61 MB / 0.9948 GB Notification: Performance of SimCode: time 8.32e-07/0.4837, allocations: 3.969 kB / 1.067 GB, free: 72.61 MB / 0.9948 GB Notification: Performance of Templates: time 0.0528/0.5365, allocations: 41.01 MB / 1.107 GB, free: 64.96 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.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: 18.44664095994085]