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.001599/0.001599, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001788/0.001788, allocations: 209.1 kB / 22.99 MB, free: 4.957 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.231/3.231, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002105/0.002105, allocations: 67.66 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3355, allocations: 176.1 MB / 1.327 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005442/0.341, allocations: 3.491 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00909/0.35, allocations: 5.935 MB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.3503, allocations: 35.81 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004816/0.3551, allocations: 1.941 MB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3563, allocations: 0.6144 MB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 2.61e-05/0.3563, allocations: 4 kB / 1.339 GB, free: 5.008 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.03237/0.3887, allocations: 22.5 MB / 1.361 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.3889, allocations: 46.59 kB / 1.361 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.3899, allocations: 0.568 MB / 1.361 GB, free: 13.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008136/0.3907, allocations: 0.6532 MB / 1.362 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.3908, allocations: 28 kB / 1.362 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.391, allocations: 35.94 kB / 1.362 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006748/0.3917, allocations: 0.7553 MB / 1.363 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006598/0.3923, allocations: 0.6095 MB / 1.363 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.3945, allocations: 2.147 MB / 1.366 GB, free: 9.605 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3945, allocations: 0 / 1.366 GB, free: 9.605 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3945, allocations: 0 / 1.366 GB, free: 9.605 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.3945, allocations: 0 / 1.366 GB, free: 9.605 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.003596/0.3981, allocations: 2.194 MB / 1.368 GB, free: 7.367 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3982, allocations: 12.03 kB / 1.368 GB, free: 7.355 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.3985, allocations: 289.8 kB / 1.368 GB, free: 7.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.4025, allocations: 2.411 MB / 1.37 GB, free: 4.582 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.4026, allocations: 154.6 kB / 1.37 GB, free: 4.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.4027, allocations: 158.6 kB / 1.371 GB, free: 4.273 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.744e-05/0.4027, allocations: 104.9 kB / 1.371 GB, free: 4.164 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.706e-05/0.4028, allocations: 75.28 kB / 1.371 GB, free: 4.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.4028, allocations: 154.6 kB / 1.371 GB, free: 3.938 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.659e-05/0.4029, allocations: 154.5 kB / 1.371 GB, free: 3.785 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.772e-05/0.403, allocations: 154.6 kB / 1.371 GB, free: 3.633 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.4042, allocations: 1.053 MB / 1.372 GB, free: 2.551 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.4043, allocations: 173.1 kB / 1.372 GB, free: 2.371 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.4043, allocations: 80.14 kB / 1.372 GB, free: 2.289 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.4044, allocations: 75.28 kB / 1.373 GB, free: 2.215 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/0.4044, allocations: 109.8 kB / 1.373 GB, free: 2.098 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.4044, allocations: 0 / 1.373 GB, free: 2.098 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0002848/0.4047, allocations: 248.2 kB / 1.373 GB, free: 1.848 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.4048, allocations: 130.6 kB / 1.373 GB, free: 1.707 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.4087, allocations: 2.859 MB / 1.376 GB, free: 14.83 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4087, allocations: 29.64 kB / 1.376 GB, free: 14.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000995/0.4097, allocations: 0.9067 MB / 1.377 GB, free: 13.89 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.4097, allocations: 0 / 1.377 GB, free: 13.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.4097, allocations: 9.719 kB / 1.377 GB, free: 13.87 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4099, allocations: 310 kB / 1.377 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-06/0.4099, allocations: 0 / 1.377 GB, free: 13.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-06/0.4099, allocations: 0 / 1.377 GB, free: 13.56 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.4099, allocations: 75.28 kB / 1.377 GB, free: 13.49 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.719e-05/0.41, allocations: 79.28 kB / 1.377 GB, free: 13.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002743/0.4102, allocations: 240.2 kB / 1.377 GB, free: 13.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.606e-05/0.4103, allocations: 83.28 kB / 1.377 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/0.4103, allocations: 79.22 kB / 1.378 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.249e-05/0.4104, allocations: 150.6 kB / 1.378 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/0.4105, allocations: 87.2 kB / 1.378 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.532e-05/0.4105, allocations: 158.5 kB / 1.378 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.4111, allocations: 91.25 kB / 1.378 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.479e-05/0.4111, allocations: 83.22 kB / 1.378 GB, free: 12.45 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.0009888/0.4121, allocations: 0.9456 MB / 1.379 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.4124, allocations: 315.5 kB / 1.379 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.4127, allocations: 345.2 kB / 1.38 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-05/0.4128, allocations: 180.3 kB / 1.38 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.023e-05/0.4129, allocations: 184.2 kB / 1.38 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.503e-05/0.413, allocations: 184.1 kB / 1.38 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.4141, allocations: 0.9936 MB / 1.381 GB, free: 9.234 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.668e-05/0.4142, allocations: 108.9 kB / 1.381 GB, free: 9.121 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.4142, allocations: 101 kB / 1.381 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.883e-05/0.4143, allocations: 184.2 kB / 1.382 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.181e-05/0.4144, allocations: 188.2 kB / 1.382 GB, free: 8.637 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-05/0.4145, allocations: 176.3 kB / 1.382 GB, free: 8.457 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.354e-05/0.4145, allocations: 180.2 kB / 1.382 GB, free: 8.273 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.4149, allocations: 0.5188 MB / 1.383 GB, free: 7.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/0.4154, allocations: 299.5 kB / 1.383 GB, free: 7.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/0.4156, allocations: 184.3 kB / 1.383 GB, free: 7.242 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/0.4162, allocations: 120.9 kB / 1.383 GB, free: 7.117 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4163, allocations: 188.2 kB / 1.383 GB, free: 6.926 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.4163, allocations: 113 kB / 1.383 GB, free: 6.809 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003029/0.4194, allocations: 2.094 MB / 1.385 GB, free: 4.707 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4194, allocations: 0 / 1.385 GB, free: 4.707 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005274/0.4199, allocations: 176 kB / 1.386 GB, free: 4.535 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.0001561/0.42, allocations: 178.5 kB / 1.386 GB, free: 4.352 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.49e-05/0.4201, allocations: 4 kB / 1.386 GB, free: 4.348 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4201, allocations: 0 / 1.386 GB, free: 4.348 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.4201, allocations: 4 kB / 1.386 GB, free: 4.344 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005581/0.4257, allocations: 2.348 MB / 1.388 GB, free: 2.047 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.4303, allocations: 3.522 MB / 1.392 GB, free: 14.49 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.4317, allocations: 1.132 MB / 1.393 GB, free: 13.32 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001442/0.4331, allocations: 439.5 kB / 1.393 GB, free: 12.89 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.4333, allocations: 111.4 kB / 1.393 GB, free: 12.78 MB / 1.092 GB Notification: Performance of SimCode: time 1.393e-06/0.4333, allocations: 0 / 1.393 GB, free: 12.78 MB / 1.092 GB Notification: Performance of Templates: time 0.08945/0.5227, allocations: 57.92 MB / 1.45 GB, free: 4.246 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 -s gbode -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/jenkins1/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: 10.014876714994898]