Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,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.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,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.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.436/2.436, allocations: 393.5 MB / 408.4 MB, free: 10.91 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.001473/0.001473, allocations: 195.8 kB / 0.4902 GB, free: 2.125 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.769/1.769, allocations: 223.1 MB / 0.7992 GB, free: 15.65 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.001099/0.001099, allocations: 100.2 kB / 0.9396 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 13.17 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3563, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.986/5.343, allocations: 1.897 GB / 3.126 GB, free: 64.18 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/5.343, allocations: 88.94 kB / 3.126 GB, free: 64.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.097/9.44, allocations: 1.01 GB / 4.136 GB, free: 222.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.272e-06/9.44, allocations: 3.25 kB / 4.136 GB, free: 222.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.768e-05/9.44, allocations: 30.41 kB / 4.136 GB, free: 222.7 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.006109/9.446, allocations: 1.968 MB / 4.138 GB, free: 222.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/9.446, allocations: 6.094 kB / 4.138 GB, free: 222.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/9.449, allocations: 0.5481 MB / 4.139 GB, free: 222.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/9.452, allocations: 1.089 MB / 4.14 GB, free: 221.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006467/9.453, allocations: 196.5 kB / 4.14 GB, free: 221.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/9.453, allocations: 82.56 kB / 4.14 GB, free: 221.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/9.456, allocations: 1.347 MB / 4.141 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/9.456, allocations: 0 / 4.141 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/9.456, allocations: 33.09 kB / 4.141 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-05/9.456, allocations: 41.73 kB / 4.141 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003449/9.459, allocations: 1.504 MB / 4.143 GB, free: 221.8 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.007472/9.467, allocations: 4.201 MB / 4.147 GB, free: 220.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/9.47, allocations: 1.074 MB / 4.148 GB, free: 220.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009547/9.471, allocations: 0.611 MB / 4.149 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/9.471, allocations: 42.84 kB / 4.149 GB, free: 219.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/9.471, allocations: 0 / 4.149 GB, free: 219.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.006188/9.477, allocations: 1.986 MB / 4.151 GB, free: 219.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/9.477, allocations: 64.88 kB / 4.151 GB, free: 219.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/9.478, allocations: 0.7125 MB / 4.151 GB, free: 219.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/9.478, allocations: 43.2 kB / 4.151 GB, free: 219.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/9.478, allocations: 441.9 kB / 4.152 GB, free: 219.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/9.479, allocations: 263.2 kB / 4.152 GB, free: 219 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/9.479, allocations: 15.03 kB / 4.152 GB, free: 219 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.999e-05/9.479, allocations: 330.5 kB / 4.152 GB, free: 218.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/9.48, allocations: 0.5924 MB / 4.153 GB, free: 218.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/9.482, allocations: 0.7389 MB / 4.154 GB, free: 218.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/9.483, allocations: 0.6428 MB / 4.154 GB, free: 218.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/9.483, allocations: 3.562 kB / 4.154 GB, free: 218.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003365/9.486, allocations: 1.481 MB / 4.156 GB, free: 218.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/9.487, allocations: 482.9 kB / 4.156 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/9.487, allocations: 5.188 kB / 4.156 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/9.487, allocations: 6.031 kB / 4.156 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/9.488, allocations: 271.5 kB / 4.157 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005551/9.489, allocations: 1.189 MB / 4.158 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/9.49, allocations: 205.7 kB / 4.158 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/9.49, allocations: 39.88 kB / 4.158 GB, free: 216.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/9.49, allocations: 3.594 kB / 4.158 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003131/9.494, allocations: 1.379 MB / 4.159 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/9.494, allocations: 0 / 4.159 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/9.494, allocations: 6.344 kB / 4.159 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/9.495, allocations: 257.1 kB / 4.16 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/9.495, allocations: 5.344 kB / 4.16 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/9.496, allocations: 198.8 kB / 4.16 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/9.497, allocations: 39.78 kB / 4.16 GB, free: 216.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 () * 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.0008492/9.497, allocations: 378 kB / 4.16 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/9.498, allocations: 112 kB / 4.16 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/9.501, allocations: 1.503 MB / 4.162 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/9.501, allocations: 7.594 kB / 4.162 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/9.501, allocations: 3.656 kB / 4.162 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/9.501, allocations: 3.656 kB / 4.162 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/9.507, allocations: 2.992 MB / 4.165 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/9.507, allocations: 3.938 kB / 4.165 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/9.508, allocations: 255.7 kB / 4.165 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/9.508, allocations: 7.531 kB / 4.165 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/9.508, allocations: 29.86 kB / 4.165 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003838/9.509, allocations: 1.195 MB / 4.166 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/9.509, allocations: 5.062 kB / 4.166 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/9.512, allocations: 1.769 MB / 4.168 GB, free: 214.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007046/9.513, allocations: 319.9 kB / 4.168 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/9.513, allocations: 22.45 kB / 4.168 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/9.514, allocations: 163.9 kB / 4.168 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/9.514, allocations: 63.14 kB / 4.168 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.478e-05/9.514, allocations: 42.39 kB / 4.168 GB, free: 214 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007031/9.515, allocations: 0.5572 MB / 4.169 GB, free: 213.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/9.515, allocations: 0 / 4.169 GB, free: 213.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002401/9.517, allocations: 0.7662 MB / 4.17 GB, free: 213.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 () * 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.00338/9.521, allocations: 2.359 MB / 4.172 GB, free: 213 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005366/9.526, allocations: 2.215 MB / 4.174 GB, free: 212.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/9.526, allocations: 3.875 kB / 4.174 GB, free: 212.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/9.528, allocations: 0.7302 MB / 4.175 GB, free: 212.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/9.531, allocations: 0.5046 MB / 4.175 GB, free: 212.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/9.546, allocations: 3.301 MB / 4.179 GB, free: 211.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/9.546, allocations: 1.106 MB / 4.18 GB, free: 211 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002001/9.548, allocations: 427.4 kB / 4.18 GB, free: 211 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/9.549, allocations: 93.36 kB / 4.18 GB, free: 211 MB / 1.167 GB Notification: Performance of SimCode: time 1.222e-06/9.549, allocations: 0 / 4.18 GB, free: 211 MB / 1.167 GB Notification: Performance of Templates: time 0.06048/9.609, allocations: 46 MB / 4.225 GB, free: 209.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches