Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [: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.993/1.993, 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.001043/0.001043, allocations: 181.3 kB / 490.8 MB, free: 1.918 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.444/1.444, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.001148/0.001148, allocations: 95.42 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.977e-06/8.997e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3092, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.059/5.369, allocations: 1.92 GB / 3.132 GB, free: 391.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/5.369, allocations: 83.95 kB / 3.132 GB, free: 391.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.682/7.051, allocations: 0.572 GB / 3.704 GB, free: 242.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001042/7.052, allocations: 31.05 kB / 3.704 GB, free: 242.3 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002881/7.054, allocations: 1.247 MB / 3.705 GB, free: 241 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/7.054, allocations: 12.03 kB / 3.705 GB, free: 241 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/7.057, allocations: 346.3 kB / 3.705 GB, free: 240.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/7.059, allocations: 0.8083 MB / 3.706 GB, free: 239.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/7.059, allocations: 105.9 kB / 3.706 GB, free: 239.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/7.059, allocations: 51.91 kB / 3.706 GB, free: 239.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001414/7.061, allocations: 0.7106 MB / 3.707 GB, free: 238.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/7.062, allocations: 0.8825 MB / 3.708 GB, free: 238 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/7.062, allocations: 0 / 3.708 GB, free: 238 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/7.062, allocations: 8 kB / 3.708 GB, free: 238 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/7.062, allocations: 30.75 kB / 3.708 GB, free: 238 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005323/7.068, allocations: 3.974 MB / 3.712 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/7.068, allocations: 250 kB / 3.712 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/7.068, allocations: 206.9 kB / 3.712 GB, free: 233.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/7.069, allocations: 107.8 kB / 3.712 GB, free: 233.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/7.069, allocations: 38.56 kB / 3.712 GB, free: 233.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/7.069, allocations: 0 / 3.712 GB, free: 233.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.00224/7.071, allocations: 1.117 MB / 3.713 GB, free: 232 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/7.071, allocations: 55.41 kB / 3.713 GB, free: 232 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/7.071, allocations: 0.5637 MB / 3.714 GB, free: 231.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/7.072, allocations: 25.7 kB / 3.714 GB, free: 231.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/7.072, allocations: 422.3 kB / 3.714 GB, free: 230.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/7.072, allocations: 126.1 kB / 3.714 GB, free: 230.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/7.072, allocations: 0 / 3.714 GB, free: 230.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/7.072, allocations: 378.8 kB / 3.715 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/7.072, allocations: 197.2 kB / 3.715 GB, free: 230.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/7.072, allocations: 356.9 kB / 3.715 GB, free: 229.8 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/7.074, allocations: 0.7239 MB / 3.716 GB, free: 229.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/7.074, allocations: 3.906 kB / 3.716 GB, free: 229.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008233/7.075, allocations: 0.6336 MB / 3.717 GB, free: 228.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/7.075, allocations: 4 kB / 3.717 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/7.075, allocations: 8 kB / 3.717 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/7.075, allocations: 11.94 kB / 3.717 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/7.076, allocations: 135.8 kB / 3.717 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/7.076, allocations: 16.02 kB / 3.717 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009197/7.077, allocations: 87.78 kB / 3.717 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/7.077, allocations: 27.98 kB / 3.717 GB, free: 228.2 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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 0.0001148/7.077, allocations: 120.7 kB / 3.717 GB, free: 228 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/7.077, allocations: 83.06 kB / 3.717 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/7.077, allocations: 78.8 kB / 3.717 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/7.077, allocations: 4 kB / 3.717 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/7.077, allocations: 0 / 3.717 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004648/7.077, allocations: 0.6555 MB / 3.718 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/7.079, allocations: 1.448 MB / 3.719 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/7.079, allocations: 4 kB / 3.719 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/7.08, allocations: 83.89 kB / 3.719 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/7.08, allocations: 8 kB / 3.719 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/7.08, allocations: 8 kB / 3.719 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/7.08, allocations: 4 kB / 3.719 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/7.08, allocations: 7.938 kB / 3.719 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007369/7.08, allocations: 0.9612 MB / 3.72 GB, free: 224.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/7.081, allocations: 212.3 kB / 3.72 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/7.081, allocations: 12 kB / 3.72 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/7.082, allocations: 55.8 kB / 3.721 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/7.082, allocations: 39.8 kB / 3.721 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/7.082, allocations: 31.86 kB / 3.721 GB, free: 224 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003814/7.082, allocations: 439.1 kB / 3.721 GB, free: 223.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000969/7.083, allocations: 339.4 kB / 3.721 GB, free: 223.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.001423/7.084, allocations: 1.501 MB / 3.723 GB, free: 221.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005576/7.085, allocations: 435.5 kB / 3.723 GB, free: 221.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/7.085, allocations: 4 kB / 3.723 GB, free: 221.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/7.085, allocations: 173.7 kB / 3.723 GB, free: 221.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/7.087, allocations: 391.2 kB / 3.724 GB, free: 220.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/7.089, allocations: 1.38 MB / 3.725 GB, free: 219.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006135/7.089, allocations: 1.183 MB / 3.726 GB, free: 218.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.9e-07/7.089, allocations: 0 / 3.726 GB, free: 218.2 MB / 1.151 GB Notification: Performance of Templates: time 0.02734/7.117, allocations: 21.02 MB / 3.747 GB, free: 197.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches