Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001732/0.001732, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001819/0.001819, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 472.6 MB / 0.7447 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 71.41 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3845, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07968/0.4642, allocations: 76.67 MB / 1.142 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03096/0.4952, allocations: 18.97 MB / 1.161 GB, free: 10.88 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00494/0.5002, allocations: 107.2 kB / 1.161 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004265/0.5046, allocations: 1.033 MB / 1.162 GB, free: 9.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.5175, allocations: 3.367 MB / 1.165 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006593/0.5241, allocations: 1.904 MB / 1.167 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01271/0.5368, allocations: 8.89 MB / 1.176 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004201/0.541, allocations: 1.733 MB / 1.178 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005413/0.5465, allocations: 1.944 MB / 1.179 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/0.5507, allocations: 1.769 MB / 1.181 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007485/0.5514, allocations: 99.94 kB / 1.181 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005835/0.5573, allocations: 1.461 MB / 1.183 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.5587, allocations: 446 kB / 1.183 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003302/0.562, allocations: 1.146 MB / 1.184 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.008099/0.5701, allocations: 3.638 MB / 1.188 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.5701, allocations: 0 / 1.188 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5702, allocations: 4 kB / 1.188 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001408/0.5703, allocations: 0 / 1.188 GB, free: 15.24 MB / 0.9512 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.007606/0.5779, allocations: 2.703 MB / 1.19 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.578, allocations: 8.031 kB / 1.19 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.579, allocations: 265.9 kB / 1.191 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003921/0.583, allocations: 1.984 MB / 1.193 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.951e-05/0.5831, allocations: 102.7 kB / 1.193 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.5833, allocations: 143.9 kB / 1.193 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/0.5864, allocations: 1.52 MB / 1.194 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.52e-05/0.5865, allocations: 4 kB / 1.194 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.5866, allocations: 60 kB / 1.194 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.756e-05/0.5867, allocations: 39.98 kB / 1.194 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/0.5894, allocations: 1.122 MB / 1.196 GB, free: 7.094 MB / 0.9512 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.009742/0.5992, allocations: 7.575 MB / 1.203 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.6003, allocations: 490.5 kB / 1.203 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/0.601, allocations: 330.4 kB / 1.204 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009533/0.602, allocations: 1.156 MB / 1.205 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.602, allocations: 43.11 kB / 1.205 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 1.393e-05/0.602, allocations: 0 / 1.205 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002517/0.6046, allocations: 0.9612 MB / 1.206 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.6046, allocations: 59.97 kB / 1.206 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.6073, allocations: 1.755 MB / 1.208 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.654e-05/0.6074, allocations: 49.7 kB / 1.208 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008256/0.6082, allocations: 0.9356 MB / 1.209 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.6085, allocations: 213 kB / 1.209 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/0.6088, allocations: 230.6 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.609, allocations: 353.9 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/0.6097, allocations: 334.4 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.6108, allocations: 0.6821 MB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.6125, allocations: 1.016 MB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.6125, allocations: 4 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002545/0.6151, allocations: 1.213 MB / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.6151, allocations: 8 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.6151, allocations: 12 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.6152, allocations: 16.81 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.6163, allocations: 287.6 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.6163, allocations: 19.94 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.6179, allocations: 238.4 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/0.618, allocations: 55.98 kB / 1.213 GB, free: 3.871 MB / 0.9669 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.0008536/0.6189, allocations: 441.3 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.6194, allocations: 193.7 kB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.6213, allocations: 0.8635 MB / 1.215 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.6214, allocations: 4 kB / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.6214, allocations: 4 kB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001388/0.6228, allocations: 0.7956 MB / 1.215 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.6273, allocations: 2.431 MB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.6273, allocations: 3.938 kB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.6282, allocations: 184 kB / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.6282, allocations: 4 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.6283, allocations: 19.94 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.6283, allocations: 8 kB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.6283, allocations: 7.984 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.6309, allocations: 1.335 MB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007397/0.6316, allocations: 366.4 kB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/0.632, allocations: 20 kB / 1.22 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.6333, allocations: 115.7 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.6334, allocations: 44.5 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/0.6335, allocations: 43.91 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001913/0.6354, allocations: 1.216 MB / 1.221 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.126e-06/0.6354, allocations: 0 / 1.221 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002019/0.6374, allocations: 0.6433 MB / 1.222 GB, free: 10.91 MB / 0.9825 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.001364/0.6388, allocations: 0.5781 MB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.6407, allocations: 0.8195 MB / 1.223 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6407, allocations: 0 / 1.223 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.6415, allocations: 352.4 kB / 1.223 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006251/0.6478, allocations: 1.209 MB / 1.225 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/0.6537, allocations: 3.735 MB / 1.228 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.6549, allocations: 1.409 MB / 1.23 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001932/0.6569, allocations: 387 kB / 1.23 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.6573, allocations: 143.4 kB / 1.23 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of SimCode: time 8.01e-07/0.6573, allocations: 3.938 kB / 1.23 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of Templates: time 0.6861/1.343, allocations: 39.84 MB / 1.269 GB, free: 169.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches