Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.045/2.045, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001042/0.001042, allocations: 181.2 kB / 490.8 MB, free: 1.945 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.286/1.286, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.0008841/0.0008841, allocations: 86.33 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.465e-06/8.506e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2357, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.241/4.476, allocations: 1.923 GB / 3.134 GB, free: 449.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004488/4.477, allocations: 86.41 kB / 3.134 GB, free: 449.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.298/6.775, allocations: 0.7636 GB / 3.898 GB, free: 142.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001758/6.776, allocations: 44.11 kB / 3.898 GB, free: 142.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004847/6.78, allocations: 1.541 MB / 3.899 GB, free: 141.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/6.78, allocations: 8.031 kB / 3.899 GB, free: 141.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/6.785, allocations: 0.4976 MB / 3.9 GB, free: 140.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/6.788, allocations: 1.14 MB / 3.901 GB, free: 139.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/6.788, allocations: 36 kB / 3.901 GB, free: 139.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003727/6.788, allocations: 75.89 kB / 3.901 GB, free: 139.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00214/6.79, allocations: 0.9687 MB / 3.902 GB, free: 138.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/6.792, allocations: 1.069 MB / 3.903 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/6.793, allocations: 0 / 3.903 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/6.793, allocations: 4 kB / 3.903 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/6.793, allocations: 38.14 kB / 3.903 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006513/6.799, allocations: 4.116 MB / 3.907 GB, free: 132.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/6.8, allocations: 497 kB / 3.908 GB, free: 132.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/6.801, allocations: 450.4 kB / 3.908 GB, free: 132 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/6.801, allocations: 300 kB / 3.908 GB, free: 131.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/6.801, allocations: 43.34 kB / 3.908 GB, free: 131.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 2.385e-06/6.801, allocations: 0 / 3.908 GB, free: 131.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=89): time 0.005252/6.806, allocations: 2.172 MB / 3.91 GB, free: 129.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/6.806, allocations: 68.09 kB / 3.91 GB, free: 129.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/6.807, allocations: 0.5869 MB / 3.911 GB, free: 128.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/6.807, allocations: 25.7 kB / 3.911 GB, free: 128.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/6.808, allocations: 423.6 kB / 3.911 GB, free: 128.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/6.808, allocations: 299.5 kB / 3.912 GB, free: 127.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/6.808, allocations: 0 / 3.912 GB, free: 127.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/6.808, allocations: 337.9 kB / 3.912 GB, free: 127.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/6.808, allocations: 325.8 kB / 3.912 GB, free: 127.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/6.809, allocations: 477.6 kB / 3.913 GB, free: 126.8 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004586/6.814, allocations: 2.225 MB / 3.915 GB, free: 124.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/6.814, allocations: 0 / 3.915 GB, free: 124.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001334/6.815, allocations: 0.9151 MB / 3.916 GB, free: 123.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/6.815, allocations: 4.375 kB / 3.916 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/6.815, allocations: 11.98 kB / 3.916 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/6.815, allocations: 4 kB / 3.916 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/6.816, allocations: 183.7 kB / 3.916 GB, free: 123.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/6.816, allocations: 8 kB / 3.916 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/6.817, allocations: 59.73 kB / 3.916 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/6.817, allocations: 39.91 kB / 3.916 GB, free: 123.2 MB / 1.167 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0002148/6.817, allocations: 132.8 kB / 3.916 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/6.818, allocations: 102.8 kB / 3.916 GB, free: 123 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/6.818, allocations: 122.4 kB / 3.917 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/6.818, allocations: 11.91 kB / 3.917 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/6.818, allocations: 3.984 kB / 3.917 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/6.819, allocations: 1.032 MB / 3.918 GB, free: 121.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004498/6.824, allocations: 2.844 MB / 3.92 GB, free: 118.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/6.824, allocations: 8 kB / 3.92 GB, free: 118.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/6.824, allocations: 163.7 kB / 3.921 GB, free: 118.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003338/6.825, allocations: 102.1 kB / 3.921 GB, free: 118.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/6.825, allocations: 20 kB / 3.921 GB, free: 118.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/6.827, allocations: 2.781 MB / 3.923 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/6.827, allocations: 15.84 kB / 3.923 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002141/6.829, allocations: 2.089 MB / 3.925 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/6.83, allocations: 279.8 kB / 3.926 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/6.83, allocations: 19.98 kB / 3.926 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/6.831, allocations: 51.94 kB / 3.926 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/6.831, allocations: 80.11 kB / 3.926 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/6.831, allocations: 43.98 kB / 3.926 GB, free: 112.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0006017/6.832, allocations: 475.1 kB / 3.926 GB, free: 112 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001883/6.834, allocations: 468 kB / 3.927 GB, free: 111.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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.002415/6.836, allocations: 1.866 MB / 3.929 GB, free: 109.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001222/6.837, allocations: 0.7799 MB / 3.929 GB, free: 108.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/6.837, allocations: 4 kB / 3.929 GB, free: 108.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007178/6.838, allocations: 0.6131 MB / 3.93 GB, free: 108.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/6.841, allocations: 0.6415 MB / 3.931 GB, free: 107.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/6.845, allocations: 2.239 MB / 3.933 GB, free: 105.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/6.847, allocations: 1.366 MB / 3.934 GB, free: 103.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.422e-06/6.847, allocations: 7.875 kB / 3.934 GB, free: 103.8 MB / 1.167 GB Notification: Performance of Templates: time 0.05051/6.897, allocations: 30.76 MB / 3.964 GB, free: 73.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches