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.401/2.401, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001162/0.001162, allocations: 194.6 kB / 0.4902 GB, free: 2.246 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.705/1.705, allocations: 223.2 MB / 0.7992 GB, free: 15.61 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.0009952/0.0009952, allocations: 96.31 kB / 0.9396 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004374, allocations: 12.12 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3629, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.983/5.346, allocations: 1.896 GB / 3.126 GB, free: 34.25 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/5.347, allocations: 91.2 kB / 3.126 GB, free: 34.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.273/9.62, allocations: 1.01 GB / 4.136 GB, free: 224.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.755e-06/9.62, allocations: 3.406 kB / 4.136 GB, free: 224.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002117/9.62, allocations: 37.38 kB / 4.136 GB, free: 224.1 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.008661/9.628, allocations: 1.97 MB / 4.138 GB, free: 223.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/9.629, allocations: 6.125 kB / 4.138 GB, free: 223.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/9.632, allocations: 0.5466 MB / 4.138 GB, free: 223.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004301/9.637, allocations: 1.081 MB / 4.139 GB, free: 223.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007074/9.637, allocations: 195 kB / 4.139 GB, free: 223.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/9.638, allocations: 88.83 kB / 4.139 GB, free: 223.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003647/9.641, allocations: 1.341 MB / 4.141 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/9.642, allocations: 0 / 4.141 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/9.642, allocations: 31.16 kB / 4.141 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-05/9.642, allocations: 46.61 kB / 4.141 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/9.646, allocations: 1.501 MB / 4.142 GB, free: 223 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.007941/9.654, allocations: 4.209 MB / 4.146 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/9.656, allocations: 1.066 MB / 4.147 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000932/9.657, allocations: 0.6081 MB / 4.148 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/9.657, allocations: 43.83 kB / 4.148 GB, free: 220.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.357e-06/9.657, allocations: 0 / 4.148 GB, free: 220.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.005047/9.662, allocations: 1.988 MB / 4.15 GB, free: 220.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/9.662, allocations: 62.81 kB / 4.15 GB, free: 220.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/9.663, allocations: 0.7079 MB / 4.151 GB, free: 220.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/9.663, allocations: 46.02 kB / 4.151 GB, free: 220.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/9.664, allocations: 447.5 kB / 4.151 GB, free: 220.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/9.664, allocations: 263.6 kB / 4.151 GB, free: 220.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/9.664, allocations: 16.91 kB / 4.151 GB, free: 220.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.905e-05/9.664, allocations: 330.2 kB / 4.152 GB, free: 219.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/9.666, allocations: 0.5921 MB / 4.152 GB, free: 219.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/9.667, allocations: 0.7377 MB / 4.153 GB, free: 219.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/9.668, allocations: 0.6477 MB / 4.154 GB, free: 219.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/9.668, allocations: 0 / 4.154 GB, free: 219.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003405/9.672, allocations: 1.48 MB / 4.155 GB, free: 219.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/9.672, allocations: 487.8 kB / 4.156 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/9.672, allocations: 3.812 kB / 4.156 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/9.672, allocations: 3.812 kB / 4.156 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/9.674, allocations: 267.3 kB / 4.156 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005505/9.674, allocations: 1.199 MB / 4.157 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/9.676, allocations: 203.7 kB / 4.157 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/9.676, allocations: 38.31 kB / 4.157 GB, free: 217.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/9.676, allocations: 3.438 kB / 4.157 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003074/9.679, allocations: 1.375 MB / 4.159 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/9.679, allocations: 0 / 4.159 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/9.679, allocations: 3.844 kB / 4.159 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/9.68, allocations: 261.6 kB / 4.159 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/9.68, allocations: 3.594 kB / 4.159 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/9.682, allocations: 198.7 kB / 4.159 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/9.682, allocations: 38.66 kB / 4.159 GB, free: 217.9 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.0007892/9.683, allocations: 385 kB / 4.16 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/9.683, allocations: 112.6 kB / 4.16 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/9.687, allocations: 1.494 MB / 4.161 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/9.687, allocations: 11.44 kB / 4.161 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/9.687, allocations: 0 / 4.161 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/9.687, allocations: 3.938 kB / 4.161 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006916/9.694, allocations: 2.995 MB / 4.164 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/9.694, allocations: 6.438 kB / 4.164 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/9.695, allocations: 260.8 kB / 4.164 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/9.695, allocations: 7.594 kB / 4.164 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/9.695, allocations: 27.84 kB / 4.164 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004659/9.696, allocations: 1.191 MB / 4.165 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/9.696, allocations: 10.62 kB / 4.165 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/9.699, allocations: 1.769 MB / 4.167 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009489/9.7, allocations: 318.2 kB / 4.168 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/9.701, allocations: 19.19 kB / 4.168 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/9.702, allocations: 164.3 kB / 4.168 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/9.702, allocations: 61.69 kB / 4.168 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/9.703, allocations: 45.94 kB / 4.168 GB, free: 215.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001073/9.704, allocations: 0.5553 MB / 4.168 GB, free: 215.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/9.704, allocations: 1.594 kB / 4.168 GB, free: 215.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003285/9.707, allocations: 0.773 MB / 4.169 GB, free: 215 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.004254/9.711, allocations: 2.357 MB / 4.171 GB, free: 214.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005479/9.717, allocations: 2.212 MB / 4.174 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/9.717, allocations: 3.938 kB / 4.174 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/9.718, allocations: 0.7265 MB / 4.174 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/9.721, allocations: 0.5031 MB / 4.175 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/9.737, allocations: 3.291 MB / 4.178 GB, free: 212.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000922/9.738, allocations: 1.115 MB / 4.179 GB, free: 212.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002328/9.74, allocations: 422.3 kB / 4.179 GB, free: 212.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/9.741, allocations: 89.77 kB / 4.18 GB, free: 212.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.503e-06/9.741, allocations: 0 / 4.18 GB, free: 212.2 MB / 1.167 GB Notification: Performance of Templates: time 0.06565/9.806, allocations: 46 MB / 4.224 GB, free: 210.6 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