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.0008583/0.0008584, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001096/0.001096, allocations: 168.7 kB / 15.95 MB, free: 204 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.537/1.537, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.86/2.86, allocations: 462.6 MB / 0.736 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004599, allocations: 12.66 kB / 0.9021 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3727, allocations: 159.6 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07143/0.4442, allocations: 71.15 MB / 1.127 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02775/0.472, allocations: 17.73 MB / 1.145 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/0.4762, allocations: 95.38 kB / 1.145 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003268/0.4795, allocations: 0.8811 MB / 1.146 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.4898, allocations: 2.837 MB / 1.149 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005465/0.4953, allocations: 1.489 MB / 1.15 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01096/0.5062, allocations: 7.584 MB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00381/0.5101, allocations: 1.453 MB / 1.159 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005111/0.5152, allocations: 1.859 MB / 1.161 GB, free: 11.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00366/0.5189, allocations: 1.59 MB / 1.162 GB, free: 10.31 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007864/0.5197, allocations: 75.83 kB / 1.162 GB, free: 10.24 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/0.5241, allocations: 0.904 MB / 1.163 GB, free: 9.332 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009736/0.5251, allocations: 390.2 kB / 1.164 GB, free: 8.949 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.5266, allocations: 492.5 kB / 1.164 GB, free: 8.461 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004749/0.5313, allocations: 2.669 MB / 1.167 GB, free: 5.785 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5314, allocations: 0 / 1.167 GB, free: 5.785 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5314, allocations: 4 kB / 1.167 GB, free: 5.781 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001397/0.5315, allocations: 0 / 1.167 GB, free: 5.781 MB / 0.92 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.005851/0.5374, allocations: 2.31 MB / 1.169 GB, free: 3.406 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5374, allocations: 11.97 kB / 1.169 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.5387, allocations: 269.1 kB / 1.169 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00383/0.5425, allocations: 1.904 MB / 1.171 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.556e-05/0.5426, allocations: 106.7 kB / 1.171 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.5429, allocations: 151.9 kB / 1.171 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/0.5459, allocations: 1.52 MB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.5459, allocations: 11.88 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.546, allocations: 59.98 kB / 1.173 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.5461, allocations: 39.98 kB / 1.173 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.5483, allocations: 1.154 MB / 1.174 GB, free: 14.05 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.00829/0.5566, allocations: 7.591 MB / 1.181 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000925/0.5575, allocations: 0.4971 MB / 1.182 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.5581, allocations: 350.3 kB / 1.182 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008582/0.559, allocations: 1.152 MB / 1.183 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.559, allocations: 39.12 kB / 1.183 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=59): time 3.056e-06/0.5591, allocations: 4 kB / 1.183 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59): time 0.002203/0.5613, allocations: 1.02 MB / 1.184 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.5613, allocations: 63.97 kB / 1.184 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.5635, allocations: 1.74 MB / 1.186 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.5636, allocations: 41.7 kB / 1.186 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008446/0.5644, allocations: 0.9316 MB / 1.187 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.5646, allocations: 217 kB / 1.187 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.5647, allocations: 20 kB / 1.187 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5648, allocations: 345.9 kB / 1.188 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/0.5655, allocations: 346.4 kB / 1.188 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008954/0.5664, allocations: 0.7095 MB / 1.189 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.5672, allocations: 466.7 kB / 1.189 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.5672, allocations: 4 kB / 1.189 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002019/0.5692, allocations: 1.257 MB / 1.19 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5693, allocations: 11.95 kB / 1.19 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.5693, allocations: 8 kB / 1.19 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.5693, allocations: 20 kB / 1.19 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009887/0.5703, allocations: 312 kB / 1.191 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/0.5704, allocations: 23.92 kB / 1.191 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.5718, allocations: 250.3 kB / 1.191 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/0.5718, allocations: 51.98 kB / 1.191 GB, free: 11.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007065/0.5726, allocations: 445.4 kB / 1.191 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.5728, allocations: 189.7 kB / 1.192 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.5745, allocations: 0.9073 MB / 1.192 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.5745, allocations: 7.984 kB / 1.192 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5745, allocations: 8 kB / 1.192 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.5758, allocations: 0.8307 MB / 1.193 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003879/0.5797, allocations: 2.482 MB / 1.196 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5797, allocations: 4 kB / 1.196 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007614/0.5805, allocations: 208 kB / 1.196 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.5805, allocations: 8 kB / 1.196 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.5806, allocations: 16 kB / 1.196 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.5806, allocations: 8 kB / 1.196 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5806, allocations: 11.92 kB / 1.196 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.5828, allocations: 1.39 MB / 1.197 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/0.5834, allocations: 406.3 kB / 1.198 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.5836, allocations: 16 kB / 1.198 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.5846, allocations: 123.7 kB / 1.198 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5848, allocations: 52.45 kB / 1.198 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.5848, allocations: 39.97 kB / 1.198 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001537/0.5864, allocations: 1.204 MB / 1.199 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5864, allocations: 0 / 1.199 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001604/0.588, allocations: 0.6317 MB / 1.2 GB, free: 2.336 MB / 0.9512 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.0009766/0.589, allocations: 0.5629 MB / 1.2 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.5906, allocations: 0.8475 MB / 1.201 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5906, allocations: 256 / 1.201 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.5913, allocations: 379.4 kB / 1.201 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005139/0.5964, allocations: 1.202 MB / 1.203 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.6025, allocations: 3.697 MB / 1.206 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.6035, allocations: 1.413 MB / 1.208 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001764/0.6053, allocations: 371.5 kB / 1.208 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.6057, allocations: 147.3 kB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of SimCode: time 1.062e-06/0.6057, allocations: 0 / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of Templates: time 0.06846/0.6742, allocations: 38.57 MB / 1.246 GB, free: 3.609 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