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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.572/2.572, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 194 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.851/1.851, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 104.2 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004064, allocations: 15.25 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3258, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.523, allocations: 426.9 MB / 1.646 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/1.523, allocations: 96.52 kB / 1.646 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.043/4.566, allocations: 0.8159 GB / 2.462 GB, free: 216.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.232e-06/4.566, allocations: 0 / 2.462 GB, free: 216.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003252/4.566, allocations: 63.42 kB / 2.462 GB, free: 216.7 MB / 1.167 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.007348/4.574, allocations: 2.571 MB / 2.465 GB, free: 215.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/4.574, allocations: 7.031 kB / 2.465 GB, free: 215.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/4.575, allocations: 264.8 kB / 2.465 GB, free: 215.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04884/4.624, allocations: 24.87 MB / 2.489 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/4.624, allocations: 104.4 kB / 2.489 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/4.624, allocations: 144 kB / 2.489 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/4.628, allocations: 1.489 MB / 2.491 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.677e-05/4.628, allocations: 1.875 kB / 2.491 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/4.628, allocations: 57.22 kB / 2.491 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/4.628, allocations: 38.38 kB / 2.491 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/4.63, allocations: 1.112 MB / 2.492 GB, free: 214 MB / 1.167 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.009626/4.64, allocations: 7.568 MB / 2.5 GB, free: 209.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009949/4.641, allocations: 0.5177 MB / 2.5 GB, free: 209.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000679/4.641, allocations: 1.16 MB / 2.501 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/4.641, allocations: 42.03 kB / 2.501 GB, free: 208.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 3.466e-06/4.642, allocations: 0 / 2.501 GB, free: 208.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.002379/4.644, allocations: 1.037 MB / 2.502 GB, free: 208.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/4.644, allocations: 58.88 kB / 2.502 GB, free: 208.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/4.647, allocations: 1.549 MB / 2.504 GB, free: 208 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001967/4.647, allocations: 41.98 kB / 2.504 GB, free: 208 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009892/4.648, allocations: 0.9417 MB / 2.505 GB, free: 207.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/4.649, allocations: 212 kB / 2.505 GB, free: 207.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/4.649, allocations: 26.91 kB / 2.505 GB, free: 207.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.44e-05/4.649, allocations: 344 kB / 2.505 GB, free: 207.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/4.649, allocations: 302.6 kB / 2.506 GB, free: 207.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/4.65, allocations: 0.6809 MB / 2.506 GB, free: 206.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008879/4.651, allocations: 416.2 kB / 2.507 GB, free: 206.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/4.651, allocations: 3.75 kB / 2.507 GB, free: 206.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002397/4.654, allocations: 1.137 MB / 2.508 GB, free: 206.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/4.654, allocations: 6.938 kB / 2.508 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/4.654, allocations: 10.75 kB / 2.508 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-05/4.654, allocations: 17.31 kB / 2.508 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/4.654, allocations: 230.9 kB / 2.508 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/4.654, allocations: 21.56 kB / 2.508 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/4.657, allocations: 241.2 kB / 2.508 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/4.657, allocations: 49.12 kB / 2.508 GB, free: 206.6 MB / 1.167 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 (111): * Single equations (assignments): 111 * 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.001096/4.658, allocations: 431.2 kB / 2.509 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005485/4.658, allocations: 200.5 kB / 2.509 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/4.66, allocations: 0.9153 MB / 2.51 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/4.66, allocations: 14.23 kB / 2.51 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/4.66, allocations: 6.469 kB / 2.51 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/4.661, allocations: 0.8452 MB / 2.511 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/4.666, allocations: 2.518 MB / 2.513 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/4.666, allocations: 3.875 kB / 2.513 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/4.666, allocations: 181.1 kB / 2.513 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.217e-05/4.666, allocations: 3.688 kB / 2.513 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/4.666, allocations: 19.06 kB / 2.513 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/4.666, allocations: 5.375 kB / 2.513 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/4.666, allocations: 6.938 kB / 2.513 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/4.669, allocations: 1.602 MB / 2.515 GB, free: 205.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008082/4.67, allocations: 403.7 kB / 2.515 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/4.67, allocations: 17.41 kB / 2.515 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/4.671, allocations: 130.7 kB / 2.515 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/4.671, allocations: 46.98 kB / 2.515 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/4.671, allocations: 38.89 kB / 2.515 GB, free: 204.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001598/4.673, allocations: 1.225 MB / 2.517 GB, free: 204.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/4.673, allocations: 1.844 kB / 2.517 GB, free: 204.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002216/4.675, allocations: 0.6944 MB / 2.517 GB, free: 204.6 MB / 1.167 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.001616/4.677, allocations: 0.9585 MB / 2.518 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001623/4.678, allocations: 0.7929 MB / 2.519 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/4.678, allocations: 3.938 kB / 2.519 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006588/4.679, allocations: 385.1 kB / 2.519 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005388/4.684, allocations: 1.249 MB / 2.521 GB, free: 204.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/4.69, allocations: 3.706 MB / 2.524 GB, free: 202.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008552/4.69, allocations: 1.448 MB / 2.526 GB, free: 201.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001775/4.692, allocations: 386 kB / 2.526 GB, free: 201.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/4.693, allocations: 155.9 kB / 2.526 GB, free: 201.9 MB / 1.167 GB Notification: Performance of SimCode: time 7.92e-07/4.693, allocations: 0.75 kB / 2.526 GB, free: 201.9 MB / 1.167 GB Notification: Performance of Templates: time 0.06734/4.76, allocations: 43.53 MB / 2.569 GB, free: 184.7 MB / 1.167 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