Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.001874/0.001874, allocations: 116.8 kB / 17.17 MB, free: 6 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.002162/0.002162, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.693/2.693, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 GB " [Timeout remaining time 177] 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.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.002155/0.002155, allocations: 75.89 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9344/0.9366, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09004/1.027, allocations: 78.06 MB / 1.355 GB, free: 2.746 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02965/1.056, allocations: 18.91 MB / 1.374 GB, free: 3.277 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004032/1.06, allocations: 152.4 kB / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004207/1.065, allocations: 1.3 MB / 1.375 GB, free: 2.098 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/1.076, allocations: 3.81 MB / 1.379 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005811/1.082, allocations: 2.105 MB / 1.381 GB, free: 13.44 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01137/1.093, allocations: 6.678 MB / 1.387 GB, free: 9.5 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003449/1.097, allocations: 1.709 MB / 1.389 GB, free: 8.293 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007345/1.104, allocations: 2.394 MB / 1.391 GB, free: 6.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005995/1.11, allocations: 1.857 MB / 1.393 GB, free: 5.773 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001182/1.111, allocations: 199.3 kB / 1.393 GB, free: 5.773 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006083/1.117, allocations: 1.736 MB / 1.395 GB, free: 4.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001374/1.119, allocations: 0.5668 MB / 1.396 GB, free: 4.367 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00362/1.122, allocations: 1.245 MB / 1.397 GB, free: 3.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009224/1.131, allocations: 3.854 MB / 1.401 GB, free: 15.54 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.131, allocations: 0 / 1.401 GB, free: 15.54 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.264e-06/1.131, allocations: 3.938 kB / 1.401 GB, free: 15.54 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001434/1.132, allocations: 0 / 1.401 GB, free: 15.54 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00682/1.138, allocations: 2.79 MB / 1.403 GB, free: 12.68 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.139, allocations: 8.031 kB / 1.403 GB, free: 12.67 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.578e-05/1.139, allocations: 38.89 kB / 1.403 GB, free: 12.63 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003153/1.139, allocations: 202.8 kB / 1.404 GB, free: 12.43 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008811/1.14, allocations: 283.1 kB / 1.404 GB, free: 12.15 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/1.144, allocations: 2.025 MB / 1.406 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-05/1.144, allocations: 110.7 kB / 1.406 GB, free: 9.965 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/1.144, allocations: 144 kB / 1.406 GB, free: 9.824 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/1.147, allocations: 1.52 MB / 1.408 GB, free: 8.227 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/1.147, allocations: 4 kB / 1.408 GB, free: 8.223 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/1.147, allocations: 63.94 kB / 1.408 GB, free: 8.16 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.57e-05/1.147, allocations: 39.94 kB / 1.408 GB, free: 8.121 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/1.15, allocations: 1.126 MB / 1.409 GB, free: 6.988 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009718/1.159, allocations: 7.616 MB / 1.416 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/1.16, allocations: 452.5 kB / 1.417 GB, free: 14.35 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/1.161, allocations: 306.3 kB / 1.417 GB, free: 14.05 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/1.162, allocations: 1.152 MB / 1.418 GB, free: 12.64 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/1.162, allocations: 43.12 kB / 1.418 GB, free: 12.58 MB / 1.107 GB Notification: Performance of pre-optimization done (n=59): time 2.314e-06/1.162, allocations: 0 / 1.418 GB, free: 12.58 MB / 1.107 GB Notification: Performance of matching and sorting (n=59): time 0.002501/1.164, allocations: 0.9662 MB / 1.419 GB, free: 11.61 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/1.165, allocations: 63.91 kB / 1.419 GB, free: 11.54 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/1.167, allocations: 1.783 MB / 1.421 GB, free: 9.715 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/1.167, allocations: 49.7 kB / 1.421 GB, free: 9.66 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009037/1.168, allocations: 0.9451 MB / 1.422 GB, free: 8.707 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/1.168, allocations: 226.1 kB / 1.422 GB, free: 8.484 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000324/1.169, allocations: 222.8 kB / 1.422 GB, free: 8.262 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.169, allocations: 353.9 kB / 1.423 GB, free: 7.91 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/1.17, allocations: 322.4 kB / 1.423 GB, free: 7.594 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/1.171, allocations: 0.6938 MB / 1.424 GB, free: 6.746 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/1.173, allocations: 1.012 MB / 1.425 GB, free: 5.602 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.173, allocations: 4 kB / 1.425 GB, free: 5.598 MB / 1.107 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002713/1.175, allocations: 1.222 MB / 1.426 GB, free: 4.367 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.175, allocations: 12 kB / 1.426 GB, free: 4.355 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.175, allocations: 8 kB / 1.426 GB, free: 4.348 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/1.175, allocations: 16.75 kB / 1.426 GB, free: 4.332 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.176, allocations: 291.5 kB / 1.426 GB, free: 4.047 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/1.177, allocations: 19.94 kB / 1.426 GB, free: 4.027 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.178, allocations: 174.8 kB / 1.426 GB, free: 3.855 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.178, allocations: 59.92 kB / 1.426 GB, free: 3.797 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0007675/1.179, allocations: 447.5 kB / 1.427 GB, free: 3.352 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/1.179, allocations: 206.7 kB / 1.427 GB, free: 3.148 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/1.181, allocations: 0.8636 MB / 1.428 GB, free: 2.277 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/1.181, allocations: 12 kB / 1.428 GB, free: 2.266 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/1.181, allocations: 0 / 1.428 GB, free: 2.266 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/1.183, allocations: 0.7956 MB / 1.429 GB, free: 1.418 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004375/1.187, allocations: 2.451 MB / 1.431 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.187, allocations: 4.031 kB / 1.431 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008182/1.188, allocations: 183.7 kB / 1.431 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/1.188, allocations: 4 kB / 1.431 GB, free: 14.69 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/1.188, allocations: 16 kB / 1.431 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/1.188, allocations: 4 kB / 1.431 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.188, allocations: 8 kB / 1.431 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/1.191, allocations: 1.349 MB / 1.432 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/1.191, allocations: 371.5 kB / 1.433 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/1.192, allocations: 20 kB / 1.433 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009735/1.193, allocations: 67.84 kB / 1.433 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.193, allocations: 52.44 kB / 1.433 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.902e-05/1.193, allocations: 39.91 kB / 1.433 GB, free: 12.71 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001948/1.195, allocations: 1.239 MB / 1.434 GB, free: 11.45 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.1e-08/1.195, allocations: 0 / 1.434 GB, free: 11.45 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002074/1.197, allocations: 0.6626 MB / 1.435 GB, free: 10.79 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.004153/1.201, allocations: 2.378 MB / 1.437 GB, free: 8.363 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001958/1.203, allocations: 0.7765 MB / 1.438 GB, free: 7.59 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.203, allocations: 4 kB / 1.438 GB, free: 7.586 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007721/1.204, allocations: 340.4 kB / 1.438 GB, free: 7.254 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006049/1.21, allocations: 1.198 MB / 1.439 GB, free: 6.082 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02319/1.233, allocations: 12.63 MB / 1.452 GB, free: 8.93 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.234, allocations: 1.405 MB / 1.453 GB, free: 7.484 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001603/1.236, allocations: 377 kB / 1.453 GB, free: 7.117 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.237, allocations: 0.7687 MB / 1.454 GB, free: 6.348 MB / 1.139 GB Notification: Performance of SimCode: time 6.11e-07/1.237, allocations: 0 / 1.454 GB, free: 6.348 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/1.348, allocations: 57.81 MB / 1.511 GB, free: 13.21 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/14.15, allocations: 2.031 kB / 1.511 GB, free: 13.21 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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: 20.55167293699924]