Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001454/0.001454, 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.001623/0.001623, allocations: 215.2 kB / 22.25 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 8.039 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 2.931/2.931, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.001867/0.001867, allocations: 66.64 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3086, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08686/0.3955, allocations: 78.93 MB / 1.43 GB, free: 9.266 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02741/0.4229, allocations: 18.97 MB / 1.448 GB, free: 6.25 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.426, allocations: 158.6 kB / 1.449 GB, free: 6.094 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003398/0.4294, allocations: 1.304 MB / 1.45 GB, free: 4.781 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01121/0.4406, allocations: 3.906 MB / 1.454 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005556/0.4461, allocations: 2.196 MB / 1.456 GB, free: 14.68 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00926/0.4554, allocations: 6.852 MB / 1.463 GB, free: 7.809 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.458, allocations: 1.595 MB / 1.464 GB, free: 6.164 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005719/0.4637, allocations: 2.726 MB / 1.467 GB, free: 3.438 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/0.467, allocations: 1.843 MB / 1.469 GB, free: 1.586 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005437/0.4675, allocations: 200 kB / 1.469 GB, free: 1.391 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004155/0.4717, allocations: 1.751 MB / 1.47 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006216/0.4723, allocations: 0.5757 MB / 1.471 GB, free: 15.06 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.4739, allocations: 1.252 MB / 1.472 GB, free: 13.8 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005466/0.4793, allocations: 3.862 MB / 1.476 GB, free: 9.926 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4793, allocations: 0 / 1.476 GB, free: 9.926 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4793, allocations: 4 kB / 1.476 GB, free: 9.922 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.532e-05/0.4794, allocations: 4 kB / 1.476 GB, free: 9.918 MB / 1.17 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.004575/0.4839, allocations: 2.719 MB / 1.479 GB, free: 7.148 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.484, allocations: 8.031 kB / 1.479 GB, free: 7.141 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002454/0.4842, allocations: 198.8 kB / 1.479 GB, free: 6.938 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007027/0.4849, allocations: 287.3 kB / 1.479 GB, free: 6.656 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.4883, allocations: 1.968 MB / 1.481 GB, free: 4.648 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-05/0.4884, allocations: 110.7 kB / 1.481 GB, free: 4.539 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.4886, allocations: 144 kB / 1.481 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.4912, allocations: 1.52 MB / 1.483 GB, free: 2.801 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.4912, allocations: 7.953 kB / 1.483 GB, free: 2.793 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.4913, allocations: 56 kB / 1.483 GB, free: 2.738 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/0.4914, allocations: 47.92 kB / 1.483 GB, free: 2.691 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.4936, allocations: 1.119 MB / 1.484 GB, free: 1.566 MB / 1.17 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.009007/0.5026, allocations: 7.85 MB / 1.492 GB, free: 9.066 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009523/0.5035, allocations: 449 kB / 1.492 GB, free: 8.621 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006114/0.5041, allocations: 306.2 kB / 1.492 GB, free: 8.316 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003698/0.5045, allocations: 116.4 kB / 1.493 GB, free: 8.203 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.5045, allocations: 47.06 kB / 1.493 GB, free: 8.148 MB / 1.186 GB Notification: Performance of pre-optimization done (n=59): time 1.944e-06/0.5045, allocations: 0 / 1.493 GB, free: 8.148 MB / 1.186 GB Notification: Performance of matching and sorting (n=59): time 0.002153/0.5067, allocations: 0.9682 MB / 1.493 GB, free: 7.176 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.5067, allocations: 59.91 kB / 1.494 GB, free: 7.105 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.509, allocations: 1.807 MB / 1.495 GB, free: 5.262 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.593e-05/0.5091, allocations: 41.7 kB / 1.495 GB, free: 5.215 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008078/0.5099, allocations: 0.9452 MB / 1.496 GB, free: 4.262 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.5101, allocations: 230 kB / 1.496 GB, free: 4.035 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.5104, allocations: 234.7 kB / 1.497 GB, free: 3.801 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.5106, allocations: 349.9 kB / 1.497 GB, free: 3.453 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006657/0.5113, allocations: 334.4 kB / 1.497 GB, free: 3.125 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000974/0.5122, allocations: 0.686 MB / 1.498 GB, free: 2.289 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.5139, allocations: 1.017 MB / 1.499 GB, free: 1.133 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5139, allocations: 0 / 1.499 GB, free: 1.133 MB / 1.186 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002247/0.5161, allocations: 1.227 MB / 1.5 GB, free: 15.9 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5161, allocations: 12 kB / 1.5 GB, free: 15.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.5161, allocations: 12.06 kB / 1.5 GB, free: 15.88 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.5162, allocations: 16 kB / 1.5 GB, free: 15.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009518/0.5171, allocations: 287.6 kB / 1.501 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.5171, allocations: 23.92 kB / 1.501 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.5182, allocations: 170.9 kB / 1.501 GB, free: 15.39 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.5183, allocations: 52 kB / 1.501 GB, free: 15.34 MB / 1.201 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.0006753/0.519, allocations: 441.3 kB / 1.501 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.5193, allocations: 206.7 kB / 1.501 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.521, allocations: 0.87 MB / 1.502 GB, free: 13.82 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.521, allocations: 12 kB / 1.502 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.521, allocations: 0 / 1.502 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.5223, allocations: 0.8095 MB / 1.503 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003907/0.5263, allocations: 2.433 MB / 1.505 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.5263, allocations: 0 / 1.505 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/0.527, allocations: 180 kB / 1.506 GB, free: 10.25 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.527, allocations: 8 kB / 1.506 GB, free: 10.24 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.5271, allocations: 20 kB / 1.506 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.5271, allocations: 7.984 kB / 1.506 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5271, allocations: 4 kB / 1.506 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.5295, allocations: 1.363 MB / 1.507 GB, free: 8.812 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006685/0.5301, allocations: 294.4 kB / 1.507 GB, free: 8.523 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.5303, allocations: 19.94 kB / 1.507 GB, free: 8.504 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/0.5312, allocations: 67.84 kB / 1.507 GB, free: 8.438 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.5313, allocations: 48.42 kB / 1.507 GB, free: 8.387 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/0.5314, allocations: 39.91 kB / 1.507 GB, free: 8.348 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001694/0.5331, allocations: 1.255 MB / 1.509 GB, free: 7.074 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5331, allocations: 4 kB / 1.509 GB, free: 7.07 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001602/0.5347, allocations: 0.6626 MB / 1.509 GB, free: 6.406 MB / 1.201 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.003436/0.5381, allocations: 2.389 MB / 1.512 GB, free: 3.969 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.5397, allocations: 0.7809 MB / 1.512 GB, free: 3.188 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5397, allocations: 0.625 kB / 1.512 GB, free: 3.188 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006606/0.5404, allocations: 342.5 kB / 1.513 GB, free: 2.852 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004317/0.5447, allocations: 1.208 MB / 1.514 GB, free: 1.672 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/0.5634, allocations: 12.7 MB / 1.526 GB, free: 4.457 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.5644, allocations: 1.413 MB / 1.528 GB, free: 3.008 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00133/0.5658, allocations: 369.7 kB / 1.528 GB, free: 2.648 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.5668, allocations: 0.7765 MB / 1.529 GB, free: 1.871 MB / 1.217 GB Notification: Performance of SimCode: time 8.41e-07/0.5668, allocations: 0 / 1.529 GB, free: 1.871 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/0.6737, allocations: 58.61 MB / 1.586 GB, free: 7.84 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.09, allocations: 8.922 kB / 1.586 GB, free: 7.836 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.28812288492918]