Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [: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.204/1.204, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.001032/0.001031, allocations: 181.1 kB / 316 MB, free: 3.555 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.16/1.16, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0008491/0.0008491, allocations: 96.75 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.967e-06/9.087e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1796, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.815/3.995, allocations: 2.196 GB / 3.08 GB, free: 205 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/3.995, allocations: 83.95 kB / 3.08 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.781/5.776, allocations: 0.7354 GB / 3.816 GB, free: 115 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.03e-05/5.776, allocations: 39.59 kB / 3.816 GB, free: 115 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.002274/5.779, allocations: 1.553 MB / 3.817 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/5.779, allocations: 11.97 kB / 3.817 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/5.782, allocations: 0.513 MB / 3.818 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/5.783, allocations: 1.12 MB / 3.819 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/5.783, allocations: 36 kB / 3.819 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/5.783, allocations: 71.91 kB / 3.819 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001303/5.785, allocations: 0.9688 MB / 3.82 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/5.786, allocations: 1.09 MB / 3.821 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/5.786, allocations: 0 / 3.821 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/5.786, allocations: 4 kB / 3.821 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/5.786, allocations: 38.2 kB / 3.821 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/5.791, allocations: 4.015 MB / 3.825 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/5.791, allocations: 460.5 kB / 3.825 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/5.791, allocations: 417.6 kB / 3.826 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/5.792, allocations: 295.8 kB / 3.826 GB, free: 104 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/5.792, allocations: 51.2 kB / 3.826 GB, free: 104 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/5.792, allocations: 0 / 3.826 GB, free: 104 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.003311/5.795, allocations: 1.953 MB / 3.828 GB, free: 102 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.597e-05/5.795, allocations: 64.06 kB / 3.828 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/5.796, allocations: 0.6293 MB / 3.829 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/5.796, allocations: 25.7 kB / 3.829 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/5.796, allocations: 455.1 kB / 3.829 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/5.796, allocations: 260.2 kB / 3.829 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/5.796, allocations: 0 / 3.829 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.727e-05/5.796, allocations: 337.9 kB / 3.83 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/5.796, allocations: 293.9 kB / 3.83 GB, free: 99.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/5.797, allocations: 498.9 kB / 3.83 GB, free: 99.33 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/5.797, allocations: 380.4 kB / 3.831 GB, free: 98.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/5.797, allocations: 7.938 kB / 3.831 GB, free: 98.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001004/5.798, allocations: 0.8723 MB / 3.832 GB, free: 98.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/5.798, allocations: 11.91 kB / 3.832 GB, free: 98.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/5.798, allocations: 4 kB / 3.832 GB, free: 98.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/5.798, allocations: 8 kB / 3.832 GB, free: 98.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/5.799, allocations: 171.7 kB / 3.832 GB, free: 97.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/5.799, allocations: 8 kB / 3.832 GB, free: 97.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/5.8, allocations: 64.2 kB / 3.832 GB, free: 97.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/5.8, allocations: 32 kB / 3.832 GB, free: 97.78 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * 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.0001192/5.8, allocations: 124.7 kB / 3.832 GB, free: 97.65 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/5.8, allocations: 102.8 kB / 3.832 GB, free: 97.55 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/5.8, allocations: 118.2 kB / 3.832 GB, free: 97.43 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/5.8, allocations: 8 kB / 3.832 GB, free: 97.42 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/5.801, allocations: 0 / 3.832 GB, free: 97.42 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009526/5.801, allocations: 0.9594 MB / 3.833 GB, free: 96.39 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/5.804, allocations: 2.425 MB / 3.836 GB, free: 93.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/5.804, allocations: 7.906 kB / 3.836 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/5.805, allocations: 147.8 kB / 3.836 GB, free: 93.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/5.805, allocations: 105.9 kB / 3.836 GB, free: 93.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/5.805, allocations: 12 kB / 3.836 GB, free: 93.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/5.807, allocations: 2.77 MB / 3.839 GB, free: 90.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/5.807, allocations: 16.06 kB / 3.839 GB, free: 90.56 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001501/5.808, allocations: 1.798 MB / 3.84 GB, free: 88.52 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/5.809, allocations: 287.8 kB / 3.841 GB, free: 88.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/5.809, allocations: 12 kB / 3.841 GB, free: 88.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009161/5.81, allocations: 63.8 kB / 3.841 GB, free: 88.14 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/5.81, allocations: 56.22 kB / 3.841 GB, free: 88.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/5.81, allocations: 46.05 kB / 3.841 GB, free: 88.04 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004191/5.81, allocations: 491.1 kB / 3.841 GB, free: 87.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001149/5.812, allocations: 472 kB / 3.842 GB, free: 87.11 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/5.813, allocations: 1.874 MB / 3.843 GB, free: 85.34 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007668/5.814, allocations: 0.7087 MB / 3.844 GB, free: 84.64 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/5.814, allocations: 0 / 3.844 GB, free: 84.64 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005688/5.815, allocations: 0.5699 MB / 3.845 GB, free: 84.05 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/5.817, allocations: 0.6189 MB / 3.845 GB, free: 83.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/5.82, allocations: 2.116 MB / 3.847 GB, free: 81.21 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007847/5.82, allocations: 1.368 MB / 3.849 GB, free: 79.82 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/5.82, allocations: 0 / 3.849 GB, free: 79.82 MB / 0.8698 GB Notification: Performance of Templates: time 0.03596/5.856, allocations: 30.36 MB / 3.878 GB, free: 49.76 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches