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.001791/0.001791, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002459/0.002459, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 8.004 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.737/2.737, allocations: 476.7 MB / 0.7707 GB, free: 4.246 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_11_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.002072/0.002072, allocations: 65.59 kB / 1.117 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.343, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08934/0.4324, allocations: 78.78 MB / 1.36 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03016/0.4625, allocations: 18.96 MB / 1.379 GB, free: 9.645 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004842/0.4674, allocations: 150.7 kB / 1.379 GB, free: 9.496 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004388/0.4718, allocations: 1.297 MB / 1.38 GB, free: 8.191 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.4837, allocations: 3.906 MB / 1.384 GB, free: 4.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006721/0.4904, allocations: 2.195 MB / 1.386 GB, free: 2.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01229/0.5027, allocations: 6.842 MB / 1.393 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003546/0.5063, allocations: 1.599 MB / 1.394 GB, free: 9.586 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007015/0.5133, allocations: 2.415 MB / 1.397 GB, free: 7.172 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004334/0.5176, allocations: 1.863 MB / 1.399 GB, free: 5.301 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005524/0.5182, allocations: 196 kB / 1.399 GB, free: 5.109 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005231/0.5234, allocations: 1.774 MB / 1.401 GB, free: 3.332 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009604/0.5244, allocations: 0.564 MB / 1.401 GB, free: 2.766 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003224/0.5276, allocations: 1.256 MB / 1.402 GB, free: 1.504 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00795/0.5355, allocations: 3.842 MB / 1.406 GB, free: 13.65 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5355, allocations: 0 / 1.406 GB, free: 13.65 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5355, allocations: 0 / 1.406 GB, free: 13.65 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.144e-05/0.5356, allocations: 0 / 1.406 GB, free: 13.65 MB / 1.107 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.005467/0.5411, allocations: 2.721 MB / 1.409 GB, free: 10.88 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.5411, allocations: 12.03 kB / 1.409 GB, free: 10.87 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002619/0.5414, allocations: 202.8 kB / 1.409 GB, free: 10.66 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007881/0.5422, allocations: 283.3 kB / 1.409 GB, free: 10.38 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.546, allocations: 1.947 MB / 1.411 GB, free: 8.395 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.5461, allocations: 102.7 kB / 1.411 GB, free: 8.293 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.5463, allocations: 147.9 kB / 1.411 GB, free: 8.148 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.5491, allocations: 1.52 MB / 1.413 GB, free: 6.551 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.487e-05/0.5491, allocations: 0 / 1.413 GB, free: 6.551 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.5493, allocations: 60 kB / 1.413 GB, free: 6.492 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.292e-05/0.5493, allocations: 40 kB / 1.413 GB, free: 6.453 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.5516, allocations: 1.126 MB / 1.414 GB, free: 5.32 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.01037/0.562, allocations: 7.521 MB / 1.421 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.563, allocations: 452.3 kB / 1.422 GB, free: 12.77 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006367/0.5637, allocations: 310.2 kB / 1.422 GB, free: 12.47 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/0.5641, allocations: 112.3 kB / 1.422 GB, free: 12.36 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.5641, allocations: 39.06 kB / 1.422 GB, free: 12.31 MB / 1.123 GB Notification: Performance of pre-optimization done (n=59): time 2.435e-06/0.5641, allocations: 0 / 1.422 GB, free: 12.31 MB / 1.123 GB Notification: Performance of matching and sorting (n=59): time 0.002418/0.5665, allocations: 0.9682 MB / 1.423 GB, free: 11.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.5666, allocations: 55.91 kB / 1.423 GB, free: 11.27 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.5692, allocations: 1.799 MB / 1.425 GB, free: 9.434 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.5693, allocations: 45.7 kB / 1.425 GB, free: 9.383 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009002/0.5702, allocations: 0.9451 MB / 1.426 GB, free: 8.43 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.5705, allocations: 230.1 kB / 1.426 GB, free: 8.203 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003204/0.5709, allocations: 226.8 kB / 1.426 GB, free: 7.977 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.5711, allocations: 357.9 kB / 1.427 GB, free: 7.621 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.5718, allocations: 334.4 kB / 1.427 GB, free: 7.293 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.5729, allocations: 0.686 MB / 1.428 GB, free: 6.457 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.5746, allocations: 1.013 MB / 1.429 GB, free: 5.305 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.5746, allocations: 7.938 kB / 1.429 GB, free: 5.297 MB / 1.123 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00256/0.5771, allocations: 1.222 MB / 1.43 GB, free: 4.07 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.5772, allocations: 8 kB / 1.43 GB, free: 4.062 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.5772, allocations: 15.94 kB / 1.43 GB, free: 4.047 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.5772, allocations: 12.81 kB / 1.43 GB, free: 4.035 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5782, allocations: 303.5 kB / 1.43 GB, free: 3.738 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.66e-05/0.5783, allocations: 19.94 kB / 1.43 GB, free: 3.719 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.5796, allocations: 166.9 kB / 1.43 GB, free: 3.555 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/0.5797, allocations: 55.98 kB / 1.43 GB, free: 3.5 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.0008146/0.5805, allocations: 441.3 kB / 1.431 GB, free: 3.059 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.5809, allocations: 202.7 kB / 1.431 GB, free: 2.859 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.5827, allocations: 0.877 MB / 1.432 GB, free: 1.98 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.5827, allocations: 8 kB / 1.432 GB, free: 1.973 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5827, allocations: 0 / 1.432 GB, free: 1.973 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/0.5841, allocations: 0.8018 MB / 1.433 GB, free: 1.121 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/0.5886, allocations: 2.437 MB / 1.435 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.5886, allocations: 4 kB / 1.435 GB, free: 14.59 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/0.5894, allocations: 179.8 kB / 1.435 GB, free: 14.42 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.5894, allocations: 4 kB / 1.435 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.5895, allocations: 16 kB / 1.435 GB, free: 14.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.5895, allocations: 11.95 kB / 1.435 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5895, allocations: 4 kB / 1.435 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.5921, allocations: 1.363 MB / 1.437 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008196/0.5929, allocations: 302.4 kB / 1.437 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.5931, allocations: 15.94 kB / 1.437 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009069/0.594, allocations: 59.92 kB / 1.437 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.5942, allocations: 52.41 kB / 1.437 GB, free: 12.56 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/0.5942, allocations: 39.97 kB / 1.437 GB, free: 12.52 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0019/0.5961, allocations: 1.247 MB / 1.438 GB, free: 11.25 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5961, allocations: 0 / 1.438 GB, free: 11.25 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001894/0.598, allocations: 0.6587 MB / 1.439 GB, free: 10.59 MB / 1.139 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.00393/0.602, allocations: 2.395 MB / 1.441 GB, free: 8.148 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.6039, allocations: 0.7845 MB / 1.442 GB, free: 7.359 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6039, allocations: 0 / 1.442 GB, free: 7.359 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007172/0.6046, allocations: 344 kB / 1.442 GB, free: 7.027 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005231/0.6098, allocations: 1.199 MB / 1.444 GB, free: 5.852 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/0.6315, allocations: 12.65 MB / 1.456 GB, free: 8.684 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.6327, allocations: 1.401 MB / 1.457 GB, free: 7.246 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001566/0.6343, allocations: 381.1 kB / 1.458 GB, free: 6.879 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.6354, allocations: 0.7687 MB / 1.458 GB, free: 6.109 MB / 1.154 GB Notification: Performance of SimCode: time 1.002e-06/0.6354, allocations: 4 kB / 1.458 GB, free: 6.105 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/0.7561, allocations: 58.54 MB / 1.516 GB, free: 12.27 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/16.19, allocations: 10.75 kB / 1.516 GB, free: 12.27 MB / 1.217 GB " [Timeout remaining time 283] (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: 22.905866611981764]