Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 249.3 MB / 261.8 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 174.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008999/0.0008998, allocations: 94.41 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.247e-05/4.249e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2447, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.621/1.866, allocations: 399.7 MB / 1.282 GB, free: 323.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/1.866, allocations: 91.66 kB / 1.282 GB, free: 323.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.521/3.387, allocations: 421.9 MB / 1.694 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.665e-06/3.387, allocations: 0 / 1.694 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002212/3.388, allocations: 33.05 kB / 1.694 GB, free: 195.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004102/3.392, allocations: 1.242 MB / 1.695 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/3.392, allocations: 7.719 kB / 1.695 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/3.393, allocations: 135.8 kB / 1.696 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02774/3.42, allocations: 12.36 MB / 1.708 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.992e-05/3.421, allocations: 52.09 kB / 1.708 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/3.421, allocations: 73.53 kB / 1.708 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/3.423, allocations: 0.7178 MB / 1.708 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/3.423, allocations: 6.688 kB / 1.708 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/3.423, allocations: 29.16 kB / 1.708 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/3.423, allocations: 18.28 kB / 1.709 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/3.424, allocations: 497.7 kB / 1.709 GB, free: 194.3 MB / 0.8698 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.00537/3.429, allocations: 3.537 MB / 1.712 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/3.43, allocations: 326.6 kB / 1.713 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/3.43, allocations: 159.2 kB / 1.713 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004802/3.431, allocations: 0.6631 MB / 1.714 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/3.431, allocations: 37.94 kB / 1.714 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.256e-06/3.431, allocations: 3.891 kB / 1.714 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0009204/3.432, allocations: 376 kB / 1.714 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/3.432, allocations: 58.69 kB / 1.714 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/3.433, allocations: 0.8067 MB / 1.715 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/3.433, allocations: 41.86 kB / 1.715 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/3.434, allocations: 0.4902 MB / 1.715 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/3.434, allocations: 110.5 kB / 1.715 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/3.434, allocations: 11.56 kB / 1.715 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/3.434, allocations: 320.3 kB / 1.716 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/3.434, allocations: 127.8 kB / 1.716 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/3.434, allocations: 352.9 kB / 1.716 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/3.435, allocations: 187.3 kB / 1.716 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/3.435, allocations: 0 / 1.716 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008269/3.435, allocations: 0.5334 MB / 1.717 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/3.436, allocations: 6.688 kB / 1.717 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.223e-05/3.436, allocations: 6.406 kB / 1.717 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/3.436, allocations: 14.45 kB / 1.717 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/3.436, allocations: 117.3 kB / 1.717 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/3.436, allocations: 9.156 kB / 1.717 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000862/3.437, allocations: 114.9 kB / 1.717 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/3.437, allocations: 29.8 kB / 1.717 GB, free: 190.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001334/3.437, allocations: 135.8 kB / 1.717 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/3.437, allocations: 96.72 kB / 1.717 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007639/3.438, allocations: 448.8 kB / 1.718 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/3.438, allocations: 3.969 kB / 1.718 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/3.438, allocations: 3.953 kB / 1.718 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004271/3.439, allocations: 414 kB / 1.718 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/3.44, allocations: 1.389 MB / 1.72 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/3.44, allocations: 2.156 kB / 1.72 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/3.441, allocations: 82.91 kB / 1.72 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/3.441, allocations: 3.25 kB / 1.72 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/3.441, allocations: 10.31 kB / 1.72 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/3.441, allocations: 3.688 kB / 1.72 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/3.441, allocations: 3.719 kB / 1.72 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008713/3.442, allocations: 0.7785 MB / 1.72 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/3.442, allocations: 245.2 kB / 1.721 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/3.442, allocations: 16.75 kB / 1.721 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/3.443, allocations: 56.45 kB / 1.721 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/3.443, allocations: 29.28 kB / 1.721 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/3.443, allocations: 19.11 kB / 1.721 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008236/3.444, allocations: 0.6356 MB / 1.721 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/3.444, allocations: 0 / 1.721 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001328/3.445, allocations: 369.5 kB / 1.722 GB, free: 188.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001241/3.446, allocations: 0.5535 MB / 1.722 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006457/3.447, allocations: 355.1 kB / 1.723 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/3.447, allocations: 3.062 kB / 1.723 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/3.447, allocations: 169.2 kB / 1.723 GB, free: 188 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/3.45, allocations: 0.6136 MB / 1.723 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/3.452, allocations: 1.205 MB / 1.725 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/3.453, allocations: 1.056 MB / 1.726 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007628/3.454, allocations: 208 kB / 1.726 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/3.454, allocations: 77.78 kB / 1.726 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/3.454, allocations: 3.719 kB / 1.726 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.03769/3.492, allocations: 22.84 MB / 1.748 GB, free: 182.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches