Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 104.8 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 200 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 66.31 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.289, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0786/0.3677, allocations: 76.5 MB / 1.024 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02753/0.3953, allocations: 18.75 MB / 1.043 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004428/0.3998, allocations: 103.3 kB / 1.043 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004102/0.4039, allocations: 1.088 MB / 1.044 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.4146, allocations: 3.387 MB / 1.047 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005853/0.4204, allocations: 1.932 MB / 1.049 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01031/0.4308, allocations: 6.721 MB / 1.056 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004157/0.435, allocations: 2.067 MB / 1.058 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006589/0.4416, allocations: 2.339 MB / 1.06 GB, free: 8 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003468/0.4451, allocations: 1.808 MB / 1.062 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008308/0.446, allocations: 200 kB / 1.062 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00488/0.4509, allocations: 1.641 MB / 1.064 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.4521, allocations: 0.5332 MB / 1.064 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002948/0.455, allocations: 1.26 MB / 1.065 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.4603, allocations: 2.888 MB / 1.068 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4604, allocations: 0 / 1.068 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4604, allocations: 0 / 1.068 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001416/0.4605, allocations: 0 / 1.068 GB, free: 15.65 MB / 0.8575 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.006438/0.467, allocations: 2.711 MB / 1.071 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.467, allocations: 12.02 kB / 1.071 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.4681, allocations: 266 kB / 1.071 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/0.4721, allocations: 1.98 MB / 1.073 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.4723, allocations: 106.7 kB / 1.073 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003633/0.4726, allocations: 147.9 kB / 1.073 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/0.4762, allocations: 1.513 MB / 1.075 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.4763, allocations: 15.83 kB / 1.075 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.4765, allocations: 56 kB / 1.075 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.787e-05/0.4765, allocations: 40 kB / 1.075 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.479, allocations: 1.126 MB / 1.076 GB, free: 7.484 MB / 0.8575 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.5208/0.9998, allocations: 7.559 MB / 1.083 GB, free: 130.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/1.001, allocations: 482.6 kB / 1.084 GB, free: 130.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007247/1.002, allocations: 335.5 kB / 1.084 GB, free: 130.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/1.003, allocations: 1.15 MB / 1.085 GB, free: 129.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/1.003, allocations: 44.41 kB / 1.085 GB, free: 129.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=59): time 2.394e-06/1.003, allocations: 3.875 kB / 1.085 GB, free: 129.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59): time 0.002844/1.006, allocations: 0.9592 MB / 1.086 GB, free: 129.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/1.006, allocations: 57.44 kB / 1.086 GB, free: 129.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/1.008, allocations: 1.76 MB / 1.088 GB, free: 128.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/1.009, allocations: 43.17 kB / 1.088 GB, free: 128.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008927/1.01, allocations: 0.9258 MB / 1.089 GB, free: 128.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/1.01, allocations: 221.9 kB / 1.089 GB, free: 128 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/1.01, allocations: 228.2 kB / 1.089 GB, free: 127.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.01, allocations: 348.9 kB / 1.09 GB, free: 127.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008088/1.011, allocations: 327.5 kB / 1.09 GB, free: 127.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/1.012, allocations: 0.6951 MB / 1.091 GB, free: 126.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/1.014, allocations: 1.011 MB / 1.092 GB, free: 126.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.014, allocations: 2.312 kB / 1.092 GB, free: 126.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002894/1.017, allocations: 1.22 MB / 1.093 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/1.017, allocations: 10.17 kB / 1.093 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/1.017, allocations: 10.38 kB / 1.093 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.033e-05/1.017, allocations: 19.27 kB / 1.093 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.018, allocations: 289.2 kB / 1.093 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.866e-05/1.018, allocations: 21.38 kB / 1.093 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/1.02, allocations: 239.7 kB / 1.093 GB, free: 125.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.02, allocations: 50.17 kB / 1.093 GB, free: 125.7 MB / 0.8575 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.0008456/1.021, allocations: 446.9 kB / 1.094 GB, free: 125.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/1.021, allocations: 191.4 kB / 1.094 GB, free: 125.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/1.023, allocations: 0.8632 MB / 1.095 GB, free: 124.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/1.023, allocations: 11.22 kB / 1.095 GB, free: 124.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.023, allocations: 9.844 kB / 1.095 GB, free: 124.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/1.025, allocations: 0.7939 MB / 1.096 GB, free: 124.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00488/1.03, allocations: 2.434 MB / 1.098 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.03, allocations: 2.344 kB / 1.098 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000852/1.03, allocations: 182.1 kB / 1.098 GB, free: 123.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/1.031, allocations: 4.75 kB / 1.098 GB, free: 123.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/1.031, allocations: 23.08 kB / 1.098 GB, free: 123.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.031, allocations: 7.688 kB / 1.098 GB, free: 123.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.031, allocations: 3.297 kB / 1.098 GB, free: 123.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/1.033, allocations: 1.336 MB / 1.1 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008322/1.034, allocations: 364.4 kB / 1.1 GB, free: 122.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/1.034, allocations: 13.16 kB / 1.1 GB, free: 122.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.035, allocations: 118.9 kB / 1.1 GB, free: 122.4 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.036, allocations: 56.42 kB / 1.1 GB, free: 122.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.761e-05/1.036, allocations: 34.31 kB / 1.1 GB, free: 122.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002207/1.038, allocations: 1.217 MB / 1.101 GB, free: 121.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.038, allocations: 0 / 1.101 GB, free: 121.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002188/1.04, allocations: 0.6406 MB / 1.102 GB, free: 121.8 MB / 0.8575 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.00157/1.042, allocations: 0.5875 MB / 1.103 GB, free: 121.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002556/1.044, allocations: 0.8912 MB / 1.103 GB, free: 121.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/1.044, allocations: 1.094 kB / 1.103 GB, free: 121.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008648/1.045, allocations: 356.3 kB / 1.104 GB, free: 121.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006029/1.051, allocations: 1.207 MB / 1.105 GB, free: 121 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/1.058, allocations: 3.773 MB / 1.109 GB, free: 118.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/1.059, allocations: 1.388 MB / 1.11 GB, free: 117.9 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/1.059, allocations: 160.5 kB / 1.11 GB, free: 117.9 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/1.06, allocations: 0 / 1.11 GB, free: 117.9 MB / 0.8575 GB Notification: Performance of Templates: time 0.06082/1.12, allocations: 34.44 MB / 1.144 GB, free: 101.3 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches