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.319/2.319, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001133/0.001133, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0009076/0.0009077, allocations: 99.89 kB / 0.9318 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.631e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3038, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.571, allocations: 426.9 MB / 1.636 GB, free: 7.574 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.571, allocations: 99.92 kB / 1.636 GB, free: 7.477 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.995/4.567, allocations: 0.8136 GB / 2.449 GB, free: 136.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.743e-06/4.567, allocations: 0 / 2.449 GB, free: 136.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001874/4.567, allocations: 55.98 kB / 2.449 GB, free: 136.2 MB / 1.151 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.004156/4.571, allocations: 2.166 MB / 2.452 GB, free: 134 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/4.571, allocations: 8.031 kB / 2.452 GB, free: 134 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009423/4.572, allocations: 265.2 kB / 2.452 GB, free: 133.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04427/4.616, allocations: 24.71 MB / 2.476 GB, free: 108.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.902e-05/4.616, allocations: 110.7 kB / 2.476 GB, free: 108.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/4.617, allocations: 136 kB / 2.476 GB, free: 108.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/4.619, allocations: 1.396 MB / 2.478 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/4.619, allocations: 7.938 kB / 2.478 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/4.619, allocations: 60 kB / 2.478 GB, free: 106.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/4.619, allocations: 43.92 kB / 2.478 GB, free: 106.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/4.621, allocations: 0.9511 MB / 2.479 GB, free: 105.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.008597/4.63, allocations: 7.568 MB / 2.486 GB, free: 97.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/4.63, allocations: 440.7 kB / 2.486 GB, free: 97.36 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/4.631, allocations: 288 kB / 2.487 GB, free: 97.08 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/4.632, allocations: 1.156 MB / 2.488 GB, free: 95.67 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/4.632, allocations: 43.11 kB / 2.488 GB, free: 95.61 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 3.156e-06/4.632, allocations: 0 / 2.488 GB, free: 95.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.00128/4.633, allocations: 0.6452 MB / 2.488 GB, free: 94.96 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/4.633, allocations: 63.91 kB / 2.488 GB, free: 94.89 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/4.635, allocations: 1.528 MB / 2.49 GB, free: 93.32 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/4.635, allocations: 41.7 kB / 2.49 GB, free: 93.27 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005555/4.635, allocations: 0.9476 MB / 2.491 GB, free: 92.32 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/4.636, allocations: 220.9 kB / 2.491 GB, free: 92.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/4.636, allocations: 16 kB / 2.491 GB, free: 92.08 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/4.636, allocations: 341.9 kB / 2.491 GB, free: 91.74 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/4.636, allocations: 233.9 kB / 2.492 GB, free: 91.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/4.636, allocations: 0.6093 MB / 2.492 GB, free: 90.74 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/4.637, allocations: 351 kB / 2.493 GB, free: 90.39 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/4.637, allocations: 4 kB / 2.493 GB, free: 90.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0014/4.638, allocations: 0.9809 MB / 2.494 GB, free: 89.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/4.638, allocations: 8 kB / 2.494 GB, free: 89.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/4.638, allocations: 12 kB / 2.494 GB, free: 89.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/4.638, allocations: 16 kB / 2.494 GB, free: 89.37 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/4.639, allocations: 236.2 kB / 2.494 GB, free: 89.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-05/4.639, allocations: 19.94 kB / 2.494 GB, free: 89.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/4.641, allocations: 234.4 kB / 2.494 GB, free: 88.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-05/4.641, allocations: 51.98 kB / 2.494 GB, free: 88.84 MB / 1.151 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 () * 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.0001882/4.641, allocations: 172.6 kB / 2.494 GB, free: 88.66 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/4.641, allocations: 193.7 kB / 2.495 GB, free: 88.47 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/4.643, allocations: 0.7908 MB / 2.495 GB, free: 87.68 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/4.643, allocations: 4 kB / 2.495 GB, free: 87.67 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/4.643, allocations: 0 / 2.495 GB, free: 87.67 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007281/4.644, allocations: 0.7098 MB / 2.496 GB, free: 86.91 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/4.648, allocations: 2.377 MB / 2.498 GB, free: 84.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/4.648, allocations: 3.938 kB / 2.498 GB, free: 84.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/4.648, allocations: 180 kB / 2.498 GB, free: 84.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/4.648, allocations: 8 kB / 2.498 GB, free: 84.26 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/4.648, allocations: 15.95 kB / 2.499 GB, free: 84.24 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/4.648, allocations: 7.984 kB / 2.499 GB, free: 84.23 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/4.648, allocations: 8 kB / 2.499 GB, free: 84.23 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/4.65, allocations: 1.391 MB / 2.5 GB, free: 82.74 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000914/4.651, allocations: 398.4 kB / 2.5 GB, free: 82.33 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/4.651, allocations: 19.98 kB / 2.5 GB, free: 82.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/4.652, allocations: 131.7 kB / 2.5 GB, free: 82.18 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/4.652, allocations: 52.44 kB / 2.5 GB, free: 82.13 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/4.652, allocations: 31.97 kB / 2.5 GB, free: 82.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001627/4.654, allocations: 1.213 MB / 2.502 GB, free: 80.86 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.654, allocations: 0 / 2.502 GB, free: 80.86 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002088/4.656, allocations: 0.6903 MB / 2.502 GB, free: 80.17 MB / 1.151 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 () * 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.00148/4.658, allocations: 0.9643 MB / 2.503 GB, free: 79.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001003/4.659, allocations: 0.6541 MB / 2.504 GB, free: 78.55 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/4.659, allocations: 0 / 2.504 GB, free: 78.55 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003781/4.659, allocations: 319.2 kB / 2.504 GB, free: 78.24 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006041/4.665, allocations: 1.247 MB / 2.505 GB, free: 77.01 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/4.669, allocations: 2.401 MB / 2.508 GB, free: 74.54 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/4.67, allocations: 1.448 MB / 2.509 GB, free: 73.06 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001887/4.672, allocations: 396.5 kB / 2.51 GB, free: 72.67 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/4.672, allocations: 155.4 kB / 2.51 GB, free: 72.52 MB / 1.151 GB Notification: Performance of SimCode: time 1.232e-06/4.672, allocations: 0 / 2.51 GB, free: 72.52 MB / 1.151 GB Notification: Performance of Templates: time 0.06774/4.74, allocations: 44.5 MB / 2.553 GB, free: 28.34 MB / 1.151 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