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.001678/0.001678, 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.003084/0.003084, allocations: 211.6 kB / 22.25 MB, free: 5.262 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.785 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.32/3.32, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="me",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.002143/0.002143, allocations: 68.05 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.409, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005941/0.4149, allocations: 3.495 MB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.4259, allocations: 5.939 MB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.4269, allocations: 31.81 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006553/0.4335, allocations: 1.93 MB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.4352, allocations: 0.6105 MB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.4354, allocations: 8 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.03428/0.4696, allocations: 22.41 MB / 1.359 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.4699, allocations: 46.61 kB / 1.359 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.4711, allocations: 0.5641 MB / 1.359 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008611/0.4719, allocations: 0.6531 MB / 1.36 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.4721, allocations: 32 kB / 1.36 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.4723, allocations: 32 kB / 1.36 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007172/0.473, allocations: 0.7592 MB / 1.361 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007226/0.4737, allocations: 0.6056 MB / 1.361 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.4762, allocations: 2.147 MB / 1.363 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4762, allocations: 0 / 1.363 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4762, allocations: 0 / 1.363 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.293e-05/0.4762, allocations: 0 / 1.363 GB, free: 10.98 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.003773/0.48, allocations: 2.194 MB / 1.366 GB, free: 8.746 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.48, allocations: 8.031 kB / 1.366 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.581e-05/0.4801, allocations: 105.8 kB / 1.366 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.4804, allocations: 301.8 kB / 1.366 GB, free: 8.328 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.4848, allocations: 2.415 MB / 1.368 GB, free: 5.836 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.4849, allocations: 150.6 kB / 1.368 GB, free: 5.688 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/0.485, allocations: 154.6 kB / 1.369 GB, free: 5.535 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.463e-05/0.485, allocations: 104.9 kB / 1.369 GB, free: 5.426 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.4851, allocations: 75.28 kB / 1.369 GB, free: 5.352 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-05/0.4852, allocations: 158.5 kB / 1.369 GB, free: 5.195 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.326e-05/0.4852, allocations: 150.6 kB / 1.369 GB, free: 5.047 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.341e-05/0.4853, allocations: 150.6 kB / 1.369 GB, free: 4.898 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.4867, allocations: 1.08 MB / 1.37 GB, free: 3.777 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.4868, allocations: 173.1 kB / 1.37 GB, free: 3.598 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.4869, allocations: 84.14 kB / 1.37 GB, free: 3.512 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.4869, allocations: 75.28 kB / 1.371 GB, free: 3.438 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.741e-05/0.487, allocations: 109.8 kB / 1.371 GB, free: 3.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.487, allocations: 0 / 1.371 GB, free: 3.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0003028/0.4873, allocations: 244.2 kB / 1.371 GB, free: 3.074 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.4873, allocations: 130.7 kB / 1.371 GB, free: 2.934 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004094/0.4914, allocations: 2.856 MB / 1.374 GB, free: 68 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4915, allocations: 33.58 kB / 1.374 GB, free: 28 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.4926, allocations: 0.9028 MB / 1.375 GB, free: 15.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.4926, allocations: 4 kB / 1.375 GB, free: 15.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.4926, allocations: 9.719 kB / 1.375 GB, free: 15.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.4928, allocations: 310 kB / 1.375 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-06/0.4928, allocations: 0 / 1.375 GB, free: 14.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.4928, allocations: 0 / 1.375 GB, free: 14.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.4928, allocations: 79.28 kB / 1.375 GB, free: 14.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.871e-05/0.4928, allocations: 75.28 kB / 1.375 GB, free: 14.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002982/0.4931, allocations: 240.2 kB / 1.375 GB, free: 14.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.4932, allocations: 84.62 kB / 1.375 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.344e-05/0.4932, allocations: 83.22 kB / 1.376 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.523e-05/0.4933, allocations: 154.5 kB / 1.376 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.4934, allocations: 79.27 kB / 1.376 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.129e-05/0.4934, allocations: 162.5 kB / 1.376 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/0.4941, allocations: 95.25 kB / 1.376 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.4941, allocations: 83.22 kB / 1.376 GB, free: 13.67 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.00105/0.4952, allocations: 0.9456 MB / 1.377 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.4954, allocations: 315.6 kB / 1.377 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.4958, allocations: 353 kB / 1.378 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.331e-05/0.4959, allocations: 180.3 kB / 1.378 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.766e-05/0.496, allocations: 176.3 kB / 1.378 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.73e-05/0.4961, allocations: 184.2 kB / 1.378 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.4973, allocations: 1.025 MB / 1.379 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/0.4973, allocations: 104.9 kB / 1.379 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.4974, allocations: 101 kB / 1.379 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.532e-05/0.4975, allocations: 188.2 kB / 1.38 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.4976, allocations: 184.1 kB / 1.38 GB, free: 9.816 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.429e-05/0.4977, allocations: 176.3 kB / 1.38 GB, free: 9.637 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-05/0.4977, allocations: 188.2 kB / 1.38 GB, free: 9.445 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.4981, allocations: 0.5149 MB / 1.381 GB, free: 8.906 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.4985, allocations: 299.5 kB / 1.381 GB, free: 8.605 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.4988, allocations: 180.2 kB / 1.381 GB, free: 8.422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.4993, allocations: 128.9 kB / 1.381 GB, free: 8.289 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.4994, allocations: 184.3 kB / 1.381 GB, free: 8.102 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.4995, allocations: 105 kB / 1.381 GB, free: 7.992 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003048/0.5025, allocations: 2.087 MB / 1.383 GB, free: 5.898 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5025, allocations: 0 / 1.383 GB, free: 5.898 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000529/0.503, allocations: 187.9 kB / 1.384 GB, free: 5.715 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.0007467/0.5038, allocations: 1.03 MB / 1.385 GB, free: 4.656 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.343e-05/0.5038, allocations: 7.875 kB / 1.385 GB, free: 4.648 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5038, allocations: 0 / 1.385 GB, free: 4.648 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.423e-06/0.5039, allocations: 7.938 kB / 1.385 GB, free: 4.641 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00591/0.5098, allocations: 2.34 MB / 1.387 GB, free: 2.352 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/0.5318, allocations: 15.04 MB / 1.402 GB, free: 3.141 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.5335, allocations: 1.128 MB / 1.403 GB, free: 1.977 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001827/0.5353, allocations: 443.4 kB / 1.403 GB, free: 1.539 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008227/0.5361, allocations: 0.6516 MB / 1.404 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of SimCode: time 1.312e-06/0.5361, allocations: 0 / 1.404 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1547/0.6908, allocations: 79.43 MB / 1.481 GB, free: 2.984 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.72, allocations: 8 kB / 1.481 GB, free: 2.977 MB / 1.17 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Components_Validation_PumpMultipleRecord.fmu > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 420.0] 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: 22.234148147981614]