Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") [: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.163/1.163, allocations: 249.4 MB / 256.7 MB, free: 15.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009489/0.0009488, allocations: 179.6 kB / 316 MB, free: 7.262 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.281/1.281, allocations: 205.1 MB / 0.5667 GB, free: 23.98 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.0007529/0.000753, allocations: 90.02 kB / 0.671 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.555e-06/7.584e-06, allocations: 4 kB / 0.7807 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3802, allocations: 106.3 MB / 0.8846 GB, free: 76.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.945/4.325, allocations: 2.44 GB / 3.325 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/4.326, allocations: 83.95 kB / 3.325 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.079/5.404, allocations: 471.7 MB / 3.786 GB, free: 54.29 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.729e-05/5.404, allocations: 27.98 kB / 3.786 GB, free: 54.26 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001449/5.406, allocations: 1.071 MB / 3.787 GB, free: 53.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/5.406, allocations: 12.03 kB / 3.787 GB, free: 53.13 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/5.408, allocations: 326.4 kB / 3.787 GB, free: 52.81 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/5.409, allocations: 0.7764 MB / 3.788 GB, free: 51.99 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/5.409, allocations: 20 kB / 3.788 GB, free: 51.97 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/5.409, allocations: 40 kB / 3.788 GB, free: 51.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007148/5.41, allocations: 0.4946 MB / 3.788 GB, free: 51.44 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007294/5.41, allocations: 0.5232 MB / 3.789 GB, free: 50.91 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/5.41, allocations: 4 kB / 3.789 GB, free: 50.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/5.41, allocations: 0 / 3.789 GB, free: 50.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/5.41, allocations: 25.31 kB / 3.789 GB, free: 50.88 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/5.413, allocations: 2.692 MB / 3.792 GB, free: 47.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/5.414, allocations: 441.5 kB / 3.792 GB, free: 47.51 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/5.414, allocations: 235.2 kB / 3.792 GB, free: 47.28 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/5.414, allocations: 97.47 kB / 3.792 GB, free: 47.17 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/5.414, allocations: 42.88 kB / 3.792 GB, free: 47.12 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 1.503e-06/5.414, allocations: 0 / 3.792 GB, free: 47.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.002353/5.416, allocations: 1.281 MB / 3.794 GB, free: 45.78 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.578e-05/5.416, allocations: 63.78 kB / 3.794 GB, free: 45.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/5.417, allocations: 430.5 kB / 3.794 GB, free: 45.27 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/5.417, allocations: 25.7 kB / 3.794 GB, free: 45.24 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/5.417, allocations: 276.1 kB / 3.794 GB, free: 44.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.638e-05/5.417, allocations: 173.4 kB / 3.795 GB, free: 44.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/5.417, allocations: 0 / 3.795 GB, free: 44.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.977e-05/5.417, allocations: 374.8 kB / 3.795 GB, free: 44.42 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/5.417, allocations: 165 kB / 3.795 GB, free: 44.25 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/5.418, allocations: 279.5 kB / 3.795 GB, free: 43.94 MB / 0.8855 GB 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 (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/5.42, allocations: 0.7613 MB / 3.796 GB, free: 43.16 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/5.42, allocations: 3.906 kB / 3.796 GB, free: 43.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006962/5.42, allocations: 0.5499 MB / 3.797 GB, free: 42.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.406e-05/5.42, allocations: 0.701 MB / 3.797 GB, free: 41.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/5.42, allocations: 4 kB / 3.797 GB, free: 41.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/5.421, allocations: 40.73 kB / 3.797 GB, free: 41.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/5.421, allocations: 111.8 kB / 3.798 GB, free: 41.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/5.422, allocations: 2.021 MB / 3.799 GB, free: 39.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/5.423, allocations: 51.91 kB / 3.8 GB, free: 39.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/5.423, allocations: 16.08 kB / 3.8 GB, free: 39.47 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-06/5.423, allocations: 4 kB / 3.8 GB, free: 39.46 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005961/5.424, allocations: 466.1 kB / 3.8 GB, free: 39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/5.424, allocations: 4 kB / 3.8 GB, free: 39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.035e-05/5.424, allocations: 40.83 kB / 3.8 GB, free: 38.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/5.424, allocations: 99.84 kB / 3.8 GB, free: 38.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007561/5.425, allocations: 1.431 MB / 3.802 GB, free: 37.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006808/5.425, allocations: 43.92 kB / 3.802 GB, free: 37.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/5.426, allocations: 23.98 kB / 3.802 GB, free: 37.24 MB / 0.8855 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001452/5.426, allocations: 120.8 kB / 3.802 GB, free: 37.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/5.426, allocations: 63.25 kB / 3.802 GB, free: 37.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/5.427, allocations: 0.5258 MB / 3.802 GB, free: 36.51 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/5.427, allocations: 4 kB / 3.802 GB, free: 36.51 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/5.427, allocations: 0 / 3.802 GB, free: 36.51 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005666/5.427, allocations: 0.7482 MB / 3.803 GB, free: 35.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/5.429, allocations: 1.448 MB / 3.804 GB, free: 34.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/5.429, allocations: 7.875 kB / 3.804 GB, free: 34.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/5.429, allocations: 132 kB / 3.805 GB, free: 34.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.887e-05/5.43, allocations: 32.84 kB / 3.805 GB, free: 33.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/5.43, allocations: 8 kB / 3.805 GB, free: 33.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008254/5.43, allocations: 1.885 MB / 3.806 GB, free: 31.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/5.43, allocations: 3.906 kB / 3.806 GB, free: 31.95 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008882/5.431, allocations: 0.941 MB / 3.807 GB, free: 30.95 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/5.432, allocations: 212.2 kB / 3.808 GB, free: 30.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/5.432, allocations: 4 kB / 3.808 GB, free: 30.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006013/5.432, allocations: 47.8 kB / 3.808 GB, free: 30.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/5.432, allocations: 23.88 kB / 3.808 GB, free: 30.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/5.432, allocations: 19.98 kB / 3.808 GB, free: 30.63 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002803/5.433, allocations: 338.9 kB / 3.808 GB, free: 30.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001206/5.434, allocations: 448 kB / 3.808 GB, free: 29.87 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/5.435, allocations: 1.382 MB / 3.81 GB, free: 28.46 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001262/5.436, allocations: 0.9514 MB / 3.811 GB, free: 27.49 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/5.437, allocations: 4 kB / 3.811 GB, free: 27.49 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/5.437, allocations: 350 kB / 3.811 GB, free: 27.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/5.439, allocations: 425.4 kB / 3.811 GB, free: 26.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/5.44, allocations: 1.303 MB / 3.813 GB, free: 25.38 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/5.441, allocations: 1.084 MB / 3.814 GB, free: 24.27 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/5.441, allocations: 0 / 3.814 GB, free: 24.27 MB / 0.8855 GB Notification: Performance of Templates: time 0.02832/5.469, allocations: 23.66 MB / 3.837 GB, free: 0.7539 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches