Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00184/0.00184, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002598/0.002598, allocations: 211 kB / 22.24 MB, free: 5.258 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.614/1.614, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.491/3.491, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") [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.00222/0.00222, allocations: 73.95 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3987, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006898/0.4056, allocations: 3.501 MB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.4159, allocations: 5.939 MB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007577/0.4167, allocations: 31.81 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006279/0.423, allocations: 1.922 MB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.4246, allocations: 0.6144 MB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.4247, allocations: 4 kB / 1.337 GB, free: 5.852 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.03502/0.4598, allocations: 22.41 MB / 1.359 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.46, allocations: 46.61 kB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.4611, allocations: 0.5719 MB / 1.36 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.4622, allocations: 0.6493 MB / 1.36 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.4623, allocations: 28 kB / 1.36 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.4625, allocations: 32 kB / 1.36 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006904/0.4632, allocations: 0.7592 MB / 1.361 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007356/0.4639, allocations: 0.6134 MB / 1.362 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.4664, allocations: 2.143 MB / 1.364 GB, free: 10.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4664, allocations: 0 / 1.364 GB, free: 10.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4664, allocations: 0 / 1.364 GB, free: 10.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.115e-05/0.4664, allocations: 0 / 1.364 GB, free: 10.54 MB / 1.061 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.003691/0.4701, allocations: 2.194 MB / 1.366 GB, free: 8.301 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4701, allocations: 12.03 kB / 1.366 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003151/0.4705, allocations: 289.8 kB / 1.366 GB, free: 8.004 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/0.4746, allocations: 2.415 MB / 1.369 GB, free: 5.512 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.4746, allocations: 154.6 kB / 1.369 GB, free: 5.359 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.4747, allocations: 150.6 kB / 1.369 GB, free: 5.211 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.113e-05/0.4748, allocations: 105 kB / 1.369 GB, free: 5.102 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.4748, allocations: 75.28 kB / 1.369 GB, free: 5.027 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/0.4749, allocations: 154.6 kB / 1.369 GB, free: 4.875 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.058e-05/0.475, allocations: 162.4 kB / 1.369 GB, free: 4.715 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.4751, allocations: 150.6 kB / 1.37 GB, free: 4.566 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.4764, allocations: 1.049 MB / 1.371 GB, free: 3.488 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.4765, allocations: 169.1 kB / 1.371 GB, free: 3.312 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.4766, allocations: 80.14 kB / 1.371 GB, free: 3.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.4766, allocations: 79.27 kB / 1.371 GB, free: 3.152 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/0.4767, allocations: 117.8 kB / 1.371 GB, free: 3.027 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.4767, allocations: 0 / 1.371 GB, free: 3.027 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0003275/0.477, allocations: 240.2 kB / 1.371 GB, free: 2.785 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.4771, allocations: 130.6 kB / 1.371 GB, free: 2.645 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004158/0.4812, allocations: 2.859 MB / 1.374 GB, free: 15.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.4812, allocations: 25.7 kB / 1.374 GB, free: 15.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.4822, allocations: 0.9028 MB / 1.375 GB, free: 14.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.4822, allocations: 0 / 1.375 GB, free: 14.84 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.4823, allocations: 13.66 kB / 1.375 GB, free: 14.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4824, allocations: 306 kB / 1.375 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-06/0.4824, allocations: 4 kB / 1.375 GB, free: 14.51 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-06/0.4825, allocations: 4 kB / 1.375 GB, free: 14.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.4825, allocations: 79.22 kB / 1.375 GB, free: 14.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.711e-05/0.4825, allocations: 79.28 kB / 1.376 GB, free: 14.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003364/0.4829, allocations: 240.2 kB / 1.376 GB, free: 14.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/0.4829, allocations: 87.27 kB / 1.376 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/0.483, allocations: 75.28 kB / 1.376 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-05/0.483, allocations: 154.5 kB / 1.376 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.344e-05/0.4831, allocations: 75.28 kB / 1.376 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.115e-05/0.4831, allocations: 162.4 kB / 1.376 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.4838, allocations: 91.25 kB / 1.376 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.4838, allocations: 83.28 kB / 1.376 GB, free: 13.39 MB / 1.076 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.001017/0.4848, allocations: 0.9456 MB / 1.377 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.4851, allocations: 319.5 kB / 1.378 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.4855, allocations: 341.2 kB / 1.378 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.331e-05/0.4856, allocations: 180.2 kB / 1.378 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.514e-05/0.4856, allocations: 184.2 kB / 1.378 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.165e-05/0.4857, allocations: 176.3 kB / 1.379 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.4869, allocations: 1.001 MB / 1.379 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.346e-05/0.4869, allocations: 105 kB / 1.38 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.487, allocations: 108.9 kB / 1.38 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.202e-05/0.487, allocations: 180.3 kB / 1.38 GB, free: 9.766 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.805e-05/0.4871, allocations: 176.3 kB / 1.38 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.594e-05/0.4872, allocations: 184.2 kB / 1.38 GB, free: 9.398 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.852e-05/0.4873, allocations: 180.3 kB / 1.38 GB, free: 9.215 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.4877, allocations: 0.5187 MB / 1.381 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.4881, allocations: 299.5 kB / 1.381 GB, free: 8.371 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.4884, allocations: 188.2 kB / 1.381 GB, free: 8.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.4889, allocations: 121 kB / 1.381 GB, free: 8.055 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.489, allocations: 200.2 kB / 1.382 GB, free: 7.852 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.4891, allocations: 101 kB / 1.382 GB, free: 7.746 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003181/0.4923, allocations: 2.095 MB / 1.384 GB, free: 5.645 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4923, allocations: 0 / 1.384 GB, free: 5.645 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005966/0.4929, allocations: 176 kB / 1.384 GB, free: 5.473 MB / 1.076 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 0.0001587/0.493, allocations: 174.5 kB / 1.384 GB, free: 5.293 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.924e-05/0.4931, allocations: 3.938 kB / 1.384 GB, free: 5.289 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4931, allocations: 3.938 kB / 1.384 GB, free: 5.285 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.4931, allocations: 4 kB / 1.384 GB, free: 5.281 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006215/0.4993, allocations: 2.352 MB / 1.386 GB, free: 2.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/0.5047, allocations: 3.522 MB / 1.39 GB, free: 15.42 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.5062, allocations: 1.136 MB / 1.391 GB, free: 14.25 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001742/0.5079, allocations: 431.5 kB / 1.391 GB, free: 13.82 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.5081, allocations: 111.4 kB / 1.392 GB, free: 13.71 MB / 1.092 GB Notification: Performance of SimCode: time 1.442e-06/0.5081, allocations: 0 / 1.392 GB, free: 13.71 MB / 1.092 GB Notification: Performance of Templates: time 0.09412/0.6022, allocations: 57.9 MB / 1.448 GB, free: 5.215 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.104418814182281]