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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00114/0.00114, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009312/0.0009312, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 436.5 MB / 0.7104 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003372, allocations: 8 kB / 0.8708 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.611, allocations: 153.6 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06337/0.6744, allocations: 64.45 MB / 1.084 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02233/0.6967, allocations: 16.25 MB / 1.1 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.6997, allocations: 91.38 kB / 1.1 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004197/0.7039, allocations: 1.182 MB / 1.101 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.7183, allocations: 3.536 MB / 1.104 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008031/0.7264, allocations: 2.295 MB / 1.107 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009253/0.7357, allocations: 3.868 MB / 1.11 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003638/0.7393, allocations: 1.469 MB / 1.112 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/0.7436, allocations: 1.642 MB / 1.113 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.7458, allocations: 1.077 MB / 1.114 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005323/0.7464, allocations: 76 kB / 1.114 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.7501, allocations: 1.01 MB / 1.115 GB, free: 0 / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.7512, allocations: 374.5 kB / 1.116 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.7525, allocations: 496.6 kB / 1.116 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.7565, allocations: 2.644 MB / 1.119 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.7565, allocations: 0 / 1.119 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7565, allocations: 0 / 1.119 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.085e-05/0.7566, allocations: 0 / 1.119 GB, free: 12.49 MB / 0.8731 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.003888/0.7605, allocations: 2.314 MB / 1.121 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.7605, allocations: 11.98 kB / 1.121 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006054/0.7611, allocations: 269 kB / 1.121 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.7641, allocations: 1.783 MB / 1.123 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.308e-05/0.7641, allocations: 110.7 kB / 1.123 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.7643, allocations: 140 kB / 1.123 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.7669, allocations: 1.52 MB / 1.125 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.7669, allocations: 3.938 kB / 1.125 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.767, allocations: 60 kB / 1.125 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.7671, allocations: 47.98 kB / 1.125 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.7693, allocations: 1.146 MB / 1.126 GB, free: 4.898 MB / 0.8731 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.008041/0.7774, allocations: 7.653 MB / 1.134 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/0.7783, allocations: 488.6 kB / 1.134 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008146/0.7791, allocations: 1.156 MB / 1.135 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.7792, allocations: 43.08 kB / 1.135 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/0.7792, allocations: 0 / 1.135 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of matching and sorting (n=59): time 0.002241/0.7814, allocations: 1.02 MB / 1.136 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.7815, allocations: 63.91 kB / 1.136 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.7838, allocations: 1.826 MB / 1.138 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.325e-05/0.7839, allocations: 45.7 kB / 1.138 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007586/0.7846, allocations: 0.9278 MB / 1.139 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.7848, allocations: 228.8 kB / 1.139 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.7849, allocations: 20 kB / 1.139 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.785, allocations: 345.9 kB / 1.14 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.7857, allocations: 350.4 kB / 1.14 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009192/0.7867, allocations: 0.6978 MB / 1.141 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008322/0.7875, allocations: 466.7 kB / 1.141 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.7875, allocations: 0 / 1.141 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002348/0.7899, allocations: 1.249 MB / 1.142 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.7899, allocations: 14.12 kB / 1.142 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.7899, allocations: 15.95 kB / 1.142 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/0.79, allocations: 16.81 kB / 1.142 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.7911, allocations: 315.6 kB / 1.143 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.897e-05/0.7911, allocations: 23.92 kB / 1.143 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.7927, allocations: 262.3 kB / 1.143 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/0.7928, allocations: 51.98 kB / 1.143 GB, free: 2.582 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008/0.7936, allocations: 433.4 kB / 1.143 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.7939, allocations: 193.7 kB / 1.144 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.7957, allocations: 0.9114 MB / 1.144 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.7957, allocations: 7.953 kB / 1.144 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.7957, allocations: 0 / 1.144 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/0.7971, allocations: 0.8347 MB / 1.145 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.8019, allocations: 2.521 MB / 1.148 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.8019, allocations: 4 kB / 1.148 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/0.8027, allocations: 208 kB / 1.148 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.8027, allocations: 4 kB / 1.148 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.8028, allocations: 16 kB / 1.148 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.8028, allocations: 7.938 kB / 1.148 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8028, allocations: 0 / 1.148 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.8055, allocations: 1.548 MB / 1.149 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009514/0.8065, allocations: 422.3 kB / 1.15 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.8067, allocations: 15.94 kB / 1.15 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.8078, allocations: 127.7 kB / 1.15 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.8079, allocations: 52.44 kB / 1.15 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.808, allocations: 35.98 kB / 1.15 GB, free: 11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001817/0.8098, allocations: 1.274 MB / 1.151 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8098, allocations: 0 / 1.151 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001954/0.8118, allocations: 0.659 MB / 1.152 GB, free: 9.047 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/0.8129, allocations: 0.6001 MB / 1.153 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.8147, allocations: 0.8516 MB / 1.153 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.8148, allocations: 0 / 1.153 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000719/0.8155, allocations: 379.5 kB / 1.154 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005878/0.8214, allocations: 1.193 MB / 1.155 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005013/0.8264, allocations: 3.692 MB / 1.158 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009044/0.8273, allocations: 1.448 MB / 1.16 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001637/0.829, allocations: 392.2 kB / 1.16 GB, free: 456 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.8293, allocations: 147.3 kB / 1.16 GB, free: 308 kB / 0.9044 GB Notification: Performance of SimCode: time 5.61e-07/0.8293, allocations: 0 / 1.16 GB, free: 308 kB / 0.9044 GB Notification: Performance of Templates: time 0.06825/0.8976, allocations: 39.87 MB / 1.199 GB, free: 8.941 MB / 0.9512 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","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches