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.001764/0.001764, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00225/0.00225, allocations: 221.4 kB / 23.03 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.723 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.66/2.66, allocations: 476.8 MB / 0.7715 GB, free: 3.863 MB / 0.6231 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.001925/0.001925, allocations: 63.08 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3078, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08004/0.3878, allocations: 70.94 MB / 1.353 GB, free: 3.438 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02764/0.4154, allocations: 17.53 MB / 1.37 GB, free: 1.863 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003713/0.4191, allocations: 150.7 kB / 1.371 GB, free: 1.715 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004003/0.4231, allocations: 1.238 MB / 1.372 GB, free: 480 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.4347, allocations: 3.883 MB / 1.376 GB, free: 12.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006526/0.4412, allocations: 2.155 MB / 1.378 GB, free: 10.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.4528, allocations: 6.843 MB / 1.384 GB, free: 3.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004052/0.4568, allocations: 1.599 MB / 1.386 GB, free: 1.922 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007166/0.464, allocations: 2.437 MB / 1.388 GB, free: 15.49 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004094/0.4681, allocations: 1.863 MB / 1.39 GB, free: 13.62 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0009498/0.4691, allocations: 200 kB / 1.39 GB, free: 13.43 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004505/0.4736, allocations: 1.345 MB / 1.392 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.4747, allocations: 0.5718 MB / 1.392 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002539/0.4772, allocations: 0.9994 MB / 1.393 GB, free: 10.5 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008215/0.4854, allocations: 3.788 MB / 1.397 GB, free: 6.699 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4855, allocations: 3.938 kB / 1.397 GB, free: 6.695 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4855, allocations: 4 kB / 1.397 GB, free: 6.691 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001395/0.4856, allocations: 0 / 1.397 GB, free: 6.691 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.006178/0.4918, allocations: 2.715 MB / 1.4 GB, free: 3.926 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4918, allocations: 12.03 kB / 1.4 GB, free: 3.914 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.926e-05/0.4919, allocations: 34.89 kB / 1.4 GB, free: 3.879 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000376/0.4922, allocations: 198.8 kB / 1.4 GB, free: 3.676 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009306/0.4932, allocations: 283.1 kB / 1.4 GB, free: 3.398 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/0.4972, allocations: 1.941 MB / 1.402 GB, free: 1.414 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.4973, allocations: 106.7 kB / 1.402 GB, free: 1.309 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/0.4976, allocations: 159.9 kB / 1.402 GB, free: 1.152 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003242/0.5009, allocations: 1.82 MB / 1.404 GB, free: 15.18 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.5009, allocations: 7.938 kB / 1.404 GB, free: 15.18 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.501, allocations: 60 kB / 1.404 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.5011, allocations: 39.98 kB / 1.404 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.5034, allocations: 1.126 MB / 1.405 GB, free: 13.95 MB / 1.107 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.008267/0.5117, allocations: 5.327 MB / 1.41 GB, free: 8.465 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.5127, allocations: 448.9 kB / 1.411 GB, free: 8.016 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006359/0.5134, allocations: 306.2 kB / 1.411 GB, free: 7.715 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004334/0.5138, allocations: 112.4 kB / 1.411 GB, free: 7.605 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.5138, allocations: 43.06 kB / 1.411 GB, free: 7.555 MB / 1.107 GB Notification: Performance of pre-optimization done (n=59): time 2.685e-06/0.5138, allocations: 0 / 1.411 GB, free: 7.555 MB / 1.107 GB Notification: Performance of matching and sorting (n=59): time 0.002485/0.5163, allocations: 0.9722 MB / 1.412 GB, free: 6.574 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.5164, allocations: 59.91 kB / 1.412 GB, free: 6.504 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.5191, allocations: 1.795 MB / 1.414 GB, free: 4.672 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.5193, allocations: 37.7 kB / 1.414 GB, free: 4.629 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008849/0.5201, allocations: 0.9451 MB / 1.415 GB, free: 3.676 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.5204, allocations: 234 kB / 1.415 GB, free: 3.445 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003204/0.5208, allocations: 226.8 kB / 1.415 GB, free: 3.219 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.5209, allocations: 353.9 kB / 1.416 GB, free: 2.867 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/0.5217, allocations: 334.4 kB / 1.416 GB, free: 2.539 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.5228, allocations: 0.9621 MB / 1.417 GB, free: 1.359 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.5245, allocations: 1.013 MB / 1.418 GB, free: 212 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.5245, allocations: 4 kB / 1.418 GB, free: 208 kB / 1.107 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002652/0.5272, allocations: 1.23 MB / 1.419 GB, free: 14.96 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.5272, allocations: 8 kB / 1.419 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.5272, allocations: 8 kB / 1.419 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.5273, allocations: 19.94 kB / 1.419 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.5283, allocations: 296.1 kB / 1.42 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.094e-05/0.5283, allocations: 27.86 kB / 1.42 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.5299, allocations: 162.9 kB / 1.42 GB, free: 14.45 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-05/0.53, allocations: 51.94 kB / 1.42 GB, free: 14.4 MB / 1.123 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.0008654/0.5309, allocations: 441.4 kB / 1.42 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005065/0.5314, allocations: 202.7 kB / 1.42 GB, free: 13.76 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.5333, allocations: 0.8711 MB / 1.421 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.5333, allocations: 11.98 kB / 1.421 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5333, allocations: 0 / 1.421 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/0.5347, allocations: 0.8017 MB / 1.422 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004807/0.5395, allocations: 2.235 MB / 1.424 GB, free: 9.691 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.5395, allocations: 0 / 1.424 GB, free: 9.691 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008095/0.5403, allocations: 183.7 kB / 1.424 GB, free: 9.512 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.5404, allocations: 4.219 kB / 1.424 GB, free: 9.508 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/0.5404, allocations: 23.98 kB / 1.424 GB, free: 9.484 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.5404, allocations: 4 kB / 1.424 GB, free: 9.48 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5404, allocations: 4 kB / 1.424 GB, free: 9.477 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.5432, allocations: 1.363 MB / 1.426 GB, free: 8.074 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000954/0.5441, allocations: 298.4 kB / 1.426 GB, free: 7.781 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/0.5444, allocations: 16 kB / 1.426 GB, free: 7.766 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.5454, allocations: 63.88 kB / 1.426 GB, free: 7.703 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.5456, allocations: 56.34 kB / 1.426 GB, free: 7.648 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/0.5457, allocations: 43.91 kB / 1.426 GB, free: 7.605 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001859/0.5475, allocations: 1.239 MB / 1.427 GB, free: 6.348 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5475, allocations: 0 / 1.427 GB, free: 6.348 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002181/0.5497, allocations: 0.6626 MB / 1.428 GB, free: 5.684 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.003911/0.5536, allocations: 2.395 MB / 1.43 GB, free: 3.242 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.5554, allocations: 0.7845 MB / 1.431 GB, free: 2.465 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.5554, allocations: 4 kB / 1.431 GB, free: 2.461 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000706/0.5561, allocations: 336.1 kB / 1.432 GB, free: 2.137 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/0.5612, allocations: 1.194 MB / 1.433 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/0.582, allocations: 12.64 MB / 1.445 GB, free: 3.789 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/0.5829, allocations: 0.8279 MB / 1.446 GB, free: 2.922 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001529/0.5844, allocations: 388.6 kB / 1.446 GB, free: 2.547 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.5855, allocations: 0.7648 MB / 1.447 GB, free: 1.781 MB / 1.139 GB Notification: Performance of SimCode: time 1.002e-06/0.5855, allocations: 0 / 1.447 GB, free: 1.781 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/0.6975, allocations: 62.55 MB / 1.508 GB, free: 4.375 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.27, allocations: 3.984 kB / 1.508 GB, free: 4.371 MB / 1.201 GB " [Timeout remaining time 284] (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: 23.07783606101293]