Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [: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 7.0.3-maint.7.0.x/package.mo): time 1.199/1.199, allocations: 249.4 MB / 256.7 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009527/0.0009526, allocations: 193.1 kB / 316 MB, free: 3.625 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.09/1.09, allocations: 205.1 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008417/0.0008418, allocations: 93.08 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.164e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1754, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.247, allocations: 392.8 MB / 1.268 GB, free: 327.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.248, allocations: 84.52 kB / 1.268 GB, free: 327.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.418/1.666, allocations: 234.3 MB / 1.497 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.399e-05/1.666, allocations: 19.94 kB / 1.497 GB, free: 117.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001144/1.667, allocations: 0.8655 MB / 1.498 GB, free: 117 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/1.667, allocations: 8.031 kB / 1.498 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/1.667, allocations: 87.05 kB / 1.498 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02299/1.69, allocations: 11.86 MB / 1.51 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/1.69, allocations: 12 kB / 1.51 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/1.691, allocations: 31.91 kB / 1.51 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000487/1.691, allocations: 269.9 kB / 1.51 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/1.692, allocations: 418.2 kB / 1.51 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/1.692, allocations: 0 / 1.51 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/1.692, allocations: 3.938 kB / 1.51 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/1.692, allocations: 16 kB / 1.51 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/1.694, allocations: 2.642 MB / 1.513 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/1.694, allocations: 137.9 kB / 1.513 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/1.694, allocations: 101 kB / 1.513 GB, free: 101 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/1.694, allocations: 340.6 kB / 1.513 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/1.694, allocations: 38.75 kB / 1.513 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/1.694, allocations: 0 / 1.513 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22): time 0.0004826/1.695, allocations: 230 kB / 1.514 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/1.695, allocations: 55.41 kB / 1.514 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/1.695, allocations: 434.2 kB / 1.514 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/1.695, allocations: 25.7 kB / 1.514 GB, free: 99.76 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.695, allocations: 271.3 kB / 1.514 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/1.696, allocations: 78.8 kB / 1.515 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/1.696, allocations: 0 / 1.515 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/1.696, allocations: 358.8 kB / 1.515 GB, free: 99.05 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/1.696, allocations: 79.97 kB / 1.515 GB, free: 98.97 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/1.696, allocations: 226.8 kB / 1.515 GB, free: 98.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/1.696, allocations: 132 kB / 1.515 GB, free: 98.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.696, allocations: 0 / 1.515 GB, free: 98.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004626/1.697, allocations: 348.8 kB / 1.516 GB, free: 98.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002529/1.697, allocations: 1.655 MB / 1.517 GB, free: 96.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.697, allocations: 4 kB / 1.517 GB, free: 96.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.697, allocations: 8 kB / 1.517 GB, free: 96.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/1.697, allocations: 79.95 kB / 1.517 GB, free: 96.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.697, allocations: 11.94 kB / 1.517 GB, free: 96.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/1.698, allocations: 55.5 kB / 1.517 GB, free: 96.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/1.698, allocations: 20 kB / 1.517 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.641e-06/1.698, allocations: 4 kB / 1.517 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003743/1.698, allocations: 263.8 kB / 1.518 GB, free: 95.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/1.698, allocations: 4 kB / 1.518 GB, free: 95.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/1.698, allocations: 4 kB / 1.518 GB, free: 95.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/1.698, allocations: 83.83 kB / 1.518 GB, free: 95.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/1.698, allocations: 8 kB / 1.518 GB, free: 95.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/1.699, allocations: 40.17 kB / 1.518 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/1.699, allocations: 23.98 kB / 1.518 GB, free: 95.82 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/1.699, allocations: 120.7 kB / 1.518 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/1.699, allocations: 59.23 kB / 1.518 GB, free: 95.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/1.699, allocations: 270.1 kB / 1.518 GB, free: 95.37 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.699, allocations: 3.984 kB / 1.518 GB, free: 95.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.699, allocations: 0 / 1.518 GB, free: 95.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000307/1.7, allocations: 371.8 kB / 1.519 GB, free: 94.95 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/1.701, allocations: 0.9481 MB / 1.52 GB, free: 93.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.701, allocations: 0 / 1.52 GB, free: 93.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/1.701, allocations: 51.92 kB / 1.52 GB, free: 93.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.701, allocations: 4 kB / 1.52 GB, free: 93.86 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/1.701, allocations: 8.266 kB / 1.52 GB, free: 93.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.701, allocations: 8 kB / 1.52 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.701, allocations: 4 kB / 1.52 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005114/1.701, allocations: 0.6009 MB / 1.52 GB, free: 93.14 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/1.702, allocations: 168.3 kB / 1.52 GB, free: 92.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/1.702, allocations: 8 kB / 1.52 GB, free: 92.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/1.702, allocations: 27.95 kB / 1.52 GB, free: 92.92 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/1.702, allocations: 19.91 kB / 1.52 GB, free: 92.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/1.702, allocations: 12 kB / 1.52 GB, free: 92.89 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002763/1.702, allocations: 330.9 kB / 1.521 GB, free: 92.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009921/1.703, allocations: 367.1 kB / 1.521 GB, free: 92.21 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006616/1.704, allocations: 401.5 kB / 1.521 GB, free: 91.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004561/1.705, allocations: 388.5 kB / 1.522 GB, free: 91.44 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.705, allocations: 4.125 kB / 1.522 GB, free: 91.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/1.705, allocations: 99.84 kB / 1.522 GB, free: 91.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.706, allocations: 311.5 kB / 1.522 GB, free: 91.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/1.707, allocations: 0.8049 MB / 1.523 GB, free: 90.18 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/1.708, allocations: 0.9646 MB / 1.524 GB, free: 89.18 MB / 0.8698 GB Notification: Performance of SimCode: time 3.31e-07/1.708, allocations: 4 kB / 1.524 GB, free: 89.18 MB / 0.8698 GB Notification: Performance of Templates: time 0.01778/1.726, allocations: 12.64 MB / 1.536 GB, free: 76.64 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches