Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.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_latest_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_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.6/2.6, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.002735/0.002735, allocations: 183 kB / 496.1 MB, free: 12.86 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.689/1.689, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009943/0.0009943, allocations: 106.8 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.906e-05/3.909e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3973, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.101/6.499, allocations: 1.897 GB / 3.115 GB, free: 353.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/6.499, allocations: 80.55 kB / 3.115 GB, free: 353.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.036/10.54, allocations: 1.01 GB / 4.125 GB, free: 220.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.773e-06/10.54, allocations: 0 / 4.125 GB, free: 220.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001789/10.54, allocations: 38.08 kB / 4.125 GB, free: 220.3 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.007282/10.54, allocations: 1.79 MB / 4.127 GB, free: 219.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/10.54, allocations: 7.438 kB / 4.127 GB, free: 219.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/10.55, allocations: 0.5466 MB / 4.127 GB, free: 219 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/10.55, allocations: 1.069 MB / 4.128 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006606/10.55, allocations: 197.7 kB / 4.128 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003854/10.55, allocations: 88.3 kB / 4.129 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/10.55, allocations: 1.135 MB / 4.13 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/10.55, allocations: 0 / 4.13 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/10.55, allocations: 34.03 kB / 4.13 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.067e-05/10.55, allocations: 55.02 kB / 4.13 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/10.56, allocations: 1.107 MB / 4.131 GB, free: 217 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.007911/10.56, allocations: 4.197 MB / 4.135 GB, free: 213.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/10.57, allocations: 0.753 MB / 4.136 GB, free: 213.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007102/10.57, allocations: 0.5119 MB / 4.136 GB, free: 213 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009043/10.57, allocations: 0.6079 MB / 4.137 GB, free: 212.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/10.57, allocations: 39.12 kB / 4.137 GB, free: 212.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.386e-06/10.57, allocations: 0 / 4.137 GB, free: 212.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002311/10.57, allocations: 1.027 MB / 4.138 GB, free: 211.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/10.57, allocations: 66.2 kB / 4.138 GB, free: 211.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/10.57, allocations: 0.699 MB / 4.139 GB, free: 211.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/10.57, allocations: 44.45 kB / 4.139 GB, free: 211.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/10.57, allocations: 445.8 kB / 4.139 GB, free: 211 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/10.57, allocations: 261.8 kB / 4.139 GB, free: 210.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/10.57, allocations: 15.84 kB / 4.139 GB, free: 210.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/10.57, allocations: 333.5 kB / 4.14 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006001/10.57, allocations: 409.4 kB / 4.14 GB, free: 210.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007056/10.57, allocations: 0.5491 MB / 4.141 GB, free: 209.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/10.57, allocations: 459.9 kB / 4.141 GB, free: 209.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/10.57, allocations: 0 / 4.141 GB, free: 209.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001828/10.58, allocations: 1.1 MB / 4.142 GB, free: 209.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/10.58, allocations: 482.2 kB / 4.142 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/10.58, allocations: 7.875 kB / 4.142 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/10.58, allocations: 3.875 kB / 4.142 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/10.58, allocations: 286.6 kB / 4.143 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005615/10.58, allocations: 1.19 MB / 4.144 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/10.58, allocations: 200.1 kB / 4.144 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/10.58, allocations: 39.88 kB / 4.144 GB, free: 207.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/10.58, allocations: 8.875 kB / 4.144 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001549/10.58, allocations: 0.9916 MB / 4.145 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/10.58, allocations: 0 / 4.145 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/10.58, allocations: 6.844 kB / 4.145 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/10.58, allocations: 254 kB / 4.145 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/10.58, allocations: 15.45 kB / 4.145 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/10.58, allocations: 198.7 kB / 4.146 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/10.58, allocations: 40.56 kB / 4.146 GB, free: 206.6 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.0002831/10.58, allocations: 152.3 kB / 4.146 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/10.58, allocations: 104.6 kB / 4.146 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/10.59, allocations: 1.103 MB / 4.147 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/10.59, allocations: 6.375 kB / 4.147 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/10.59, allocations: 7.75 kB / 4.147 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/10.59, allocations: 7.922 kB / 4.147 GB, free: 205.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004381/10.59, allocations: 2.627 MB / 4.15 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/10.59, allocations: 3.969 kB / 4.15 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/10.59, allocations: 259.5 kB / 4.15 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/10.59, allocations: 15.02 kB / 4.15 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-05/10.59, allocations: 26.88 kB / 4.15 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004441/10.59, allocations: 1.187 MB / 4.151 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/10.59, allocations: 7.578 kB / 4.151 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/10.6, allocations: 1.396 MB / 4.152 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007511/10.6, allocations: 311.7 kB / 4.153 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/10.6, allocations: 19.16 kB / 4.153 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/10.6, allocations: 167 kB / 4.153 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/10.6, allocations: 65.19 kB / 4.153 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.574e-05/10.6, allocations: 39.66 kB / 4.153 GB, free: 201.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008685/10.6, allocations: 0.5552 MB / 4.153 GB, free: 201 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.21e-07/10.6, allocations: 0 / 4.153 GB, free: 201 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003008/10.6, allocations: 0.7631 MB / 4.154 GB, free: 200.8 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.004158/10.61, allocations: 2.37 MB / 4.157 GB, free: 199.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003117/10.61, allocations: 1.665 MB / 4.158 GB, free: 198.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/10.61, allocations: 1.938 kB / 4.158 GB, free: 198.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009153/10.61, allocations: 0.5396 MB / 4.159 GB, free: 198.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/10.61, allocations: 0.5043 MB / 4.159 GB, free: 198.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/10.63, allocations: 2.377 MB / 4.162 GB, free: 195.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007928/10.63, allocations: 1.112 MB / 4.163 GB, free: 194.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002687/10.63, allocations: 483.4 kB / 4.163 GB, free: 194.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/10.63, allocations: 75.39 kB / 4.163 GB, free: 194.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/10.63, allocations: 4 kB / 4.163 GB, free: 194.1 MB / 1.167 GB Notification: Performance of Templates: time 0.07124/10.7, allocations: 53.39 MB / 4.215 GB, free: 141.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches