Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.055/2.055, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001339/0.001339, allocations: 181.3 kB / 487 MB, free: 5.359 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.443/1.443, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 96.39 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.808e-06/9.968e-06, allocations: 8 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2709, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.973/5.244, allocations: 1.922 GB / 3.127 GB, free: 377.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/5.244, allocations: 79.95 kB / 3.127 GB, free: 377.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.144/7.388, allocations: 0.7636 GB / 3.891 GB, free: 35.33 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001004/7.388, allocations: 43.98 kB / 3.891 GB, free: 35.29 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003417/7.392, allocations: 1.543 MB / 3.892 GB, free: 33.69 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/7.392, allocations: 8.031 kB / 3.892 GB, free: 33.68 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/7.395, allocations: 0.5015 MB / 3.893 GB, free: 33.18 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/7.397, allocations: 1.14 MB / 3.894 GB, free: 31.99 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/7.397, allocations: 40 kB / 3.894 GB, free: 31.95 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/7.397, allocations: 67.91 kB / 3.894 GB, free: 31.89 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001679/7.399, allocations: 0.9687 MB / 3.895 GB, free: 30.91 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/7.401, allocations: 1.069 MB / 3.896 GB, free: 29.81 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/7.401, allocations: 4 kB / 3.896 GB, free: 29.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/7.401, allocations: 0 / 3.896 GB, free: 29.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/7.401, allocations: 38.14 kB / 3.896 GB, free: 29.77 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005677/7.407, allocations: 4.129 MB / 3.9 GB, free: 25.39 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/7.407, allocations: 489 kB / 3.9 GB, free: 24.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005067/7.408, allocations: 453.7 kB / 3.901 GB, free: 24.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004006/7.408, allocations: 300 kB / 3.901 GB, free: 24.11 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/7.408, allocations: 43.34 kB / 3.901 GB, free: 24.06 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 3.316e-06/7.408, allocations: 0 / 3.901 GB, free: 24.06 MB / 1.151 GB Notification: Performance of matching and sorting (n=89): time 0.004641/7.413, allocations: 2.175 MB / 3.903 GB, free: 21.83 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/7.413, allocations: 60.19 kB / 3.903 GB, free: 21.76 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006962/7.414, allocations: 0.5907 MB / 3.904 GB, free: 21.16 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/7.414, allocations: 25.7 kB / 3.904 GB, free: 21.13 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/7.414, allocations: 419.6 kB / 3.904 GB, free: 20.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/7.414, allocations: 299.5 kB / 3.905 GB, free: 20.41 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/7.414, allocations: 0 / 3.905 GB, free: 20.41 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/7.414, allocations: 341.9 kB / 3.905 GB, free: 20.07 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/7.415, allocations: 329.8 kB / 3.905 GB, free: 19.75 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/7.415, allocations: 470.5 kB / 3.906 GB, free: 19.24 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: 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.004493/7.42, allocations: 2.22 MB / 3.908 GB, free: 16.98 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/7.42, allocations: 4 kB / 3.908 GB, free: 16.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001327/7.421, allocations: 0.9077 MB / 3.909 GB, free: 16.05 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/7.421, allocations: 11.97 kB / 3.909 GB, free: 16.04 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/7.421, allocations: 4 kB / 3.909 GB, free: 16.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/7.421, allocations: 8 kB / 3.909 GB, free: 16.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/7.422, allocations: 183.7 kB / 3.909 GB, free: 15.85 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/7.422, allocations: 7.938 kB / 3.909 GB, free: 15.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/7.423, allocations: 55.8 kB / 3.909 GB, free: 15.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/7.423, allocations: 40 kB / 3.909 GB, free: 15.75 MB / 1.151 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.0002135/7.424, allocations: 132.6 kB / 3.909 GB, free: 15.61 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/7.424, allocations: 106.8 kB / 3.909 GB, free: 15.51 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/7.424, allocations: 118.4 kB / 3.909 GB, free: 15.39 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/7.424, allocations: 8 kB / 3.909 GB, free: 15.38 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/7.424, allocations: 7.984 kB / 3.909 GB, free: 15.37 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/7.425, allocations: 1.032 MB / 3.91 GB, free: 14.27 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003993/7.429, allocations: 2.84 MB / 3.913 GB, free: 11.25 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/7.429, allocations: 11.98 kB / 3.913 GB, free: 11.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/7.43, allocations: 163.7 kB / 3.913 GB, free: 11.08 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/7.43, allocations: 106.2 kB / 3.913 GB, free: 10.97 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/7.43, allocations: 16 kB / 3.913 GB, free: 10.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/7.432, allocations: 2.785 MB / 3.916 GB, free: 7.945 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/7.432, allocations: 15.94 kB / 3.916 GB, free: 7.93 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002352/7.435, allocations: 2.078 MB / 3.918 GB, free: 5.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006491/7.435, allocations: 287.7 kB / 3.919 GB, free: 5.18 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/7.436, allocations: 15.98 kB / 3.919 GB, free: 5.164 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009925/7.437, allocations: 59.75 kB / 3.919 GB, free: 5.105 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/7.437, allocations: 72.17 kB / 3.919 GB, free: 5.035 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/7.437, allocations: 47.98 kB / 3.919 GB, free: 4.988 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006404/7.437, allocations: 471 kB / 3.919 GB, free: 4.531 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001902/7.439, allocations: 479.9 kB / 3.92 GB, free: 4.062 MB / 1.151 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.00248/7.442, allocations: 1.871 MB / 3.921 GB, free: 2.105 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001304/7.443, allocations: 0.7721 MB / 3.922 GB, free: 1.336 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/7.443, allocations: 4 kB / 3.922 GB, free: 1.332 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007504/7.444, allocations: 0.6092 MB / 3.923 GB, free: 0.7031 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/7.447, allocations: 0.644 MB / 3.923 GB, free: 68 kB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5948/8.042, allocations: 2.228 MB / 3.926 GB, free: 366.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/8.043, allocations: 1.371 MB / 3.927 GB, free: 365.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/8.043, allocations: 0 / 3.927 GB, free: 365.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04534/8.088, allocations: 30.76 MB / 3.957 GB, free: 364.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches