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.001636/0.001636, 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.001878/0.001878, allocations: 214.7 kB / 22.24 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.33/1.33, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 179] 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.976/2.976, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.00192/0.00192, allocations: 63.98 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.317, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07601/0.393, allocations: 71.14 MB / 1.433 GB, free: 6.676 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02678/0.4198, allocations: 17.56 MB / 1.45 GB, free: 5.066 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003427/0.4232, allocations: 154.7 kB / 1.45 GB, free: 4.914 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003471/0.4267, allocations: 1.246 MB / 1.451 GB, free: 3.66 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.4367, allocations: 3.881 MB / 1.455 GB, free: 15.77 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005212/0.442, allocations: 2.141 MB / 1.457 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.009565/0.4515, allocations: 6.798 MB / 1.464 GB, free: 6.824 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/0.4542, allocations: 1.583 MB / 1.465 GB, free: 5.195 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006035/0.4602, allocations: 2.747 MB / 1.468 GB, free: 2.449 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.4632, allocations: 1.758 MB / 1.47 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003708/0.4636, allocations: 196 kB / 1.47 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.4672, allocations: 1.333 MB / 1.471 GB, free: 15.16 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006744/0.4679, allocations: 0.564 MB / 1.472 GB, free: 14.59 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.4695, allocations: 1.011 MB / 1.473 GB, free: 13.57 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.4756, allocations: 3.799 MB / 1.477 GB, free: 9.762 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4756, allocations: 4 kB / 1.477 GB, free: 9.758 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4756, allocations: 0 / 1.477 GB, free: 9.758 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.537e-05/0.4756, allocations: 0 / 1.477 GB, free: 9.758 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.004709/0.4804, allocations: 2.724 MB / 1.479 GB, free: 6.984 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4804, allocations: 8.031 kB / 1.479 GB, free: 6.977 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002483/0.4806, allocations: 198.8 kB / 1.479 GB, free: 6.773 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007092/0.4814, allocations: 279.3 kB / 1.48 GB, free: 6.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/0.485, allocations: 1.979 MB / 1.482 GB, free: 4.48 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-05/0.4851, allocations: 110.7 kB / 1.482 GB, free: 4.371 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.4854, allocations: 148 kB / 1.482 GB, free: 4.227 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.4882, allocations: 1.818 MB / 1.484 GB, free: 2.258 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.4882, allocations: 4 kB / 1.484 GB, free: 2.254 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.4883, allocations: 56 kB / 1.484 GB, free: 2.199 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.4884, allocations: 40 kB / 1.484 GB, free: 2.16 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.4906, allocations: 1.122 MB / 1.485 GB, free: 1.031 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.007678/0.4983, allocations: 5.351 MB / 1.49 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.4993, allocations: 441 kB / 1.491 GB, free: 11.08 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/0.4999, allocations: 307.7 kB / 1.491 GB, free: 10.78 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/0.5003, allocations: 112.4 kB / 1.491 GB, free: 10.67 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.5003, allocations: 43.09 kB / 1.491 GB, free: 10.62 MB / 1.186 GB Notification: Performance of pre-optimization done (n=59): time 2.795e-06/0.5003, allocations: 0 / 1.491 GB, free: 10.62 MB / 1.186 GB Notification: Performance of matching and sorting (n=59): time 0.002241/0.5026, allocations: 0.9682 MB / 1.492 GB, free: 9.645 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.5026, allocations: 55.91 kB / 1.492 GB, free: 9.578 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.505, allocations: 1.826 MB / 1.494 GB, free: 7.715 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.505, allocations: 41.7 kB / 1.494 GB, free: 7.668 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008397/0.5059, allocations: 0.9491 MB / 1.495 GB, free: 6.711 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.5061, allocations: 230 kB / 1.495 GB, free: 6.484 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.5064, allocations: 230.8 kB / 1.495 GB, free: 6.254 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5066, allocations: 353.9 kB / 1.495 GB, free: 5.902 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/0.5073, allocations: 326.4 kB / 1.496 GB, free: 5.582 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.5084, allocations: 0.9699 MB / 1.497 GB, free: 4.387 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.5101, allocations: 1.009 MB / 1.498 GB, free: 3.246 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.5101, allocations: 4 kB / 1.498 GB, free: 3.242 MB / 1.186 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002268/0.5124, allocations: 1.238 MB / 1.499 GB, free: 1.992 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5124, allocations: 8 kB / 1.499 GB, free: 1.984 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.5124, allocations: 8 kB / 1.499 GB, free: 1.977 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.5124, allocations: 16 kB / 1.499 GB, free: 1.961 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000994/0.5134, allocations: 296.1 kB / 1.499 GB, free: 1.672 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.5134, allocations: 15.94 kB / 1.499 GB, free: 1.656 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.5145, allocations: 166.9 kB / 1.499 GB, free: 1.492 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.5146, allocations: 51.98 kB / 1.499 GB, free: 1.441 MB / 1.186 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.0006964/0.5153, allocations: 450.5 kB / 1.5 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.5156, allocations: 202.7 kB / 1.5 GB, free: 0.793 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.5173, allocations: 0.8751 MB / 1.501 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5173, allocations: 4 kB / 1.501 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5173, allocations: 0 / 1.501 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/0.5187, allocations: 0.8018 MB / 1.502 GB, free: 15.06 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/0.5226, allocations: 2.239 MB / 1.504 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.5226, allocations: 4 kB / 1.504 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000772/0.5234, allocations: 175.8 kB / 1.504 GB, free: 12.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.5234, allocations: 8.25 kB / 1.504 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.5235, allocations: 23.98 kB / 1.504 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.5235, allocations: 11.94 kB / 1.504 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5235, allocations: 0 / 1.504 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.5259, allocations: 1.367 MB / 1.505 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006745/0.5266, allocations: 294.4 kB / 1.506 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.5268, allocations: 12 kB / 1.506 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009264/0.5277, allocations: 71.81 kB / 1.506 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.5278, allocations: 52.41 kB / 1.506 GB, free: 10.69 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.5279, allocations: 35.97 kB / 1.506 GB, free: 10.66 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001741/0.5296, allocations: 1.251 MB / 1.507 GB, free: 9.387 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5296, allocations: 4 kB / 1.507 GB, free: 9.383 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00162/0.5312, allocations: 0.6587 MB / 1.508 GB, free: 8.723 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.00363/0.5349, allocations: 2.401 MB / 1.51 GB, free: 6.27 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.5366, allocations: 0.7845 MB / 1.511 GB, free: 5.492 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5366, allocations: 0 / 1.511 GB, free: 5.492 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007078/0.5373, allocations: 340.1 kB / 1.511 GB, free: 5.164 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00482/0.5421, allocations: 1.196 MB / 1.512 GB, free: 3.988 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/0.5615, allocations: 12.71 MB / 1.525 GB, free: 6.766 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/0.5624, allocations: 0.8281 MB / 1.526 GB, free: 5.898 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001534/0.5639, allocations: 387 kB / 1.526 GB, free: 5.523 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.565, allocations: 0.7648 MB / 1.527 GB, free: 4.758 MB / 1.217 GB Notification: Performance of SimCode: time 1.092e-06/0.565, allocations: 0 / 1.527 GB, free: 4.758 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/0.6829, allocations: 63.14 MB / 1.588 GB, free: 6.691 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.01, allocations: 4.062 kB / 1.588 GB, free: 6.688 MB / 1.279 GB " [Timeout remaining time 287] (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: 19.25357165094465]