Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") [: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 1.98/1.98, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.00123/0.00123, allocations: 177.3 kB / 490.8 MB, free: 1.938 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.479/1.479, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0009691/0.000969, allocations: 97.3 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.494e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3156, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.888/5.204, allocations: 2.167 GB / 3.378 GB, free: 117.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/5.204, allocations: 96.23 kB / 3.378 GB, free: 117.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.383/7.587, allocations: 0.7206 GB / 4.099 GB, free: 271 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002231/7.587, allocations: 40.33 kB / 4.099 GB, free: 271 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.005562/7.593, allocations: 1.544 MB / 4.1 GB, free: 269.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/7.593, allocations: 8.344 kB / 4.1 GB, free: 269.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005084/7.598, allocations: 0.5051 MB / 4.101 GB, free: 269.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/7.604, allocations: 1.404 MB / 4.102 GB, free: 268.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/7.604, allocations: 33.34 kB / 4.102 GB, free: 268.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005849/7.604, allocations: 68.45 kB / 4.102 GB, free: 268.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003382/7.608, allocations: 1.237 MB / 4.104 GB, free: 268.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/7.611, allocations: 1.185 MB / 4.105 GB, free: 267.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/7.611, allocations: 1.531 kB / 4.105 GB, free: 267.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/7.611, allocations: 0.9062 kB / 4.105 GB, free: 267.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-05/7.611, allocations: 49.52 kB / 4.105 GB, free: 267.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00974/7.621, allocations: 5.122 MB / 4.11 GB, free: 263.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/7.622, allocations: 0.5989 MB / 4.11 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/7.623, allocations: 0.5947 MB / 4.111 GB, free: 263.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004097/7.624, allocations: 208.9 kB / 4.111 GB, free: 263 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/7.624, allocations: 47.78 kB / 4.111 GB, free: 263 MB / 1.151 GB Notification: Performance of pre-optimization done (n=81): time 4.037e-06/7.624, allocations: 0 / 4.111 GB, free: 263 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.007066/7.631, allocations: 2.678 MB / 4.114 GB, free: 261.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/7.631, allocations: 60.19 kB / 4.114 GB, free: 261 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/7.632, allocations: 0.7873 MB / 4.115 GB, free: 260.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/7.632, allocations: 32.98 kB / 4.115 GB, free: 260.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/7.633, allocations: 399.9 kB / 4.115 GB, free: 259.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/7.633, allocations: 295.6 kB / 4.115 GB, free: 259.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/7.633, allocations: 0 / 4.115 GB, free: 259.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/7.633, allocations: 338 kB / 4.116 GB, free: 259.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/7.634, allocations: 457.3 kB / 4.116 GB, free: 258.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/7.634, allocations: 0.6051 MB / 4.117 GB, free: 258.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007084/7.635, allocations: 0.5657 MB / 4.117 GB, free: 257.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/7.635, allocations: 4 kB / 4.117 GB, free: 257.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001796/7.637, allocations: 1.231 MB / 4.118 GB, free: 256.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/7.637, allocations: 0.7933 MB / 4.119 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/7.637, allocations: 8 kB / 4.119 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/7.637, allocations: 68.75 kB / 4.119 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/7.638, allocations: 191.6 kB / 4.12 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/7.64, allocations: 2.905 MB / 4.122 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/7.642, allocations: 112.6 kB / 4.122 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/7.642, allocations: 28.06 kB / 4.122 GB, free: 252 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/7.642, allocations: 4 kB / 4.122 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001478/7.644, allocations: 1.102 MB / 4.124 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/7.644, allocations: 4.188 kB / 4.124 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/7.644, allocations: 76.66 kB / 4.124 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/7.644, allocations: 175.6 kB / 4.124 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/7.646, allocations: 1.715 MB / 4.125 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/7.647, allocations: 118.8 kB / 4.126 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/7.647, allocations: 24.06 kB / 4.126 GB, free: 248.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002649/7.648, allocations: 120.8 kB / 4.126 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/7.648, allocations: 114.4 kB / 4.126 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/7.65, allocations: 1.213 MB / 4.127 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/7.65, allocations: 11.17 kB / 4.127 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/7.65, allocations: 0 / 4.127 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/7.651, allocations: 1.281 MB / 4.128 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/7.656, allocations: 2.741 MB / 4.131 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/7.656, allocations: 8 kB / 4.131 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/7.657, allocations: 215.7 kB / 4.131 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/7.657, allocations: 76.06 kB / 4.131 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/7.657, allocations: 15.98 kB / 4.131 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/7.659, allocations: 2.898 MB / 4.134 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/7.659, allocations: 4 kB / 4.134 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002226/7.661, allocations: 2.011 MB / 4.136 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009267/7.662, allocations: 327.7 kB / 4.136 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/7.663, allocations: 12 kB / 4.136 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/7.664, allocations: 94.48 kB / 4.136 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/7.664, allocations: 44.59 kB / 4.137 GB, free: 237.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/7.664, allocations: 27.98 kB / 4.137 GB, free: 237.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009018/7.665, allocations: 0.6319 MB / 4.137 GB, free: 236.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003117/7.668, allocations: 0.7378 MB / 4.138 GB, free: 235.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002183/7.67, allocations: 1.526 MB / 4.139 GB, free: 234.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003034/7.674, allocations: 1.918 MB / 4.141 GB, free: 232.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/7.674, allocations: 0 / 4.141 GB, free: 232.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008629/7.674, allocations: 0.6847 MB / 4.142 GB, free: 231.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/7.678, allocations: 0.6975 MB / 4.143 GB, free: 231.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/7.684, allocations: 2.732 MB / 4.145 GB, free: 228.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/7.685, allocations: 1.574 MB / 4.147 GB, free: 227.1 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/7.685, allocations: 4 kB / 4.147 GB, free: 227.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05337/7.739, allocations: 37.87 MB / 4.184 GB, free: 190.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches