Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.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_latest_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_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.402/2.402, allocations: 390.3 MB / 402.8 MB, free: 6.629 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.001087/0.001087, allocations: 168.9 kB / 496.1 MB, free: 12.85 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.699/1.699, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009758/0.0009758, allocations: 91.94 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.902e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3756, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.035/6.411, allocations: 1.896 GB / 3.115 GB, free: 353.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/6.411, allocations: 83.08 kB / 3.115 GB, free: 353.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.879/10.29, allocations: 1.009 GB / 4.124 GB, free: 220.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.044e-06/10.29, allocations: 3.281 kB / 4.124 GB, free: 220.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001971/10.29, allocations: 29.56 kB / 4.124 GB, free: 220.5 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.007533/10.3, allocations: 1.787 MB / 4.126 GB, free: 219.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/10.3, allocations: 17.75 kB / 4.126 GB, free: 219.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/10.3, allocations: 0.5446 MB / 4.127 GB, free: 219.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/10.31, allocations: 1.066 MB / 4.128 GB, free: 218.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006531/10.31, allocations: 200.3 kB / 4.128 GB, free: 218.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/10.31, allocations: 83.22 kB / 4.128 GB, free: 218.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/10.31, allocations: 1.14 MB / 4.129 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/10.31, allocations: 0 / 4.129 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/10.31, allocations: 33.94 kB / 4.129 GB, free: 217.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.822e-05/10.31, allocations: 44.75 kB / 4.129 GB, free: 217.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/10.31, allocations: 1.121 MB / 4.13 GB, free: 217.1 MB / 1.167 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.008481/10.32, allocations: 4.202 MB / 4.134 GB, free: 213.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/10.32, allocations: 0.7547 MB / 4.135 GB, free: 213.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/10.32, allocations: 0.507 MB / 4.136 GB, free: 213.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/10.32, allocations: 0.6039 MB / 4.136 GB, free: 212.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/10.32, allocations: 47.11 kB / 4.136 GB, free: 212.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.076e-06/10.32, allocations: 0 / 4.136 GB, free: 212.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002656/10.33, allocations: 1.02 MB / 4.137 GB, free: 212 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/10.33, allocations: 67.7 kB / 4.137 GB, free: 212 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/10.33, allocations: 0.6961 MB / 4.138 GB, free: 211.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/10.33, allocations: 45.08 kB / 4.138 GB, free: 211.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/10.33, allocations: 451.8 kB / 4.138 GB, free: 211.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/10.33, allocations: 254.8 kB / 4.139 GB, free: 210.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/10.33, allocations: 15.78 kB / 4.139 GB, free: 210.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001254/10.33, allocations: 333.7 kB / 4.139 GB, free: 210.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/10.33, allocations: 417.6 kB / 4.139 GB, free: 210.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/10.33, allocations: 0.5382 MB / 4.14 GB, free: 210.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/10.33, allocations: 466.3 kB / 4.14 GB, free: 209.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/10.33, allocations: 0 / 4.14 GB, free: 209.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001827/10.33, allocations: 1.096 MB / 4.141 GB, free: 209.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/10.33, allocations: 486.7 kB / 4.142 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/10.33, allocations: 3.875 kB / 4.142 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/10.33, allocations: 3.812 kB / 4.142 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/10.33, allocations: 274.9 kB / 4.142 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006543/10.33, allocations: 1.2 MB / 4.143 GB, free: 207.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/10.34, allocations: 194.5 kB / 4.144 GB, free: 207.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/10.34, allocations: 44.91 kB / 4.144 GB, free: 207.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/10.34, allocations: 4.469 kB / 4.144 GB, free: 207.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001693/10.34, allocations: 0.9952 MB / 4.145 GB, free: 206.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/10.34, allocations: 0 / 4.145 GB, free: 206.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/10.34, allocations: 3.875 kB / 4.145 GB, free: 206.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/10.34, allocations: 259.7 kB / 4.145 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/10.34, allocations: 11.61 kB / 4.145 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/10.34, allocations: 202.6 kB / 4.145 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.954e-05/10.34, allocations: 41.19 kB / 4.145 GB, free: 206.7 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 () * 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.0003117/10.34, allocations: 149.2 kB / 4.145 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/10.34, allocations: 99.91 kB / 4.145 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/10.34, allocations: 1.114 MB / 4.146 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/10.34, allocations: 6.844 kB / 4.146 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/10.34, allocations: 7.938 kB / 4.146 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/10.34, allocations: 3.188 kB / 4.146 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/10.35, allocations: 2.619 MB / 4.149 GB, free: 204.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/10.35, allocations: 3.844 kB / 4.149 GB, free: 204.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/10.35, allocations: 254.1 kB / 4.149 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/10.35, allocations: 10.67 kB / 4.149 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/10.35, allocations: 34.44 kB / 4.149 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004871/10.35, allocations: 1.19 MB / 4.15 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/10.35, allocations: 7.859 kB / 4.15 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/10.35, allocations: 1.394 MB / 4.152 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/10.35, allocations: 316.2 kB / 4.152 GB, free: 201.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/10.35, allocations: 15.25 kB / 4.152 GB, free: 201.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/10.35, allocations: 174.1 kB / 4.152 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/10.35, allocations: 60.05 kB / 4.152 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.018e-05/10.35, allocations: 42.7 kB / 4.152 GB, free: 201.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007452/10.35, allocations: 0.547 MB / 4.153 GB, free: 201.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/10.35, allocations: 3.625 kB / 4.153 GB, free: 201.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002916/10.36, allocations: 0.7664 MB / 4.154 GB, free: 201 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 () * 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.004516/10.36, allocations: 2.364 MB / 4.156 GB, free: 199.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003213/10.37, allocations: 1.68 MB / 4.158 GB, free: 199 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/10.37, allocations: 0 / 4.158 GB, free: 199 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009361/10.37, allocations: 0.538 MB / 4.158 GB, free: 198.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/10.37, allocations: 0.4984 MB / 4.159 GB, free: 198.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/10.38, allocations: 2.372 MB / 4.161 GB, free: 196.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/10.38, allocations: 1.116 MB / 4.162 GB, free: 195 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002485/10.39, allocations: 488.1 kB / 4.162 GB, free: 194.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/10.39, allocations: 79.39 kB / 4.163 GB, free: 194.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.192e-06/10.39, allocations: 0 / 4.163 GB, free: 194.5 MB / 1.167 GB Notification: Performance of Templates: time 0.07488/10.46, allocations: 53.39 MB / 4.215 GB, free: 142.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches