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.00134/0.00134, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001596/0.001596, allocations: 214.8 kB / 23.04 MB, free: 5.078 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8 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.725/2.725, allocations: 476.7 MB / 0.7715 GB, free: 4.285 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.00197/0.00197, allocations: 62.83 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2879, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08968/0.3775, allocations: 78.79 MB / 1.361 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02968/0.4072, allocations: 18.97 MB / 1.38 GB, free: 9.629 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004648/0.4119, allocations: 154.7 kB / 1.38 GB, free: 9.477 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004354/0.4162, allocations: 1.304 MB / 1.381 GB, free: 8.164 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.4281, allocations: 3.89 MB / 1.385 GB, free: 4.258 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006309/0.4344, allocations: 2.184 MB / 1.387 GB, free: 2.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01256/0.4469, allocations: 6.858 MB / 1.394 GB, free: 11.21 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004039/0.451, allocations: 1.591 MB / 1.395 GB, free: 9.574 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007107/0.4581, allocations: 2.416 MB / 1.398 GB, free: 7.164 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0044/0.4625, allocations: 1.855 MB / 1.399 GB, free: 5.301 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00079/0.4633, allocations: 200 kB / 1.4 GB, free: 5.105 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005008/0.4683, allocations: 1.766 MB / 1.401 GB, free: 3.336 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.4696, allocations: 0.5679 MB / 1.402 GB, free: 2.766 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.4722, allocations: 1.252 MB / 1.403 GB, free: 1.508 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008789/0.481, allocations: 3.846 MB / 1.407 GB, free: 13.65 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.481, allocations: 0 / 1.407 GB, free: 13.65 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.783e-06/0.481, allocations: 0 / 1.407 GB, free: 13.65 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001398/0.4811, allocations: 0 / 1.407 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.006685/0.4878, allocations: 2.711 MB / 1.409 GB, free: 10.89 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.4879, allocations: 12.03 kB / 1.409 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.418e-05/0.4879, allocations: 38.89 kB / 1.41 GB, free: 10.84 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004061/0.4883, allocations: 206.8 kB / 1.41 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.4893, allocations: 283 kB / 1.41 GB, free: 10.35 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004457/0.4938, allocations: 1.963 MB / 1.412 GB, free: 8.344 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.494, allocations: 110.7 kB / 1.412 GB, free: 8.234 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/0.4943, allocations: 144 kB / 1.412 GB, free: 8.094 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/0.4977, allocations: 1.513 MB / 1.414 GB, free: 6.504 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.69e-05/0.4978, allocations: 11.92 kB / 1.414 GB, free: 6.492 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.4979, allocations: 56 kB / 1.414 GB, free: 6.438 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.763e-05/0.498, allocations: 39.98 kB / 1.414 GB, free: 6.398 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.5009, allocations: 1.13 MB / 1.415 GB, free: 5.262 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.01295/0.5139, allocations: 7.518 MB / 1.422 GB, free: 13.17 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.515, allocations: 448.3 kB / 1.423 GB, free: 12.72 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006491/0.5156, allocations: 308.2 kB / 1.423 GB, free: 12.42 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003919/0.516, allocations: 100.4 kB / 1.423 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.516, allocations: 51.06 kB / 1.423 GB, free: 12.27 MB / 1.123 GB Notification: Performance of pre-optimization done (n=59): time 2.404e-06/0.516, allocations: 0 / 1.423 GB, free: 12.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=59): time 0.002719/0.5188, allocations: 0.9682 MB / 1.424 GB, free: 11.29 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.5188, allocations: 59.91 kB / 1.424 GB, free: 11.22 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/0.5221, allocations: 1.795 MB / 1.426 GB, free: 9.387 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.5222, allocations: 41.7 kB / 1.426 GB, free: 9.34 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009226/0.5231, allocations: 0.949 MB / 1.427 GB, free: 8.383 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.5235, allocations: 222.1 kB / 1.427 GB, free: 8.164 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004614/0.5239, allocations: 238.8 kB / 1.427 GB, free: 7.926 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0003725/0.5243, allocations: 349.9 kB / 1.428 GB, free: 7.578 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.5253, allocations: 330.4 kB / 1.428 GB, free: 7.254 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.5265, allocations: 0.6938 MB / 1.429 GB, free: 6.41 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.5286, allocations: 1.009 MB / 1.43 GB, free: 5.262 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.5286, allocations: 4 kB / 1.43 GB, free: 5.258 MB / 1.123 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002801/0.5314, allocations: 1.231 MB / 1.431 GB, free: 4.02 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5314, allocations: 8 kB / 1.431 GB, free: 4.012 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.5314, allocations: 12 kB / 1.431 GB, free: 4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.5314, allocations: 16 kB / 1.431 GB, free: 3.984 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.5325, allocations: 287.7 kB / 1.431 GB, free: 3.703 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/0.5325, allocations: 27.92 kB / 1.431 GB, free: 3.676 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.534, allocations: 170.9 kB / 1.431 GB, free: 3.508 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.534, allocations: 48 kB / 1.431 GB, free: 3.461 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.0008531/0.5349, allocations: 441.3 kB / 1.432 GB, free: 3.02 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004104/0.5353, allocations: 206.7 kB / 1.432 GB, free: 2.816 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.5375, allocations: 0.8672 MB / 1.433 GB, free: 1.941 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.5375, allocations: 19.98 kB / 1.433 GB, free: 1.922 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5375, allocations: 3.938 kB / 1.433 GB, free: 1.918 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001767/0.5393, allocations: 0.794 MB / 1.434 GB, free: 1.074 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005092/0.5444, allocations: 2.437 MB / 1.436 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5444, allocations: 0 / 1.436 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008395/0.5452, allocations: 184 kB / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.5452, allocations: 4 kB / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.5453, allocations: 16 kB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.5453, allocations: 4 kB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.5453, allocations: 7.938 kB / 1.436 GB, free: 14.33 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.5484, allocations: 1.363 MB / 1.437 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000906/0.5493, allocations: 302.3 kB / 1.438 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.5495, allocations: 19.94 kB / 1.438 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.5505, allocations: 67.84 kB / 1.438 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.5507, allocations: 48.42 kB / 1.438 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.904e-05/0.5508, allocations: 43.91 kB / 1.438 GB, free: 12.46 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002026/0.5528, allocations: 1.247 MB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5528, allocations: 0 / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002049/0.5549, allocations: 0.6588 MB / 1.44 GB, free: 10.54 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.004273/0.5592, allocations: 2.384 MB / 1.442 GB, free: 8.105 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.5612, allocations: 0.7888 MB / 1.443 GB, free: 7.32 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5612, allocations: 0 / 1.443 GB, free: 7.32 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.562, allocations: 339.6 kB / 1.443 GB, free: 6.992 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005706/0.5677, allocations: 1.204 MB / 1.444 GB, free: 5.809 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/0.5896, allocations: 12.65 MB / 1.457 GB, free: 8.629 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.5908, allocations: 1.401 MB / 1.458 GB, free: 7.191 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001606/0.5924, allocations: 389.5 kB / 1.458 GB, free: 6.816 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/0.5935, allocations: 0.7648 MB / 1.459 GB, free: 6.051 MB / 1.154 GB Notification: Performance of SimCode: time 1.253e-06/0.5935, allocations: 0 / 1.459 GB, free: 6.051 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/0.7084, allocations: 58.57 MB / 1.516 GB, free: 12.2 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.77, allocations: 10.64 kB / 1.516 GB, free: 12.2 MB / 1.217 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: 22.57156033598585]