Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001798/0.001798, allocations: 110.4 kB / 16.46 MB, free: 6.508 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.002122/0.002122, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.393/1.393, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.986/2.986, allocations: 0.49 GB / 0.7916 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_12_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.002009/0.002009, allocations: 69.66 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.346, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08452/0.4305, allocations: 78.18 MB / 1.397 GB, free: 4.832 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02972/0.4602, allocations: 18.92 MB / 1.416 GB, free: 1.867 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004057/0.4643, allocations: 154.7 kB / 1.416 GB, free: 1.715 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00404/0.4683, allocations: 1.304 MB / 1.417 GB, free: 412 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.4799, allocations: 3.815 MB / 1.421 GB, free: 12.57 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005926/0.4858, allocations: 2.111 MB / 1.423 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01014/0.496, allocations: 6.692 MB / 1.429 GB, free: 3.77 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003522/0.4995, allocations: 1.704 MB / 1.431 GB, free: 2.016 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007097/0.5066, allocations: 2.71 MB / 1.434 GB, free: 15.31 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/0.51, allocations: 1.843 MB / 1.436 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006192/0.5106, allocations: 204 kB / 1.436 GB, free: 13.26 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004434/0.515, allocations: 1.716 MB / 1.437 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009539/0.516, allocations: 0.564 MB / 1.438 GB, free: 10.98 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002608/0.5186, allocations: 1.248 MB / 1.439 GB, free: 9.723 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00789/0.5265, allocations: 3.862 MB / 1.443 GB, free: 5.848 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5265, allocations: 0 / 1.443 GB, free: 5.848 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5265, allocations: 0 / 1.443 GB, free: 5.848 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001328/0.5266, allocations: 4 kB / 1.443 GB, free: 5.844 MB / 1.139 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.006293/0.5329, allocations: 2.794 MB / 1.446 GB, free: 2.98 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.533, allocations: 11.98 kB / 1.446 GB, free: 2.969 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000413/0.5334, allocations: 202.8 kB / 1.446 GB, free: 2.762 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009948/0.5344, allocations: 279.3 kB / 1.446 GB, free: 2.488 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004261/0.5386, allocations: 2.056 MB / 1.448 GB, free: 392 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.5387, allocations: 102.7 kB / 1.448 GB, free: 288 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.539, allocations: 148 kB / 1.448 GB, free: 140 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/0.5422, allocations: 1.52 MB / 1.45 GB, free: 14.54 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.5422, allocations: 3.938 kB / 1.45 GB, free: 14.53 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.5424, allocations: 60 kB / 1.45 GB, free: 14.47 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/0.5424, allocations: 39.98 kB / 1.45 GB, free: 14.43 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.545, allocations: 1.122 MB / 1.451 GB, free: 13.3 MB / 1.154 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.01038/0.5554, allocations: 7.937 MB / 1.459 GB, free: 4.719 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.5565, allocations: 449.7 kB / 1.459 GB, free: 4.273 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/0.5572, allocations: 310.9 kB / 1.46 GB, free: 3.969 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.5583, allocations: 1.156 MB / 1.461 GB, free: 2.551 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.5583, allocations: 51.06 kB / 1.461 GB, free: 2.492 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.254e-06/0.5583, allocations: 0 / 1.461 GB, free: 2.492 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002523/0.5608, allocations: 0.9778 MB / 1.462 GB, free: 1.508 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.5609, allocations: 59.97 kB / 1.462 GB, free: 1.438 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.5638, allocations: 1.791 MB / 1.463 GB, free: 15.61 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.435e-05/0.5639, allocations: 49.7 kB / 1.464 GB, free: 15.55 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008981/0.5648, allocations: 0.9451 MB / 1.464 GB, free: 14.6 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.565, allocations: 230.1 kB / 1.465 GB, free: 14.38 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.5654, allocations: 226.8 kB / 1.465 GB, free: 14.15 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5656, allocations: 345.9 kB / 1.465 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007685/0.5663, allocations: 334.4 kB / 1.466 GB, free: 13.48 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.5674, allocations: 0.686 MB / 1.466 GB, free: 12.64 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.5693, allocations: 1.016 MB / 1.467 GB, free: 11.48 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.5693, allocations: 8 kB / 1.467 GB, free: 11.47 MB / 1.17 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002651/0.5719, allocations: 1.226 MB / 1.468 GB, free: 10.24 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.5719, allocations: 8 kB / 1.468 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.572, allocations: 12.84 kB / 1.468 GB, free: 10.22 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.572, allocations: 12 kB / 1.468 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.5731, allocations: 291.6 kB / 1.469 GB, free: 9.926 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.17e-05/0.5731, allocations: 23.92 kB / 1.469 GB, free: 9.902 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.5745, allocations: 166.9 kB / 1.469 GB, free: 9.738 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.5746, allocations: 52 kB / 1.469 GB, free: 9.688 MB / 1.17 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.0007829/0.5754, allocations: 449.3 kB / 1.469 GB, free: 9.238 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005328/0.5759, allocations: 202.7 kB / 1.47 GB, free: 9.039 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.578, allocations: 0.8642 MB / 1.47 GB, free: 8.172 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.578, allocations: 7.984 kB / 1.47 GB, free: 8.164 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.578, allocations: 4 kB / 1.47 GB, free: 8.16 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001494/0.5795, allocations: 0.7917 MB / 1.471 GB, free: 7.316 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.5845, allocations: 2.455 MB / 1.474 GB, free: 4.773 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5845, allocations: 0 / 1.474 GB, free: 4.773 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.5853, allocations: 183.7 kB / 1.474 GB, free: 4.594 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.5853, allocations: 7.938 kB / 1.474 GB, free: 4.586 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.5854, allocations: 19.98 kB / 1.474 GB, free: 4.566 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.5854, allocations: 8.062 kB / 1.474 GB, free: 4.559 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5854, allocations: 0 / 1.474 GB, free: 4.559 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.5882, allocations: 1.353 MB / 1.475 GB, free: 3.156 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008184/0.5891, allocations: 375.5 kB / 1.475 GB, free: 2.77 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/0.5894, allocations: 16 kB / 1.475 GB, free: 2.754 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.5906, allocations: 59.86 kB / 1.476 GB, free: 2.695 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5908, allocations: 56.42 kB / 1.476 GB, free: 2.641 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.39e-05/0.5908, allocations: 35.98 kB / 1.476 GB, free: 2.605 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002174/0.593, allocations: 1.251 MB / 1.477 GB, free: 1.336 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.593, allocations: 0 / 1.477 GB, free: 1.336 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002132/0.5951, allocations: 0.6665 MB / 1.477 GB, free: 0.668 MB / 1.17 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.0042/0.5993, allocations: 2.373 MB / 1.48 GB, free: 14.25 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.6012, allocations: 0.7764 MB / 1.481 GB, free: 13.47 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.6012, allocations: 3.938 kB / 1.481 GB, free: 13.46 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008071/0.602, allocations: 340.5 kB / 1.481 GB, free: 13.14 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005924/0.608, allocations: 1.194 MB / 1.482 GB, free: 11.96 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/0.6309, allocations: 12.69 MB / 1.494 GB, free: 14.77 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.6322, allocations: 1.409 MB / 1.496 GB, free: 13.32 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001619/0.6338, allocations: 380.2 kB / 1.496 GB, free: 12.96 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.635, allocations: 0.7648 MB / 1.497 GB, free: 12.19 MB / 1.201 GB Notification: Performance of SimCode: time 1.402e-06/0.635, allocations: 4 kB / 1.497 GB, free: 12.19 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.748, allocations: 57.84 MB / 1.553 GB, free: 2.961 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.37, allocations: 12.05 kB / 1.553 GB, free: 2.949 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.907357600983232]