Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001062/0.001062, allocations: 184.6 kB / 487.4 MB, free: 5.078 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.516/1.516, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008746/0.0008746, allocations: 103.8 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.549e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2772, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.381, allocations: 425.4 MB / 1.621 GB, free: 13.25 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.381, allocations: 95.62 kB / 1.621 GB, free: 13.2 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.724/4.105, allocations: 0.8089 GB / 2.43 GB, free: 205.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.312e-06/4.105, allocations: 0 / 2.43 GB, free: 205.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003061/4.106, allocations: 62.36 kB / 2.43 GB, free: 205.9 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.005736/4.111, allocations: 2.162 MB / 2.433 GB, free: 203.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/4.112, allocations: 12.03 kB / 2.433 GB, free: 203.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/4.113, allocations: 269.9 kB / 2.433 GB, free: 203.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04605/4.159, allocations: 24.65 MB / 2.457 GB, free: 179.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/4.159, allocations: 44 kB / 2.457 GB, free: 179.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/4.159, allocations: 84 kB / 2.457 GB, free: 179.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001925/4.161, allocations: 0.8709 MB / 2.458 GB, free: 178.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/4.164, allocations: 1.192 MB / 2.459 GB, free: 177 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/4.164, allocations: 7.938 kB / 2.459 GB, free: 177 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/4.164, allocations: 3.953 kB / 2.459 GB, free: 177 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/4.164, allocations: 43.28 kB / 2.459 GB, free: 177 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.007712/4.171, allocations: 7.262 MB / 2.466 GB, free: 169.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/4.172, allocations: 426.8 kB / 2.467 GB, free: 168.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/4.172, allocations: 262.5 kB / 2.467 GB, free: 168.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006525/4.173, allocations: 1.157 MB / 2.468 GB, free: 167.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/4.173, allocations: 47.16 kB / 2.468 GB, free: 167.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 2.485e-06/4.173, allocations: 0 / 2.468 GB, free: 167.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.001333/4.175, allocations: 0.6169 MB / 2.469 GB, free: 166.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/4.175, allocations: 55.97 kB / 2.469 GB, free: 166.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/4.176, allocations: 1.206 MB / 2.47 GB, free: 165.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-05/4.176, allocations: 29.7 kB / 2.47 GB, free: 165.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/4.177, allocations: 0.9456 MB / 2.471 GB, free: 164.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/4.177, allocations: 211.8 kB / 2.471 GB, free: 164 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/4.177, allocations: 0 / 2.471 GB, free: 164 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/4.177, allocations: 337.9 kB / 2.471 GB, free: 163.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/4.177, allocations: 214.6 kB / 2.472 GB, free: 163.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/4.178, allocations: 0.5826 MB / 2.472 GB, free: 162.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/4.179, allocations: 355.7 kB / 2.472 GB, free: 162.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/4.179, allocations: 4 kB / 2.472 GB, free: 162.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001529/4.18, allocations: 0.8949 MB / 2.473 GB, free: 161.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/4.18, allocations: 9.562 kB / 2.473 GB, free: 161.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/4.18, allocations: 12 kB / 2.473 GB, free: 161.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/4.18, allocations: 19.5 kB / 2.473 GB, free: 161.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/4.181, allocations: 230.9 kB / 2.474 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/4.181, allocations: 19.94 kB / 2.474 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/4.182, allocations: 166.9 kB / 2.474 GB, free: 161.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/4.182, allocations: 47.98 kB / 2.474 GB, free: 161.1 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.000164/4.183, allocations: 143.3 kB / 2.474 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/4.183, allocations: 169.9 kB / 2.474 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/4.184, allocations: 0.7247 MB / 2.475 GB, free: 160 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/4.184, allocations: 12 kB / 2.475 GB, free: 160 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/4.184, allocations: 0 / 2.475 GB, free: 160 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008182/4.185, allocations: 0.6824 MB / 2.475 GB, free: 159.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/4.189, allocations: 2.156 MB / 2.478 GB, free: 157.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/4.189, allocations: 4 kB / 2.478 GB, free: 157.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/4.19, allocations: 180.5 kB / 2.478 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/4.19, allocations: 4 kB / 2.478 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/4.19, allocations: 12 kB / 2.478 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/4.19, allocations: 6.656 kB / 2.478 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/4.19, allocations: 3.938 kB / 2.478 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/4.191, allocations: 1.295 MB / 2.479 GB, free: 155.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007759/4.192, allocations: 366.7 kB / 2.479 GB, free: 155.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/4.192, allocations: 4 kB / 2.479 GB, free: 155.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/4.194, allocations: 115.6 kB / 2.48 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/4.194, allocations: 54.92 kB / 2.48 GB, free: 154.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/4.194, allocations: 35.97 kB / 2.48 GB, free: 154.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001228/4.195, allocations: 0.8995 MB / 2.48 GB, free: 154 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.2e-07/4.195, allocations: 0 / 2.48 GB, free: 154 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002312/4.197, allocations: 0.7092 MB / 2.481 GB, free: 153.3 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.001646/4.199, allocations: 0.9655 MB / 2.482 GB, free: 152.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008709/4.2, allocations: 0.6074 MB / 2.483 GB, free: 151.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/4.2, allocations: 0 / 2.483 GB, free: 151.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/4.2, allocations: 300 kB / 2.483 GB, free: 151.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004348/4.205, allocations: 0.9533 MB / 2.484 GB, free: 150.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/4.208, allocations: 2.325 MB / 2.486 GB, free: 148.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/4.209, allocations: 1.446 MB / 2.488 GB, free: 146.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001267/4.21, allocations: 345.8 kB / 2.488 GB, free: 146.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/4.21, allocations: 127.4 kB / 2.488 GB, free: 146.4 MB / 1.151 GB Notification: Performance of SimCode: time 6.72e-07/4.21, allocations: 0 / 2.488 GB, free: 146.4 MB / 1.151 GB Notification: Performance of Templates: time 0.0444/4.255, allocations: 32.62 MB / 2.52 GB, free: 114.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches