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.001756/0.001756, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002692/0.002692, allocations: 217 kB / 23.04 MB, free: 5.074 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.883/2.883, allocations: 476.7 MB / 0.7714 GB, free: 4.293 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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="cs",version="2.0",platforms={"static"}) [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.002108/0.002108, allocations: 64.47 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4054, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005725/0.4111, allocations: 3.852 MB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.4213, allocations: 6.429 MB / 1.294 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004809/0.4218, allocations: 35.81 kB / 1.294 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006457/0.4282, allocations: 2.001 MB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.4301, allocations: 0.5793 MB / 1.297 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.173e-05/0.4302, allocations: 0 / 1.297 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03959/0.4697, allocations: 23.76 MB / 1.32 GB, free: 7.059 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.4701, allocations: 38.62 kB / 1.32 GB, free: 7.008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.4715, allocations: 0.5875 MB / 1.321 GB, free: 6.418 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.473, allocations: 0.6571 MB / 1.321 GB, free: 5.758 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.4732, allocations: 28 kB / 1.321 GB, free: 5.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.4737, allocations: 31.94 kB / 1.321 GB, free: 5.699 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.4747, allocations: 0.7475 MB / 1.322 GB, free: 4.949 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.4763, allocations: 0.8309 MB / 1.323 GB, free: 4.113 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.4794, allocations: 2.112 MB / 1.325 GB, free: 1.992 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4795, allocations: 0 / 1.325 GB, free: 1.992 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4795, allocations: 0 / 1.325 GB, free: 1.992 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.052e-05/0.4795, allocations: 4 kB / 1.325 GB, free: 1.988 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.005106/0.4847, allocations: 2.18 MB / 1.327 GB, free: 15.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.4847, allocations: 12.03 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.206e-05/0.4848, allocations: 79.27 kB / 1.327 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.559e-05/0.4848, allocations: 109.8 kB / 1.327 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003399/0.4852, allocations: 293.6 kB / 1.327 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/0.4894, allocations: 2.399 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.841e-05/0.4895, allocations: 154.5 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.4896, allocations: 154.5 kB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.159e-05/0.4896, allocations: 105 kB / 1.33 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.4897, allocations: 75.28 kB / 1.33 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.497e-05/0.4898, allocations: 158.5 kB / 1.33 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.4898, allocations: 150.6 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.728e-05/0.4899, allocations: 158.5 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.4914, allocations: 1.107 MB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.4915, allocations: 173.2 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.4916, allocations: 80.14 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.4916, allocations: 75.28 kB / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.4917, allocations: 113.8 kB / 1.332 GB, free: 10.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.4917, allocations: 0 / 1.332 GB, free: 10.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0003237/0.492, allocations: 244.1 kB / 1.332 GB, free: 9.996 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.4921, allocations: 134.7 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004163/0.4962, allocations: 2.852 MB / 1.335 GB, free: 6.988 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4963, allocations: 25.7 kB / 1.335 GB, free: 6.957 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009907/0.4973, allocations: 0.9027 MB / 1.336 GB, free: 6.051 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/0.4973, allocations: 0 / 1.336 GB, free: 6.051 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.4973, allocations: 13.72 kB / 1.336 GB, free: 6.031 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4975, allocations: 310 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-06/0.4975, allocations: 3.938 kB / 1.337 GB, free: 5.719 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-06/0.4975, allocations: 3.984 kB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.4975, allocations: 75.28 kB / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.999e-05/0.4976, allocations: 79.28 kB / 1.337 GB, free: 5.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003587/0.4979, allocations: 248.2 kB / 1.337 GB, free: 5.312 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.498, allocations: 81.31 kB / 1.337 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/0.498, allocations: 79.22 kB / 1.337 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.595e-05/0.4981, allocations: 154.6 kB / 1.337 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.4982, allocations: 83.22 kB / 1.337 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.327e-05/0.4982, allocations: 150.6 kB / 1.337 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.4989, allocations: 95.19 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.4989, allocations: 75.28 kB / 1.338 GB, free: 4.605 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.001126/0.5001, allocations: 0.9528 MB / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.5004, allocations: 327.5 kB / 1.339 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.5007, allocations: 337.1 kB / 1.339 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.083e-05/0.5008, allocations: 176.3 kB / 1.339 GB, free: 2.789 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-05/0.5009, allocations: 184.2 kB / 1.34 GB, free: 2.602 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.76e-05/0.501, allocations: 184.3 kB / 1.34 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.5022, allocations: 1.056 MB / 1.341 GB, free: 1.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.312e-05/0.5023, allocations: 105 kB / 1.341 GB, free: 1.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.5023, allocations: 105 kB / 1.341 GB, free: 1.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.5024, allocations: 184.2 kB / 1.341 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.583e-05/0.5025, allocations: 184.2 kB / 1.341 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.503e-05/0.5026, allocations: 184.2 kB / 1.341 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.639e-05/0.5027, allocations: 180.3 kB / 1.342 GB, free: 352 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.5031, allocations: 0.5108 MB / 1.342 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/0.5036, allocations: 299.5 kB / 1.342 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/0.5038, allocations: 192.4 kB / 1.343 GB, free: 15.31 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/0.5043, allocations: 117 kB / 1.343 GB, free: 15.19 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.5045, allocations: 176.3 kB / 1.343 GB, free: 15.01 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.5045, allocations: 104.9 kB / 1.343 GB, free: 14.9 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00314/0.5076, allocations: 2.095 MB / 1.345 GB, free: 12.8 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5076, allocations: 0 / 1.345 GB, free: 12.8 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005777/0.5082, allocations: 180 kB / 1.345 GB, free: 12.62 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.0008175/0.509, allocations: 1.038 MB / 1.346 GB, free: 11.56 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.126e-05/0.5091, allocations: 11.94 kB / 1.346 GB, free: 11.55 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.5091, allocations: 11.88 kB / 1.346 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.5091, allocations: 0 / 1.346 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006172/0.5153, allocations: 2.345 MB / 1.349 GB, free: 9.238 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/0.5394, allocations: 15.06 MB / 1.363 GB, free: 10.01 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.541, allocations: 1.716 MB / 1.365 GB, free: 8.262 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001877/0.5429, allocations: 439.5 kB / 1.365 GB, free: 7.828 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008651/0.5438, allocations: 0.6516 MB / 1.366 GB, free: 7.176 MB / 1.061 GB Notification: Performance of SimCode: time 2.345e-06/0.5438, allocations: 0 / 1.366 GB, free: 7.176 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/0.681, allocations: 72.64 MB / 1.437 GB, free: 15.78 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/18.71, allocations: 4.062 kB / 1.437 GB, free: 15.78 MB / 1.139 GB " [Timeout remaining time 280] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Components_Validation_PumpMultipleRecord.fmu > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 26.4533471899922]