Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.387/2.387, allocations: 390.5 MB / 398 MB, free: 10.92 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.001064/0.001064, allocations: 180.4 kB / 491.2 MB, free: 1.547 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.624/1.624, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009869/0.0009875, allocations: 104.3 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.664e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.298, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.283/6.581, allocations: 2.165 GB / 3.378 GB, free: 136.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/6.582, allocations: 88.92 kB / 3.378 GB, free: 136.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.736/8.318, allocations: 488 MB / 3.854 GB, free: 98.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.254e-06/8.318, allocations: 0 / 3.854 GB, free: 98.66 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001342/8.318, allocations: 23.98 kB / 3.854 GB, free: 98.64 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.003191/8.321, allocations: 1.079 MB / 3.855 GB, free: 97.51 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/8.321, allocations: 8.031 kB / 3.855 GB, free: 97.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002344/8.324, allocations: 302.5 kB / 3.856 GB, free: 97.21 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/8.325, allocations: 0.7531 MB / 3.856 GB, free: 96.41 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/8.325, allocations: 16 kB / 3.856 GB, free: 96.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/8.325, allocations: 44 kB / 3.857 GB, free: 96.36 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008077/8.326, allocations: 0.4945 MB / 3.857 GB, free: 95.86 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/8.327, allocations: 0.496 MB / 3.857 GB, free: 95.36 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/8.327, allocations: 4 kB / 3.857 GB, free: 95.36 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/8.327, allocations: 0 / 3.857 GB, free: 95.36 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/8.327, allocations: 25.3 kB / 3.857 GB, free: 95.33 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/8.33, allocations: 2.634 MB / 3.86 GB, free: 92.46 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/8.33, allocations: 435.9 kB / 3.86 GB, free: 92.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/8.331, allocations: 242 kB / 3.861 GB, free: 91.79 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/8.331, allocations: 103 kB / 3.861 GB, free: 91.67 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/8.331, allocations: 34.56 kB / 3.861 GB, free: 91.62 MB / 1.151 GB Notification: Performance of pre-optimization done (n=46): time 2.074e-06/8.331, allocations: 4 kB / 3.861 GB, free: 91.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.002231/8.333, allocations: 1.26 MB / 3.862 GB, free: 90.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/8.333, allocations: 59.83 kB / 3.862 GB, free: 90.23 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/8.334, allocations: 422.5 kB / 3.863 GB, free: 89.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/8.334, allocations: 25.7 kB / 3.863 GB, free: 89.79 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/8.334, allocations: 368.2 kB / 3.863 GB, free: 89.42 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/8.334, allocations: 165.4 kB / 3.863 GB, free: 89.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/8.334, allocations: 4 kB / 3.863 GB, free: 89.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001044/8.334, allocations: 370.8 kB / 3.863 GB, free: 88.88 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/8.334, allocations: 177 kB / 3.864 GB, free: 88.71 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/8.335, allocations: 262.3 kB / 3.864 GB, free: 88.42 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: vol.dynBal.medium.p = vol.dynBal.p_start (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/8.337, allocations: 0.7764 MB / 3.865 GB, free: 87.62 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/8.337, allocations: 0 / 3.865 GB, free: 87.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007371/8.337, allocations: 0.5585 MB / 3.865 GB, free: 87.06 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/8.338, allocations: 0.7011 MB / 3.866 GB, free: 86.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/8.338, allocations: 0 / 3.866 GB, free: 86.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/8.338, allocations: 36.84 kB / 3.866 GB, free: 86.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/8.338, allocations: 111.8 kB / 3.866 GB, free: 86.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/8.339, allocations: 2.045 MB / 3.868 GB, free: 83.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/8.34, allocations: 55.95 kB / 3.868 GB, free: 83.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/8.34, allocations: 24 kB / 3.868 GB, free: 83.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/8.34, allocations: 1.719 kB / 3.868 GB, free: 83.89 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006189/8.341, allocations: 466.9 kB / 3.868 GB, free: 83.43 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/8.341, allocations: 4 kB / 3.869 GB, free: 83.43 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.838e-05/8.341, allocations: 36.83 kB / 3.869 GB, free: 83.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/8.341, allocations: 104 kB / 3.869 GB, free: 83.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007776/8.342, allocations: 1.447 MB / 3.87 GB, free: 81.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006401/8.343, allocations: 51.89 kB / 3.87 GB, free: 81.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/8.343, allocations: 19.94 kB / 3.87 GB, free: 81.64 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0001742/8.343, allocations: 122.7 kB / 3.87 GB, free: 81.52 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/8.343, allocations: 63.25 kB / 3.87 GB, free: 81.46 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008185/8.344, allocations: 0.519 MB / 3.871 GB, free: 80.93 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/8.344, allocations: 8 kB / 3.871 GB, free: 80.92 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/8.344, allocations: 3.953 kB / 3.871 GB, free: 80.92 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006035/8.345, allocations: 0.7647 MB / 3.872 GB, free: 80.07 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/8.346, allocations: 1.429 MB / 3.873 GB, free: 78.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/8.346, allocations: 4 kB / 3.873 GB, free: 78.56 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/8.347, allocations: 123.9 kB / 3.873 GB, free: 78.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.725e-05/8.347, allocations: 32.78 kB / 3.873 GB, free: 78.41 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/8.347, allocations: 8 kB / 3.873 GB, free: 78.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008312/8.348, allocations: 1.909 MB / 3.875 GB, free: 76.35 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/8.348, allocations: 0 / 3.875 GB, free: 76.35 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/8.349, allocations: 0.8947 MB / 3.876 GB, free: 75.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/8.349, allocations: 192.4 kB / 3.876 GB, free: 75.19 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/8.349, allocations: 11.94 kB / 3.876 GB, free: 75.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/8.35, allocations: 39.81 kB / 3.876 GB, free: 75.14 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/8.35, allocations: 31.95 kB / 3.876 GB, free: 75.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/8.35, allocations: 16 kB / 3.876 GB, free: 75.09 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003275/8.35, allocations: 334.9 kB / 3.876 GB, free: 74.77 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/8.35, allocations: 4 kB / 3.876 GB, free: 74.77 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001376/8.352, allocations: 443.9 kB / 3.877 GB, free: 74.33 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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.001608/8.353, allocations: 1.377 MB / 3.878 GB, free: 72.93 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001378/8.355, allocations: 0.9539 MB / 3.879 GB, free: 71.95 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/8.355, allocations: 0 / 3.879 GB, free: 71.95 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/8.355, allocations: 362.1 kB / 3.88 GB, free: 71.59 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/8.357, allocations: 439.4 kB / 3.88 GB, free: 71.17 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/8.359, allocations: 1.284 MB / 3.881 GB, free: 69.84 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/8.359, allocations: 1.018 MB / 3.882 GB, free: 68.79 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009648/8.36, allocations: 277.7 kB / 3.882 GB, free: 68.52 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/8.36, allocations: 43.44 kB / 3.882 GB, free: 68.48 MB / 1.151 GB Notification: Performance of SimCode: time 4.31e-07/8.36, allocations: 0 / 3.882 GB, free: 68.48 MB / 1.151 GB Notification: Performance of Templates: time 0.03252/8.393, allocations: 21.48 MB / 3.903 GB, free: 47.16 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches