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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009126/0.0009124, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.007191/0.007191, allocations: 171.3 kB / 16.26 MB, free: 6.68 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 462.7 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 19.78 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3707, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06827/0.439, allocations: 75.31 MB / 1.132 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03095/0.47, allocations: 18.76 MB / 1.151 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005266/0.4754, allocations: 95.31 kB / 1.151 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003783/0.4792, allocations: 1.026 MB / 1.152 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.4906, allocations: 3.371 MB / 1.155 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005973/0.4966, allocations: 1.912 MB / 1.157 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.5078, allocations: 8.885 MB / 1.165 GB, free: 7.824 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.5108, allocations: 1.679 MB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/0.5153, allocations: 1.893 MB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/0.5179, allocations: 1.691 MB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.5181, allocations: 76 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.5219, allocations: 1.442 MB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004437/0.5223, allocations: 410 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.5236, allocations: 1.129 MB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.5277, allocations: 3.563 MB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5278, allocations: 0 / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5278, allocations: 4 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.053e-05/0.5278, allocations: 0 / 1.177 GB, free: 11.86 MB / 0.9356 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.003696/0.5315, allocations: 2.287 MB / 1.179 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5316, allocations: 12.03 kB / 1.179 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005595/0.5321, allocations: 262 kB / 1.18 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.5349, allocations: 1.98 MB / 1.181 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/0.535, allocations: 110.7 kB / 1.182 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.5352, allocations: 144 kB / 1.182 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.5377, allocations: 1.536 MB / 1.183 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.5378, allocations: 4 kB / 1.183 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.5379, allocations: 60 kB / 1.183 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/0.5379, allocations: 43.98 kB / 1.183 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.5401, allocations: 1.169 MB / 1.184 GB, free: 4.062 MB / 0.9356 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.007977/0.5481, allocations: 7.595 MB / 1.192 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009486/0.5491, allocations: 494.1 kB / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006415/0.5497, allocations: 351.6 kB / 1.193 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008339/0.5506, allocations: 1.16 MB / 1.194 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.5506, allocations: 43.16 kB / 1.194 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 2.264e-06/0.5506, allocations: 0 / 1.194 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.002316/0.5529, allocations: 1.024 MB / 1.195 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.553, allocations: 59.97 kB / 1.195 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.5552, allocations: 1.755 MB / 1.197 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.279e-05/0.5553, allocations: 45.7 kB / 1.197 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007729/0.5561, allocations: 0.9356 MB / 1.198 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.5563, allocations: 212.9 kB / 1.198 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.5564, allocations: 101.7 kB / 1.198 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5566, allocations: 345.9 kB / 1.198 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/0.5573, allocations: 358.3 kB / 1.199 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/0.5583, allocations: 0.7095 MB / 1.199 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.5599, allocations: 1.059 MB / 1.2 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.56, allocations: 0 / 1.2 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002174/0.5621, allocations: 1.265 MB / 1.202 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5622, allocations: 8 kB / 1.202 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.5622, allocations: 12 kB / 1.202 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.5622, allocations: 16 kB / 1.202 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.5633, allocations: 315.7 kB / 1.202 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/0.5633, allocations: 23.92 kB / 1.202 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.5648, allocations: 246.4 kB / 1.202 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.5649, allocations: 52 kB / 1.202 GB, free: 0.6953 MB / 0.9512 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.0006549/0.5656, allocations: 441.9 kB / 1.203 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.5658, allocations: 189.7 kB / 1.203 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.5676, allocations: 0.9094 MB / 1.204 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.5676, allocations: 11.98 kB / 1.204 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5677, allocations: 0 / 1.204 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001363/0.569, allocations: 0.8347 MB / 1.204 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.573, allocations: 2.49 MB / 1.207 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.573, allocations: 7.938 kB / 1.207 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000816/0.5738, allocations: 199.9 kB / 1.207 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.5739, allocations: 8 kB / 1.207 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.5739, allocations: 15.98 kB / 1.207 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.5739, allocations: 11.94 kB / 1.207 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5739, allocations: 0 / 1.207 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.5763, allocations: 1.406 MB / 1.209 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000678/0.577, allocations: 406.2 kB / 1.209 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.5772, allocations: 12.09 kB / 1.209 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.5783, allocations: 127.7 kB / 1.209 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.5785, allocations: 52.47 kB / 1.209 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.5785, allocations: 31.98 kB / 1.209 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001595/0.5801, allocations: 1.216 MB / 1.21 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5802, allocations: 0 / 1.21 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001716/0.5819, allocations: 0.6434 MB / 1.211 GB, free: 7.465 MB / 0.9669 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.001293/0.5832, allocations: 0.604 MB / 1.212 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.585, allocations: 0.859 MB / 1.212 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.585, allocations: 4 kB / 1.212 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007355/0.5857, allocations: 379.9 kB / 1.213 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006949/0.5927, allocations: 1.211 MB / 1.214 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005855/0.5986, allocations: 3.813 MB / 1.218 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.5997, allocations: 1.409 MB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001814/0.6015, allocations: 379.3 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.6018, allocations: 147.4 kB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of SimCode: time 1.252e-06/0.6018, allocations: 0 / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.6759/1.278, allocations: 40.1 MB / 1.259 GB, free: 167.7 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