Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.539/2.539, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001654/0.001654, allocations: 177 kB / 498.1 MB, free: 5.758 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.679/1.679, 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.001011/0.00101, allocations: 102.7 kB / 0.9346 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005377/0.0005377, allocations: 10.55 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4238, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.025/5.449, allocations: 1.896 GB / 3.119 GB, free: 83.28 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/5.449, allocations: 89.66 kB / 3.119 GB, free: 83.19 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.986/9.435, allocations: 1.01 GB / 4.129 GB, free: 229 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.044e-06/9.435, allocations: 0 / 4.129 GB, free: 229 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.798e-05/9.435, allocations: 28.58 kB / 4.129 GB, free: 229 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.006242/9.442, allocations: 1.965 MB / 4.131 GB, free: 228.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/9.442, allocations: 13.41 kB / 4.131 GB, free: 228.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/9.445, allocations: 0.541 MB / 4.132 GB, free: 228.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/9.448, allocations: 1.087 MB / 4.133 GB, free: 228.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000588/9.448, allocations: 194.3 kB / 4.133 GB, free: 228.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/9.448, allocations: 88 kB / 4.133 GB, free: 228.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/9.451, allocations: 1.343 MB / 4.134 GB, free: 228 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/9.451, allocations: 0 / 4.134 GB, free: 228 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/9.451, allocations: 34.78 kB / 4.134 GB, free: 228 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/9.451, allocations: 42.73 kB / 4.134 GB, free: 228 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/9.454, allocations: 1.499 MB / 4.136 GB, free: 228 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.006716/9.461, allocations: 4.204 MB / 4.14 GB, free: 226.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/9.463, allocations: 1.07 MB / 4.141 GB, free: 226.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008663/9.464, allocations: 0.6118 MB / 4.141 GB, free: 225.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/9.464, allocations: 46.61 kB / 4.142 GB, free: 225.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.595e-06/9.464, allocations: 3 kB / 4.142 GB, free: 225.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.004592/9.469, allocations: 1.986 MB / 4.143 GB, free: 225.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/9.469, allocations: 59.56 kB / 4.144 GB, free: 225.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/9.47, allocations: 0.7096 MB / 4.144 GB, free: 225.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/9.47, allocations: 46.64 kB / 4.144 GB, free: 225.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/9.47, allocations: 446 kB / 4.145 GB, free: 225.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/9.47, allocations: 273.2 kB / 4.145 GB, free: 225.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/9.47, allocations: 13.5 kB / 4.145 GB, free: 225.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.986e-05/9.471, allocations: 328.2 kB / 4.145 GB, free: 225 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/9.472, allocations: 0.5959 MB / 4.146 GB, free: 225 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/9.473, allocations: 0.7367 MB / 4.147 GB, free: 224.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/9.474, allocations: 0.6418 MB / 4.147 GB, free: 224.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/9.474, allocations: 0 / 4.147 GB, free: 224.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003062/9.478, allocations: 1.475 MB / 4.149 GB, free: 224.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/9.478, allocations: 487.8 kB / 4.149 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/9.478, allocations: 0 / 4.149 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/9.478, allocations: 8.672 kB / 4.149 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/9.479, allocations: 276.9 kB / 4.149 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004832/9.48, allocations: 1.196 MB / 4.151 GB, free: 223 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/9.481, allocations: 198.1 kB / 4.151 GB, free: 223 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/9.481, allocations: 42.44 kB / 4.151 GB, free: 223 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/9.481, allocations: 7.859 kB / 4.151 GB, free: 223 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002822/9.484, allocations: 1.375 MB / 4.152 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/9.484, allocations: 0 / 4.152 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/9.484, allocations: 3.75 kB / 4.152 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/9.485, allocations: 258 kB / 4.152 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/9.485, allocations: 8.547 kB / 4.152 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/9.487, allocations: 206.1 kB / 4.153 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/9.487, allocations: 40.42 kB / 4.153 GB, free: 222.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.00068/9.487, allocations: 370.7 kB / 4.153 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/9.488, allocations: 110.2 kB / 4.153 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/9.491, allocations: 1.504 MB / 4.155 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/9.491, allocations: 7.469 kB / 4.155 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/9.491, allocations: 0 / 4.155 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/9.491, allocations: 7.828 kB / 4.155 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/9.496, allocations: 2.982 MB / 4.157 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/9.496, allocations: 4.062 kB / 4.157 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/9.497, allocations: 262.6 kB / 4.158 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/9.497, allocations: 8.25 kB / 4.158 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/9.497, allocations: 26.2 kB / 4.158 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00037/9.498, allocations: 1.201 MB / 4.159 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/9.498, allocations: 6.141 kB / 4.159 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/9.501, allocations: 1.762 MB / 4.161 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/9.502, allocations: 320.8 kB / 4.161 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/9.502, allocations: 19.34 kB / 4.161 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/9.503, allocations: 168.8 kB / 4.161 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/9.503, allocations: 63.5 kB / 4.161 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.901e-05/9.503, allocations: 36.28 kB / 4.161 GB, free: 220.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007874/9.504, allocations: 0.5686 MB / 4.162 GB, free: 220.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/9.504, allocations: 0 / 4.162 GB, free: 220.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002375/9.507, allocations: 0.7583 MB / 4.163 GB, free: 220.1 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.003576/9.51, allocations: 2.359 MB / 4.165 GB, free: 219.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006072/9.516, allocations: 2.209 MB / 4.167 GB, free: 219.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/9.516, allocations: 4.688 kB / 4.167 GB, free: 219.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/9.518, allocations: 0.7367 MB / 4.168 GB, free: 219.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/9.521, allocations: 0.5012 MB / 4.168 GB, free: 219.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/9.536, allocations: 3.288 MB / 4.171 GB, free: 218.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/9.537, allocations: 1.119 MB / 4.173 GB, free: 217.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002024/9.539, allocations: 418 kB / 4.173 GB, free: 217.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/9.539, allocations: 92.53 kB / 4.173 GB, free: 217.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.254e-06/9.539, allocations: 0 / 4.173 GB, free: 217.3 MB / 1.167 GB Notification: Performance of Templates: time 0.06274/9.602, allocations: 46 MB / 4.218 GB, free: 216.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches