Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.01/2.01, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001063/0.001063, allocations: 177.2 kB / 490.8 MB, free: 1.969 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.564/1.564, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.001001/0.001001, allocations: 84.38 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.596e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3225, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.391, allocations: 412.1 MB / 1.614 GB, free: 3.594 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/1.391, allocations: 81.7 kB / 1.614 GB, free: 3.555 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.107/2.499, allocations: 247.6 MB / 1.856 GB, free: 349.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001086/2.499, allocations: 25.47 kB / 1.856 GB, free: 349.8 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001982/2.501, allocations: 0.8672 MB / 1.857 GB, free: 349.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/2.501, allocations: 13.03 kB / 1.857 GB, free: 349.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005743/2.501, allocations: 91.55 kB / 1.857 GB, free: 349 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02785/2.529, allocations: 12.47 MB / 1.869 GB, free: 338.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/2.529, allocations: 16 kB / 1.869 GB, free: 338.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/2.529, allocations: 24 kB / 1.869 GB, free: 338.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000624/2.53, allocations: 269.9 kB / 1.869 GB, free: 338.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/2.531, allocations: 426.1 kB / 1.87 GB, free: 337.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/2.531, allocations: 0 / 1.87 GB, free: 337.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/2.531, allocations: 8 kB / 1.87 GB, free: 337.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/2.531, allocations: 12 kB / 1.87 GB, free: 337.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/2.534, allocations: 2.67 MB / 1.872 GB, free: 334.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/2.534, allocations: 130 kB / 1.873 GB, free: 334.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/2.534, allocations: 89.22 kB / 1.873 GB, free: 334.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/2.534, allocations: 344.6 kB / 1.873 GB, free: 334.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/2.534, allocations: 38.69 kB / 1.873 GB, free: 334.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=22): time 2.244e-06/2.534, allocations: 0 / 1.873 GB, free: 334.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=22): time 0.0005471/2.535, allocations: 235.6 kB / 1.873 GB, free: 333.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/2.535, allocations: 51.41 kB / 1.873 GB, free: 333.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/2.535, allocations: 442.2 kB / 1.874 GB, free: 333.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/2.535, allocations: 25.7 kB / 1.874 GB, free: 333.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/2.536, allocations: 271.3 kB / 1.874 GB, free: 333.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/2.536, allocations: 82.84 kB / 1.874 GB, free: 333 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/2.536, allocations: 0 / 1.874 GB, free: 333 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.27e-05/2.536, allocations: 358.8 kB / 1.874 GB, free: 332.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/2.536, allocations: 83.92 kB / 1.874 GB, free: 332.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/2.536, allocations: 216.3 kB / 1.875 GB, free: 332.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/2.536, allocations: 135.9 kB / 1.875 GB, free: 332.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/2.536, allocations: 4 kB / 1.875 GB, free: 332.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005137/2.537, allocations: 341.1 kB / 1.875 GB, free: 331.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000318/2.537, allocations: 1.662 MB / 1.877 GB, free: 330 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/2.537, allocations: 8 kB / 1.877 GB, free: 330 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/2.537, allocations: 11.94 kB / 1.877 GB, free: 330 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/2.537, allocations: 71.91 kB / 1.877 GB, free: 329.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/2.537, allocations: 7.938 kB / 1.877 GB, free: 329.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/2.538, allocations: 55.56 kB / 1.877 GB, free: 329.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/2.538, allocations: 20 kB / 1.877 GB, free: 329.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/2.538, allocations: 4 kB / 1.877 GB, free: 329.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003958/2.538, allocations: 264.1 kB / 1.877 GB, free: 329.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/2.538, allocations: 4 kB / 1.877 GB, free: 329.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.802e-06/2.538, allocations: 8 kB / 1.877 GB, free: 329.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/2.539, allocations: 79.84 kB / 1.877 GB, free: 329.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/2.539, allocations: 8 kB / 1.877 GB, free: 329.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/2.539, allocations: 43.78 kB / 1.877 GB, free: 329.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/2.539, allocations: 20 kB / 1.877 GB, free: 329.4 MB / 1.151 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 9.737e-05/2.539, allocations: 120.7 kB / 1.877 GB, free: 329.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/2.539, allocations: 55.34 kB / 1.877 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/2.54, allocations: 262.5 kB / 1.878 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/2.54, allocations: 4 kB / 1.878 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/2.54, allocations: 0 / 1.878 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003202/2.54, allocations: 373.9 kB / 1.878 GB, free: 328.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/2.541, allocations: 0.9596 MB / 1.879 GB, free: 327.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/2.541, allocations: 4 kB / 1.879 GB, free: 327.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/2.542, allocations: 55.91 kB / 1.879 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/2.542, allocations: 4 kB / 1.879 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/2.542, allocations: 7.906 kB / 1.879 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/2.542, allocations: 4 kB / 1.879 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/2.542, allocations: 7.984 kB / 1.879 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005347/2.542, allocations: 0.5961 MB / 1.88 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/2.542, allocations: 176.4 kB / 1.88 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/2.543, allocations: 7.969 kB / 1.88 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/2.543, allocations: 23.92 kB / 1.88 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/2.543, allocations: 27.94 kB / 1.88 GB, free: 326.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/2.543, allocations: 19.98 kB / 1.88 GB, free: 326.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003103/2.543, allocations: 330.9 kB / 1.88 GB, free: 326.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001117/2.544, allocations: 371.1 kB / 1.881 GB, free: 325.8 MB / 1.151 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.0007886/2.545, allocations: 400 kB / 1.881 GB, free: 325.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004784/2.546, allocations: 384.8 kB / 1.881 GB, free: 325 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/2.546, allocations: 0 / 1.881 GB, free: 325 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/2.546, allocations: 104 kB / 1.881 GB, free: 324.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/2.547, allocations: 312.5 kB / 1.882 GB, free: 324.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/2.549, allocations: 0.8241 MB / 1.883 GB, free: 323.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/2.549, allocations: 0.9659 MB / 1.884 GB, free: 322.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.61e-07/2.549, allocations: 0 / 1.884 GB, free: 322.8 MB / 1.151 GB Notification: Performance of Templates: time 0.0196/2.569, allocations: 12.81 MB / 1.896 GB, free: 310.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches