Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001757/0.001758, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001993/0.001993, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.509/1.509, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.828/2.828, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.89 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7169, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.11/0.8269, allocations: 76.52 MB / 1.092 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03791/0.8649, allocations: 18.75 MB / 1.11 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003951/0.8689, allocations: 99.38 kB / 1.11 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.8728, allocations: 1.084 MB / 1.111 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00944/0.8822, allocations: 3.395 MB / 1.114 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00532/0.8876, allocations: 1.92 MB / 1.116 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009351/0.8969, allocations: 6.718 MB / 1.123 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003132/0.9001, allocations: 2.053 MB / 1.125 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005328/0.9054, allocations: 2.346 MB / 1.127 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.9085, allocations: 1.808 MB / 1.129 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004425/0.9089, allocations: 200 kB / 1.129 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004089/0.913, allocations: 1.641 MB / 1.131 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006599/0.9137, allocations: 0.541 MB / 1.131 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.9155, allocations: 1.248 MB / 1.132 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005545/0.9211, allocations: 3.724 MB / 1.136 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9211, allocations: 0 / 1.136 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9211, allocations: 0 / 1.136 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.758e-05/0.9211, allocations: 4 kB / 1.136 GB, free: 8.27 MB / 0.8887 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.004802/0.926, allocations: 2.711 MB / 1.139 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.926, allocations: 8.031 kB / 1.139 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007419/0.9268, allocations: 270 kB / 1.139 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/0.9301, allocations: 1.976 MB / 1.141 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.9302, allocations: 110.7 kB / 1.141 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.9304, allocations: 140 kB / 1.141 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.9332, allocations: 1.512 MB / 1.143 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.9332, allocations: 7.984 kB / 1.143 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.9334, allocations: 63.94 kB / 1.143 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/0.9334, allocations: 36 kB / 1.143 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.9356, allocations: 1.122 MB / 1.144 GB, free: 124 kB / 0.8887 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.01095/0.9466, allocations: 7.579 MB / 1.151 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.9476, allocations: 480.6 kB / 1.152 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.9483, allocations: 331.9 kB / 1.152 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.9493, allocations: 1.152 MB / 1.153 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.9494, allocations: 47.12 kB / 1.153 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 2.706e-06/0.9494, allocations: 0 / 1.153 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.002428/0.9518, allocations: 0.9612 MB / 1.154 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.9519, allocations: 59.97 kB / 1.154 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/0.9543, allocations: 1.759 MB / 1.156 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.9544, allocations: 41.7 kB / 1.156 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008792/0.9553, allocations: 0.9278 MB / 1.157 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.9556, allocations: 224.9 kB / 1.157 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.9559, allocations: 230.7 kB / 1.157 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.9561, allocations: 349.9 kB / 1.158 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007146/0.9568, allocations: 326.4 kB / 1.158 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.9579, allocations: 0.6899 MB / 1.159 GB, free: 15.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.9596, allocations: 1.012 MB / 1.159 GB, free: 14.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.9596, allocations: 4 kB / 1.159 GB, free: 14.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002412/0.962, allocations: 1.217 MB / 1.161 GB, free: 13.53 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.9621, allocations: 12 kB / 1.161 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.9621, allocations: 8 kB / 1.161 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.9621, allocations: 16 kB / 1.161 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.9631, allocations: 292.3 kB / 1.161 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-05/0.9632, allocations: 23.92 kB / 1.161 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.9646, allocations: 242.4 kB / 1.161 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.214e-05/0.9647, allocations: 51.98 kB / 1.161 GB, free: 12.89 MB / 0.92 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.0007201/0.9654, allocations: 437.3 kB / 1.162 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.9658, allocations: 193.7 kB / 1.162 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.9676, allocations: 0.8606 MB / 1.163 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.9676, allocations: 11.98 kB / 1.163 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9676, allocations: 3.938 kB / 1.163 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/0.9691, allocations: 0.7995 MB / 1.164 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/0.9732, allocations: 2.424 MB / 1.166 GB, free: 8.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.9733, allocations: 15.88 kB / 1.166 GB, free: 8.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007907/0.9741, allocations: 180 kB / 1.166 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.9741, allocations: 4 kB / 1.166 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.9741, allocations: 19.98 kB / 1.166 GB, free: 7.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.9741, allocations: 4 kB / 1.166 GB, free: 7.805 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9742, allocations: 4 kB / 1.166 GB, free: 7.801 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.9767, allocations: 1.335 MB / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.9774, allocations: 366.4 kB / 1.168 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.9777, allocations: 15.98 kB / 1.168 GB, free: 6.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.9788, allocations: 115.7 kB / 1.168 GB, free: 5.918 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.9789, allocations: 52.44 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.979, allocations: 31.97 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001855/0.9808, allocations: 1.22 MB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9809, allocations: 4 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001727/0.9826, allocations: 0.6395 MB / 1.17 GB, free: 3.953 MB / 0.92 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.001199/0.9838, allocations: 0.5856 MB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00213/0.9859, allocations: 0.886 MB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.986, allocations: 4 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.9867, allocations: 356.3 kB / 1.172 GB, free: 2.133 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005232/0.9919, allocations: 1.212 MB / 1.173 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/0.9977, allocations: 3.738 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.9988, allocations: 1.42 MB / 1.178 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00165/1.001, allocations: 380 kB / 1.178 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/1.001, allocations: 151.4 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of SimCode: time 8.52e-07/1.001, allocations: 0 / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of Templates: time 0.07387/1.075, allocations: 40.76 MB / 1.218 GB, free: 2.988 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches