Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001685/0.001685, allocations: 185.7 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0009629/0.0009627, allocations: 97.23 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004072, allocations: 9.781 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2651, allocations: 106.3 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.552/5.818, allocations: 2.208 GB / 3.108 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/5.818, allocations: 87.95 kB / 3.108 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.673/9.491, allocations: 0.9692 GB / 4.077 GB, free: 55 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.304e-06/9.491, allocations: 0 / 4.077 GB, free: 55 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.86e-05/9.491, allocations: 32 kB / 4.077 GB, free: 54.96 MB / 0.8855 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.006252/9.497, allocations: 1.903 MB / 4.079 GB, free: 53 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/9.497, allocations: 12.03 kB / 4.079 GB, free: 52.99 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/9.5, allocations: 0.5409 MB / 4.079 GB, free: 52.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/9.503, allocations: 1.05 MB / 4.08 GB, free: 51.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005678/9.504, allocations: 197.9 kB / 4.081 GB, free: 51.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/9.504, allocations: 87.95 kB / 4.081 GB, free: 51.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/9.506, allocations: 1.329 MB / 4.082 GB, free: 49.73 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/9.506, allocations: 0 / 4.082 GB, free: 49.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/9.506, allocations: 36 kB / 4.082 GB, free: 49.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/9.506, allocations: 53.91 kB / 4.082 GB, free: 49.64 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/9.51, allocations: 1.569 MB / 4.084 GB, free: 48.07 MB / 0.8855 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.006171/9.516, allocations: 4.082 MB / 4.088 GB, free: 43.71 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/9.518, allocations: 1.037 MB / 4.089 GB, free: 42.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008466/9.519, allocations: 0.6125 MB / 4.089 GB, free: 41.94 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/9.519, allocations: 39.22 kB / 4.089 GB, free: 41.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.196e-06/9.519, allocations: 0 / 4.089 GB, free: 41.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.00435/9.523, allocations: 1.894 MB / 4.091 GB, free: 39.99 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/9.523, allocations: 64.02 kB / 4.091 GB, free: 39.92 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008611/9.524, allocations: 0.7129 MB / 4.092 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/9.524, allocations: 45.7 kB / 4.092 GB, free: 39.13 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/9.525, allocations: 440.6 kB / 4.092 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/9.525, allocations: 264.1 kB / 4.092 GB, free: 38.43 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/9.525, allocations: 16 kB / 4.093 GB, free: 38.42 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/9.525, allocations: 337.9 kB / 4.093 GB, free: 38.08 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/9.526, allocations: 0.5563 MB / 4.093 GB, free: 37.52 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/9.527, allocations: 0.7139 MB / 4.094 GB, free: 36.76 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/9.529, allocations: 0.6138 MB / 4.095 GB, free: 36.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/9.529, allocations: 0 / 4.095 GB, free: 36.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002903/9.532, allocations: 1.415 MB / 4.096 GB, free: 34.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/9.532, allocations: 493.3 kB / 4.097 GB, free: 34.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/9.532, allocations: 0 / 4.097 GB, free: 34.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/9.532, allocations: 4 kB / 4.097 GB, free: 34.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/9.533, allocations: 259.7 kB / 4.097 GB, free: 33.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005855/9.534, allocations: 1.199 MB / 4.098 GB, free: 32.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/9.535, allocations: 199.3 kB / 4.098 GB, free: 32.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/9.536, allocations: 35.98 kB / 4.098 GB, free: 32.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/9.536, allocations: 5.562 kB / 4.098 GB, free: 32.45 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002781/9.538, allocations: 1.313 MB / 4.099 GB, free: 31.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/9.538, allocations: 4.062 kB / 4.099 GB, free: 31.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/9.538, allocations: 4 kB / 4.099 GB, free: 31.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/9.54, allocations: 251.7 kB / 4.1 GB, free: 30.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/9.54, allocations: 7.953 kB / 4.1 GB, free: 30.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/9.541, allocations: 191.2 kB / 4.1 GB, free: 30.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.928e-05/9.541, allocations: 39.97 kB / 4.1 GB, free: 30.64 MB / 0.8855 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.0007299/9.542, allocations: 372.9 kB / 4.1 GB, free: 30.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/9.542, allocations: 106.7 kB / 4.1 GB, free: 30.16 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/9.545, allocations: 1.437 MB / 4.102 GB, free: 28.72 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/9.545, allocations: 8 kB / 4.102 GB, free: 28.71 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/9.545, allocations: 3.953 kB / 4.102 GB, free: 28.71 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/9.545, allocations: 3.984 kB / 4.102 GB, free: 28.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004971/9.55, allocations: 2.893 MB / 4.105 GB, free: 25.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/9.55, allocations: 4 kB / 4.105 GB, free: 25.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/9.551, allocations: 247.8 kB / 4.105 GB, free: 25.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/9.551, allocations: 8 kB / 4.105 GB, free: 25.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/9.551, allocations: 23.98 kB / 4.105 GB, free: 25.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003846/9.552, allocations: 1.188 MB / 4.106 GB, free: 24.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/9.552, allocations: 15.92 kB / 4.106 GB, free: 24.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/9.555, allocations: 1.706 MB / 4.108 GB, free: 22.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/9.555, allocations: 307.5 kB / 4.108 GB, free: 22 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/9.556, allocations: 23.94 kB / 4.108 GB, free: 21.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/9.557, allocations: 167.7 kB / 4.108 GB, free: 21.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/9.557, allocations: 64.38 kB / 4.108 GB, free: 21.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/9.557, allocations: 39.97 kB / 4.108 GB, free: 21.71 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006876/9.558, allocations: 0.5544 MB / 4.109 GB, free: 21.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/9.558, allocations: 0 / 4.109 GB, free: 21.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002278/9.56, allocations: 0.7646 MB / 4.11 GB, free: 20.38 MB / 0.8855 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.003138/9.563, allocations: 2.361 MB / 4.112 GB, free: 17.85 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004515/9.568, allocations: 2.104 MB / 4.114 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/9.568, allocations: 4 kB / 4.114 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/9.569, allocations: 0.6949 MB / 4.115 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/9.572, allocations: 0.4995 MB / 4.115 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/9.575, allocations: 2.434 MB / 4.118 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/9.576, allocations: 1.11 MB / 4.119 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001637/9.577, allocations: 399.5 kB / 4.119 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/9.578, allocations: 87.41 kB / 4.119 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of SimCode: time 7.01e-07/9.578, allocations: 0 / 4.119 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.5657/10.14, allocations: 45.56 MB / 4.164 GB, free: 154 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches