Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001726/0.001726, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.00209/0.00209, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7707 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002128/0.002128, allocations: 66.72 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.426, allocations: 170 MB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006036/0.432, allocations: 3.856 MB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009764/0.4418, allocations: 6.425 MB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004785/0.4423, allocations: 39.81 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005503/0.4478, allocations: 2.005 MB / 1.296 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.4492, allocations: 0.5676 MB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.522e-05/0.4492, allocations: 8 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03792/0.4871, allocations: 23.76 MB / 1.32 GB, free: 6.477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.4875, allocations: 38.62 kB / 1.32 GB, free: 6.426 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.4892, allocations: 0.5914 MB / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.4902, allocations: 0.6493 MB / 1.321 GB, free: 5.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.4903, allocations: 28 kB / 1.321 GB, free: 5.152 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.4905, allocations: 28 kB / 1.321 GB, free: 5.125 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000707/0.4912, allocations: 0.7553 MB / 1.322 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008861/0.4921, allocations: 0.8271 MB / 1.322 GB, free: 3.535 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.4945, allocations: 2.116 MB / 1.325 GB, free: 1.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.4945, allocations: 0 / 1.325 GB, free: 1.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4945, allocations: 0 / 1.325 GB, free: 1.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.676e-05/0.4945, allocations: 4 kB / 1.325 GB, free: 1.406 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.003741/0.4983, allocations: 2.179 MB / 1.327 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4983, allocations: 12.03 kB / 1.327 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/0.4986, allocations: 289.8 kB / 1.327 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/0.5026, allocations: 2.403 MB / 1.329 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.746e-05/0.5027, allocations: 150.6 kB / 1.329 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.5028, allocations: 150.6 kB / 1.33 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.825e-05/0.5028, allocations: 108.9 kB / 1.33 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/0.5029, allocations: 75.28 kB / 1.33 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.503, allocations: 158.6 kB / 1.33 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.707e-05/0.503, allocations: 154.5 kB / 1.33 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.103e-05/0.5031, allocations: 154.5 kB / 1.33 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.5045, allocations: 1.111 MB / 1.331 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.5046, allocations: 173.1 kB / 1.331 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.5047, allocations: 88.14 kB / 1.332 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.5047, allocations: 75.28 kB / 1.332 GB, free: 9.969 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.601e-05/0.5048, allocations: 109.8 kB / 1.332 GB, free: 9.852 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.462e-06/0.5048, allocations: 0 / 1.332 GB, free: 9.852 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0003242/0.5051, allocations: 248.2 kB / 1.332 GB, free: 9.605 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.5052, allocations: 130.6 kB / 1.332 GB, free: 9.465 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004001/0.5092, allocations: 2.852 MB / 1.335 GB, free: 6.602 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.5092, allocations: 29.64 kB / 1.335 GB, free: 6.566 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009656/0.5102, allocations: 0.9028 MB / 1.336 GB, free: 5.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-06/0.5102, allocations: 4 kB / 1.336 GB, free: 5.656 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.5102, allocations: 9.719 kB / 1.336 GB, free: 5.641 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5104, allocations: 314 kB / 1.336 GB, free: 5.328 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-06/0.5104, allocations: 0 / 1.336 GB, free: 5.328 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.5104, allocations: 0 / 1.336 GB, free: 5.328 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.5104, allocations: 75.28 kB / 1.336 GB, free: 5.254 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.137e-05/0.5105, allocations: 75.28 kB / 1.336 GB, free: 5.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000313/0.5108, allocations: 240.2 kB / 1.336 GB, free: 4.938 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.5108, allocations: 91.22 kB / 1.337 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-05/0.5109, allocations: 79.22 kB / 1.337 GB, free: 4.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.943e-05/0.511, allocations: 150.6 kB / 1.337 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.511, allocations: 83.2 kB / 1.337 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.429e-05/0.5111, allocations: 158.5 kB / 1.337 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.5117, allocations: 91.27 kB / 1.337 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.5118, allocations: 87.2 kB / 1.337 GB, free: 4.207 MB / 1.029 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.00105/0.5128, allocations: 0.945 MB / 1.338 GB, free: 3.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.5131, allocations: 315.5 kB / 1.338 GB, free: 2.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.5135, allocations: 337.1 kB / 1.339 GB, free: 2.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/0.5136, allocations: 192.2 kB / 1.339 GB, free: 2.395 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/0.5137, allocations: 176.3 kB / 1.339 GB, free: 2.215 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.618e-05/0.5138, allocations: 184.2 kB / 1.339 GB, free: 2.027 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.515, allocations: 1.056 MB / 1.34 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.851e-05/0.5151, allocations: 104.9 kB / 1.34 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.5151, allocations: 105 kB / 1.34 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.732e-05/0.5152, allocations: 184.3 kB / 1.341 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.033e-05/0.5153, allocations: 180.2 kB / 1.341 GB, free: 340 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-05/0.5154, allocations: 180.2 kB / 1.341 GB, free: 152 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.901e-05/0.5155, allocations: 184.3 kB / 1.341 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.5159, allocations: 0.5185 MB / 1.342 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.5163, allocations: 299.5 kB / 1.342 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.5166, allocations: 184.6 kB / 1.342 GB, free: 14.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.5171, allocations: 120.8 kB / 1.342 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5172, allocations: 188.3 kB / 1.342 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/0.5172, allocations: 105 kB / 1.343 GB, free: 14.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003094/0.5203, allocations: 2.087 MB / 1.345 GB, free: 12.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.5203, allocations: 0 / 1.345 GB, free: 12.41 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005242/0.5208, allocations: 176 kB / 1.345 GB, free: 12.23 MB / 1.045 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.0001718/0.521, allocations: 178.5 kB / 1.345 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.701e-05/0.5211, allocations: 8.062 kB / 1.345 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5211, allocations: 0 / 1.345 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.5211, allocations: 4 kB / 1.345 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005982/0.5271, allocations: 2.355 MB / 1.347 GB, free: 9.738 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.5323, allocations: 3.526 MB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.5339, allocations: 1.712 MB / 1.352 GB, free: 4.426 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001735/0.5357, allocations: 447.3 kB / 1.353 GB, free: 3.988 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.5358, allocations: 115.4 kB / 1.353 GB, free: 3.875 MB / 1.045 GB Notification: Performance of SimCode: time 2.344e-06/0.5358, allocations: 0 / 1.353 GB, free: 3.875 MB / 1.045 GB Notification: Performance of Templates: time 0.08732/0.6232, allocations: 49.84 MB / 1.402 GB, free: 3.086 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.842987311072648]