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.001631/0.001631, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001829/0.001829, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.302/3.302, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002203/0.002203, allocations: 74.72 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.41, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005262/0.4153, allocations: 3.496 MB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009389/0.4247, allocations: 6.094 MB / 1.374 GB, free: 3.977 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.425, allocations: 31.81 kB / 1.374 GB, free: 3.945 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004897/0.4299, allocations: 1.922 MB / 1.376 GB, free: 2.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.431, allocations: 0.6261 MB / 1.376 GB, free: 1.391 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.829e-05/0.431, allocations: 4 kB / 1.376 GB, free: 1.387 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.03199/0.463, allocations: 22.41 MB / 1.398 GB, free: 10.95 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.4633, allocations: 42.62 kB / 1.398 GB, free: 10.89 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.4643, allocations: 0.5679 MB / 1.399 GB, free: 10.32 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008977/0.4652, allocations: 0.6493 MB / 1.4 GB, free: 9.672 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.4653, allocations: 31.94 kB / 1.4 GB, free: 9.641 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.4656, allocations: 35.94 kB / 1.4 GB, free: 9.605 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006786/0.4662, allocations: 0.7515 MB / 1.4 GB, free: 8.852 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006525/0.4669, allocations: 0.6056 MB / 1.401 GB, free: 8.242 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.4692, allocations: 2.151 MB / 1.403 GB, free: 6.082 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4692, allocations: 0 / 1.403 GB, free: 6.082 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4692, allocations: 0 / 1.403 GB, free: 6.082 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.977e-05/0.4692, allocations: 0 / 1.403 GB, free: 6.082 MB / 1.092 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.003603/0.4728, allocations: 2.19 MB / 1.405 GB, free: 3.848 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4729, allocations: 12.03 kB / 1.405 GB, free: 3.836 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.4731, allocations: 293.8 kB / 1.406 GB, free: 3.547 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00394/0.4771, allocations: 2.415 MB / 1.408 GB, free: 1.059 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/0.4772, allocations: 150.6 kB / 1.408 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.4772, allocations: 150.6 kB / 1.408 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.765e-05/0.4773, allocations: 108.9 kB / 1.408 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.4773, allocations: 75.28 kB / 1.408 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.4774, allocations: 150.6 kB / 1.408 GB, free: 436 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/0.4775, allocations: 154.5 kB / 1.409 GB, free: 280 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.4776, allocations: 162.5 kB / 1.409 GB, free: 116 kB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.4787, allocations: 1.049 MB / 1.41 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.4789, allocations: 173.1 kB / 1.41 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.4789, allocations: 80.14 kB / 1.41 GB, free: 14.77 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.4789, allocations: 79.28 kB / 1.41 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.355e-05/0.479, allocations: 113.8 kB / 1.41 GB, free: 14.57 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.479, allocations: 0 / 1.41 GB, free: 14.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 0.000288/0.4793, allocations: 244.2 kB / 1.41 GB, free: 14.33 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.4794, allocations: 134.6 kB / 1.411 GB, free: 14.18 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.4833, allocations: 2.852 MB / 1.413 GB, free: 11.32 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.4834, allocations: 29.64 kB / 1.413 GB, free: 11.29 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.4844, allocations: 0.9067 MB / 1.414 GB, free: 10.38 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.4844, allocations: 0 / 1.414 GB, free: 10.38 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.4844, allocations: 13.72 kB / 1.414 GB, free: 10.36 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4846, allocations: 310 kB / 1.415 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.4846, allocations: 0 / 1.415 GB, free: 10.05 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.157e-06/0.4846, allocations: 0 / 1.415 GB, free: 10.05 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.449e-05/0.4846, allocations: 75.28 kB / 1.415 GB, free: 9.973 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.124e-05/0.4846, allocations: 75.28 kB / 1.415 GB, free: 9.898 MB / 1.107 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002871/0.4849, allocations: 240.2 kB / 1.415 GB, free: 9.656 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.485, allocations: 87.27 kB / 1.415 GB, free: 9.57 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/0.485, allocations: 79.22 kB / 1.415 GB, free: 9.492 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.112e-05/0.4851, allocations: 150.6 kB / 1.415 GB, free: 9.344 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.946e-05/0.4851, allocations: 91.22 kB / 1.415 GB, free: 9.254 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.831e-05/0.4852, allocations: 154.5 kB / 1.416 GB, free: 9.102 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.4858, allocations: 91.25 kB / 1.416 GB, free: 9.012 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.4858, allocations: 79.22 kB / 1.416 GB, free: 8.934 MB / 1.107 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.0009577/0.4868, allocations: 0.9451 MB / 1.417 GB, free: 7.977 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.487, allocations: 319.6 kB / 1.417 GB, free: 7.656 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.4874, allocations: 341.1 kB / 1.417 GB, free: 7.312 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.196e-05/0.4875, allocations: 184.3 kB / 1.417 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-05/0.4876, allocations: 184.2 kB / 1.418 GB, free: 6.938 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-05/0.4876, allocations: 180.2 kB / 1.418 GB, free: 6.754 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.4887, allocations: 0.9936 MB / 1.419 GB, free: 5.723 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/0.4888, allocations: 108.9 kB / 1.419 GB, free: 5.609 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.4888, allocations: 109 kB / 1.419 GB, free: 5.496 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.853e-05/0.4889, allocations: 180.3 kB / 1.419 GB, free: 5.312 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.013e-05/0.489, allocations: 184.2 kB / 1.419 GB, free: 5.125 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-05/0.4891, allocations: 176.3 kB / 1.419 GB, free: 4.945 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.669e-05/0.4891, allocations: 180.2 kB / 1.42 GB, free: 4.762 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.4895, allocations: 0.5226 MB / 1.42 GB, free: 4.215 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.4899, allocations: 295.5 kB / 1.42 GB, free: 3.918 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/0.4902, allocations: 188.3 kB / 1.421 GB, free: 3.727 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/0.4907, allocations: 128.9 kB / 1.421 GB, free: 3.594 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.4908, allocations: 180.2 kB / 1.421 GB, free: 3.41 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.4908, allocations: 108.9 kB / 1.421 GB, free: 3.297 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002926/0.4938, allocations: 2.094 MB / 1.423 GB, free: 1.195 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4938, allocations: 0 / 1.423 GB, free: 1.195 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004888/0.4943, allocations: 176 kB / 1.423 GB, free: 1.023 MB / 1.107 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.0001596/0.4944, allocations: 186.4 kB / 1.423 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 4.84e-05/0.4945, allocations: 0 / 1.423 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4945, allocations: 0 / 1.423 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.4945, allocations: 0 / 1.423 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00549/0.5, allocations: 2.342 MB / 1.426 GB, free: 14.53 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004837/0.5048, allocations: 3.69 MB / 1.429 GB, free: 10.8 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.5061, allocations: 1.123 MB / 1.43 GB, free: 9.641 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.5063, allocations: 107.4 kB / 1.43 GB, free: 9.535 MB / 1.123 GB Notification: Performance of SimCode: time 7.41e-07/0.5063, allocations: 0 / 1.43 GB, free: 9.535 MB / 1.123 GB Notification: Performance of Templates: time 0.06317/0.5695, allocations: 41.06 MB / 1.471 GB, free: 0.9141 MB / 1.154 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/jenkins1/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: 23.136533543933183]