Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 405.3 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.001127/0.001127, allocations: 173.1 kB / 498.1 MB, free: 5.684 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.606/1.606, allocations: 223.2 MB / 0.7948 GB, free: 18.78 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.001126/0.001126, allocations: 95.95 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004424, allocations: 8.375 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3841, allocations: 142.3 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.269/5.653, allocations: 1.896 GB / 3.119 GB, free: 53.61 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/5.653, allocations: 89.88 kB / 3.119 GB, free: 53.57 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.585/10.24, allocations: 1.01 GB / 4.128 GB, free: 225.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.585e-06/10.24, allocations: 2.469 kB / 4.128 GB, free: 225.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001898/10.24, allocations: 33.48 kB / 4.129 GB, free: 225.6 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.008065/10.25, allocations: 1.964 MB / 4.13 GB, free: 225.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/10.25, allocations: 9.297 kB / 4.13 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/10.25, allocations: 0.5474 MB / 4.131 GB, free: 225 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003089/10.25, allocations: 1.078 MB / 4.132 GB, free: 224.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005965/10.25, allocations: 193.8 kB / 4.132 GB, free: 224.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/10.25, allocations: 86.41 kB / 4.132 GB, free: 224.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/10.26, allocations: 1.351 MB / 4.134 GB, free: 224.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/10.26, allocations: 0 / 4.134 GB, free: 224.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/10.26, allocations: 38.22 kB / 4.134 GB, free: 224.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/10.26, allocations: 40.56 kB / 4.134 GB, free: 224.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/10.26, allocations: 1.502 MB / 4.135 GB, free: 224.6 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.007946/10.27, allocations: 4.206 MB / 4.139 GB, free: 223.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/10.27, allocations: 1.075 MB / 4.14 GB, free: 223.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009253/10.27, allocations: 0.6081 MB / 4.141 GB, free: 222.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/10.27, allocations: 42.83 kB / 4.141 GB, free: 222.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 4.668e-06/10.27, allocations: 0 / 4.141 GB, free: 222.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.005637/10.28, allocations: 1.994 MB / 4.143 GB, free: 222.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/10.28, allocations: 59.56 kB / 4.143 GB, free: 222.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/10.28, allocations: 0.7042 MB / 4.144 GB, free: 222.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001849/10.28, allocations: 45.08 kB / 4.144 GB, free: 222.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/10.28, allocations: 453.1 kB / 4.144 GB, free: 222 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/10.28, allocations: 260 kB / 4.144 GB, free: 221.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/10.28, allocations: 15.97 kB / 4.144 GB, free: 221.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/10.28, allocations: 332.5 kB / 4.145 GB, free: 221.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/10.28, allocations: 0.5902 MB / 4.145 GB, free: 221.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/10.28, allocations: 0.7431 MB / 4.146 GB, free: 221.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/10.29, allocations: 0.6408 MB / 4.147 GB, free: 221.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/10.29, allocations: 0 / 4.147 GB, free: 221.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00336/10.29, allocations: 1.476 MB / 4.148 GB, free: 221.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/10.29, allocations: 482.1 kB / 4.149 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/10.29, allocations: 9.578 kB / 4.149 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/10.29, allocations: 6.125 kB / 4.149 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/10.29, allocations: 274.6 kB / 4.149 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005325/10.29, allocations: 1.195 MB / 4.15 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/10.29, allocations: 202.8 kB / 4.15 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/10.29, allocations: 44.44 kB / 4.15 GB, free: 219.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/10.29, allocations: 4.562 kB / 4.15 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002957/10.3, allocations: 1.368 MB / 4.152 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/10.3, allocations: 6.812 kB / 4.152 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/10.3, allocations: 3.656 kB / 4.152 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/10.3, allocations: 259 kB / 4.152 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/10.3, allocations: 3.812 kB / 4.152 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/10.3, allocations: 198.3 kB / 4.152 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/10.3, allocations: 38.67 kB / 4.152 GB, free: 219.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007517/10.3, allocations: 378.7 kB / 4.152 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/10.3, allocations: 111.9 kB / 4.152 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/10.3, allocations: 1.494 MB / 4.154 GB, free: 219.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/10.3, allocations: 7.844 kB / 4.154 GB, free: 219.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/10.3, allocations: 0 / 4.154 GB, free: 219.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/10.3, allocations: 9.203 kB / 4.154 GB, free: 219.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/10.31, allocations: 2.988 MB / 4.157 GB, free: 218.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/10.31, allocations: 3.781 kB / 4.157 GB, free: 218.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/10.31, allocations: 260.3 kB / 4.157 GB, free: 218.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/10.31, allocations: 7.406 kB / 4.157 GB, free: 218.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.583e-05/10.31, allocations: 27.73 kB / 4.157 GB, free: 218.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004062/10.31, allocations: 1.196 MB / 4.158 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/10.31, allocations: 6.531 kB / 4.158 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/10.31, allocations: 1.761 MB / 4.16 GB, free: 217 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007494/10.31, allocations: 321.2 kB / 4.16 GB, free: 216.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/10.31, allocations: 18.34 kB / 4.16 GB, free: 216.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/10.32, allocations: 173.7 kB / 4.161 GB, free: 216.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/10.32, allocations: 61.48 kB / 4.161 GB, free: 216.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-05/10.32, allocations: 37.92 kB / 4.161 GB, free: 216.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007775/10.32, allocations: 0.5631 MB / 4.161 GB, free: 216.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/10.32, allocations: 3.125 kB / 4.161 GB, free: 216.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002607/10.32, allocations: 0.7593 MB / 4.162 GB, free: 216.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003405/10.32, allocations: 2.361 MB / 4.164 GB, free: 215.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005311/10.33, allocations: 2.22 MB / 4.166 GB, free: 215.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/10.33, allocations: 0 / 4.166 GB, free: 215.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/10.33, allocations: 0.7265 MB / 4.167 GB, free: 215.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/10.33, allocations: 0.5107 MB / 4.168 GB, free: 215.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/10.35, allocations: 3.287 MB / 4.171 GB, free: 214.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/10.35, allocations: 1.119 MB / 4.172 GB, free: 213.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002159/10.35, allocations: 412.4 kB / 4.172 GB, free: 213.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/10.35, allocations: 89.55 kB / 4.172 GB, free: 213.9 MB / 1.167 GB Notification: Performance of SimCode: time 9.41e-07/10.35, allocations: 3.75 kB / 4.172 GB, free: 213.9 MB / 1.167 GB Notification: Performance of Templates: time 0.06204/10.41, allocations: 45.99 MB / 4.217 GB, free: 212.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches