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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.016/2.016, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.00113/0.00113, allocations: 174.4 kB / 490.8 MB, free: 1.902 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.529/1.529, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.001158/0.001158, allocations: 103.2 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.087e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3584, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.267/4.626, allocations: 1.896 GB / 3.107 GB, free: 427.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/4.626, allocations: 88.59 kB / 3.107 GB, free: 427.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.897/7.523, allocations: 1.01 GB / 4.117 GB, free: 217.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001985/7.523, allocations: 36.23 kB / 4.117 GB, free: 217.2 MB / 1.151 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.008175/7.531, allocations: 1.824 MB / 4.119 GB, free: 216.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/7.532, allocations: 9.344 kB / 4.119 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/7.536, allocations: 0.5905 MB / 4.12 GB, free: 216.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004361/7.54, allocations: 1.089 MB / 4.121 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008183/7.541, allocations: 187.6 kB / 4.121 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005527/7.541, allocations: 50.25 kB / 4.121 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003391/7.545, allocations: 1.007 MB / 4.122 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/7.548, allocations: 1.045 MB / 4.123 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/7.548, allocations: 0 / 4.123 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/7.549, allocations: 1.188 kB / 4.123 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.109e-05/7.549, allocations: 47.81 kB / 4.123 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009584/7.558, allocations: 4.1 MB / 4.127 GB, free: 214.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/7.56, allocations: 0.7375 MB / 4.128 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008114/7.561, allocations: 0.5078 MB / 4.128 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/7.562, allocations: 0.6124 MB / 4.129 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/7.562, allocations: 41.97 kB / 4.129 GB, free: 213.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.737e-06/7.562, allocations: 2.969 kB / 4.129 GB, free: 213.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.003113/7.565, allocations: 1.192 MB / 4.13 GB, free: 213.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/7.565, allocations: 59.75 kB / 4.13 GB, free: 213.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/7.566, allocations: 0.559 MB / 4.131 GB, free: 213.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/7.566, allocations: 31.7 kB / 4.131 GB, free: 213.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/7.567, allocations: 330.4 kB / 4.131 GB, free: 213.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/7.567, allocations: 252.1 kB / 4.131 GB, free: 213.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/7.567, allocations: 1.156 kB / 4.131 GB, free: 213.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/7.567, allocations: 334.6 kB / 4.132 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/7.568, allocations: 406.4 kB / 4.132 GB, free: 212.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000853/7.569, allocations: 0.5414 MB / 4.133 GB, free: 212.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/7.57, allocations: 0.611 MB / 4.133 GB, free: 212.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/7.57, allocations: 1.125 kB / 4.133 GB, free: 212.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002768/7.573, allocations: 1.22 MB / 4.134 GB, free: 212.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/7.573, allocations: 452.1 kB / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/7.573, allocations: 4.938 kB / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/7.573, allocations: 11.86 kB / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/7.575, allocations: 289.2 kB / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006707/7.576, allocations: 1.21 MB / 4.136 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/7.577, allocations: 186.2 kB / 4.136 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/7.577, allocations: 40.16 kB / 4.136 GB, free: 211.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/7.577, allocations: 2.562 kB / 4.136 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002415/7.58, allocations: 1.096 MB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/7.58, allocations: 4.328 kB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/7.58, allocations: 4.625 kB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/7.581, allocations: 270.8 kB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/7.581, allocations: 4.031 kB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/7.583, allocations: 180 kB / 4.138 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/7.583, allocations: 44.17 kB / 4.138 GB, free: 211 MB / 1.151 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.0003269/7.584, allocations: 120.4 kB / 4.138 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004141/7.584, allocations: 97.03 kB / 4.138 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/7.587, allocations: 1.262 MB / 4.139 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/7.587, allocations: 7.031 kB / 4.139 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/7.587, allocations: 5.375 kB / 4.139 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/7.587, allocations: 3.656 kB / 4.139 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/7.593, allocations: 2.655 MB / 4.142 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/7.593, allocations: 7.25 kB / 4.142 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/7.594, allocations: 269.8 kB / 4.142 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.587e-05/7.594, allocations: 7.531 kB / 4.142 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/7.594, allocations: 18.94 kB / 4.142 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005015/7.595, allocations: 1.2 MB / 4.143 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/7.595, allocations: 3.938 kB / 4.144 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002949/7.598, allocations: 1.538 MB / 4.145 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/7.599, allocations: 302.2 kB / 4.145 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/7.599, allocations: 4.969 kB / 4.145 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/7.601, allocations: 179 kB / 4.145 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/7.601, allocations: 58.84 kB / 4.146 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/7.601, allocations: 39.56 kB / 4.146 GB, free: 208.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008475/7.602, allocations: 445.9 kB / 4.146 GB, free: 208.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002868/7.605, allocations: 0.6801 MB / 4.147 GB, free: 208.1 MB / 1.151 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.004027/7.609, allocations: 2.637 MB / 4.149 GB, free: 207.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003304/7.612, allocations: 1.613 MB / 4.151 GB, free: 206.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/7.612, allocations: 3.094 kB / 4.151 GB, free: 206.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009709/7.613, allocations: 0.5417 MB / 4.151 GB, free: 206.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/7.616, allocations: 404.3 kB / 4.152 GB, free: 206.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/7.632, allocations: 2.424 MB / 4.154 GB, free: 205.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/7.634, allocations: 1.235 MB / 4.155 GB, free: 205 MB / 1.151 GB Notification: Performance of SimCode: time 2.916e-06/7.634, allocations: 0 / 4.155 GB, free: 205 MB / 1.151 GB Notification: Performance of Templates: time 0.06638/7.7, allocations: 38.39 MB / 4.193 GB, free: 180.8 MB / 1.151 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