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.001934/0.001934, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001824/0.001824, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 8.027 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.52/3.52, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.PumpMultipleRecord,fileNamePrefix="Buildings_latest_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.002049/0.002049, allocations: 65.94 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4324, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005534/0.4379, allocations: 3.852 MB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.4481, allocations: 6.635 MB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000412/0.4485, allocations: 31.81 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005417/0.4539, allocations: 2.063 MB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.4552, allocations: 0.6105 MB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.635e-05/0.4552, allocations: 4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.03502/0.4902, allocations: 22.5 MB / 1.388 GB, free: 4.699 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.4905, allocations: 42.62 kB / 1.388 GB, free: 4.641 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.4917, allocations: 0.568 MB / 1.388 GB, free: 4.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.493, allocations: 0.657 MB / 1.389 GB, free: 3.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.4932, allocations: 32 kB / 1.389 GB, free: 3.379 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.4936, allocations: 28 kB / 1.389 GB, free: 3.352 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000898/0.4945, allocations: 0.763 MB / 1.39 GB, free: 2.586 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.496, allocations: 0.831 MB / 1.391 GB, free: 1.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.4989, allocations: 2.12 MB / 1.393 GB, free: 15.62 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4989, allocations: 0 / 1.393 GB, free: 15.62 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.466e-06/0.4989, allocations: 7.938 kB / 1.393 GB, free: 15.61 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.354e-05/0.499, allocations: 0 / 1.393 GB, free: 15.61 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.005158/0.5041, allocations: 2.194 MB / 1.395 GB, free: 13.38 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.5042, allocations: 8.031 kB / 1.395 GB, free: 13.37 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.186e-05/0.5043, allocations: 109.8 kB / 1.395 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/0.5048, allocations: 297.8 kB / 1.395 GB, free: 12.96 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004637/0.5095, allocations: 2.403 MB / 1.398 GB, free: 10.48 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.361e-05/0.5095, allocations: 150.6 kB / 1.398 GB, free: 10.34 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.5096, allocations: 158.6 kB / 1.398 GB, free: 10.18 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/0.5097, allocations: 104.9 kB / 1.398 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.5097, allocations: 79.28 kB / 1.398 GB, free: 9.992 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.5098, allocations: 158.5 kB / 1.398 GB, free: 9.836 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.169e-05/0.5099, allocations: 150.6 kB / 1.398 GB, free: 9.688 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.5099, allocations: 150.6 kB / 1.398 GB, free: 9.539 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.5117, allocations: 1.111 MB / 1.4 GB, free: 8.387 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.5118, allocations: 173.1 kB / 1.4 GB, free: 8.207 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.5118, allocations: 84.08 kB / 1.4 GB, free: 8.121 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.5118, allocations: 79.28 kB / 1.4 GB, free: 8.043 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/0.5119, allocations: 109.8 kB / 1.4 GB, free: 7.926 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 2.084e-06/0.5119, allocations: 0 / 1.4 GB, free: 7.926 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.000312/0.5122, allocations: 244.2 kB / 1.4 GB, free: 7.68 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.5123, allocations: 130.7 kB / 1.4 GB, free: 7.539 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/0.5164, allocations: 2.855 MB / 1.403 GB, free: 4.672 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.5164, allocations: 25.7 kB / 1.403 GB, free: 4.641 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000984/0.5174, allocations: 0.9028 MB / 1.404 GB, free: 3.734 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.5174, allocations: 0 / 1.404 GB, free: 3.734 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.5174, allocations: 9.719 kB / 1.404 GB, free: 3.719 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5176, allocations: 314 kB / 1.404 GB, free: 3.406 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-06/0.5176, allocations: 0 / 1.404 GB, free: 3.406 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.032e-05/0.5176, allocations: 7.984 kB / 1.404 GB, free: 3.398 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.5177, allocations: 75.28 kB / 1.404 GB, free: 3.324 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.034e-05/0.5177, allocations: 75.28 kB / 1.404 GB, free: 3.25 MB / 1.092 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003475/0.518, allocations: 240.2 kB / 1.405 GB, free: 3.008 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.5181, allocations: 79.28 kB / 1.405 GB, free: 2.93 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.833e-05/0.5181, allocations: 83.22 kB / 1.405 GB, free: 2.848 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.39e-05/0.5182, allocations: 158.5 kB / 1.405 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.97e-05/0.5183, allocations: 75.28 kB / 1.405 GB, free: 2.617 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.346e-05/0.5183, allocations: 158.5 kB / 1.405 GB, free: 2.461 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.519, allocations: 99.19 kB / 1.405 GB, free: 2.363 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.519, allocations: 83.22 kB / 1.405 GB, free: 2.281 MB / 1.092 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.001057/0.5201, allocations: 0.9489 MB / 1.406 GB, free: 1.32 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/0.5204, allocations: 323.5 kB / 1.407 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.5208, allocations: 341.1 kB / 1.407 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.781e-05/0.5209, allocations: 176.3 kB / 1.407 GB, free: 476 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/0.521, allocations: 188.2 kB / 1.407 GB, free: 280 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.591e-05/0.521, allocations: 184.2 kB / 1.407 GB, free: 88 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.5223, allocations: 1.052 MB / 1.408 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-05/0.5224, allocations: 104.9 kB / 1.409 GB, free: 14.88 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.5224, allocations: 101 kB / 1.409 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.274e-05/0.5225, allocations: 180.2 kB / 1.409 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.177e-05/0.5226, allocations: 192.1 kB / 1.409 GB, free: 14.39 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.954e-05/0.5227, allocations: 176.3 kB / 1.409 GB, free: 14.21 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.762e-05/0.5227, allocations: 184.1 kB / 1.409 GB, free: 14.02 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.5231, allocations: 0.5188 MB / 1.41 GB, free: 13.48 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.5236, allocations: 303.5 kB / 1.41 GB, free: 13.18 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/0.5238, allocations: 188.2 kB / 1.41 GB, free: 12.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/0.5244, allocations: 124.9 kB / 1.41 GB, free: 12.86 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.5245, allocations: 184.3 kB / 1.411 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.5245, allocations: 105 kB / 1.411 GB, free: 12.56 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003071/0.5276, allocations: 2.091 MB / 1.413 GB, free: 10.46 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5276, allocations: 3.938 kB / 1.413 GB, free: 10.46 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005313/0.5281, allocations: 176 kB / 1.413 GB, free: 10.29 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.0007329/0.5288, allocations: 1.038 MB / 1.414 GB, free: 9.215 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 4.511e-05/0.5289, allocations: 3.938 kB / 1.414 GB, free: 9.211 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5289, allocations: 0 / 1.414 GB, free: 9.211 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.129e-06/0.5289, allocations: 3.938 kB / 1.414 GB, free: 9.207 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006003/0.5349, allocations: 2.35 MB / 1.416 GB, free: 6.906 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/0.559, allocations: 15.04 MB / 1.431 GB, free: 7.695 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.5609, allocations: 1.716 MB / 1.433 GB, free: 5.945 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002205/0.5631, allocations: 431.5 kB / 1.433 GB, free: 5.52 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/0.5642, allocations: 0.6477 MB / 1.434 GB, free: 4.875 MB / 1.123 GB Notification: Performance of SimCode: time 2.314e-06/0.5642, allocations: 0 / 1.434 GB, free: 4.875 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1501/0.7143, allocations: 72.56 MB / 1.505 GB, free: 13.28 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.49/18.2, allocations: 0 / 1.505 GB, free: 13.28 MB / 1.201 GB " [Timeout remaining time 282] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Validation_PumpMultipleRecord.fmu > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 840.0] 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: 25.98329418292269]