Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.269/2.269, allocations: 390.5 MB / 398 MB, free: 10.93 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.001246/0.001247, allocations: 179.5 kB / 491.2 MB, free: 1.594 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.697/1.697, 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.001167/0.001167, allocations: 90.89 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.247e-05/2.262e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3333, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.393/1.726, allocations: 0.521 GB / 1.733 GB, free: 14.83 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.727, allocations: 85.58 kB / 1.733 GB, free: 14.79 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.647/3.373, allocations: 405.1 MB / 2.129 GB, free: 78.91 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.298e-06/3.373, allocations: 0 / 2.129 GB, free: 78.91 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001852/3.374, allocations: 19.94 kB / 2.129 GB, free: 78.89 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004365/3.378, allocations: 1.165 MB / 2.13 GB, free: 77.68 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/3.378, allocations: 8.031 kB / 2.13 GB, free: 77.67 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/3.38, allocations: 158.9 kB / 2.13 GB, free: 77.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/3.382, allocations: 0.9873 MB / 2.131 GB, free: 76.49 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/3.382, allocations: 19.94 kB / 2.131 GB, free: 76.47 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/3.382, allocations: 24 kB / 2.131 GB, free: 76.45 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005924/3.383, allocations: 282.5 kB / 2.132 GB, free: 76.17 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/3.384, allocations: 446.2 kB / 2.132 GB, free: 75.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/3.384, allocations: 3.984 kB / 2.132 GB, free: 75.69 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/3.384, allocations: 7.953 kB / 2.132 GB, free: 75.68 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/3.384, allocations: 8 kB / 2.132 GB, free: 75.68 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.002611/3.387, allocations: 2.137 MB / 2.134 GB, free: 73.43 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/3.387, allocations: 256 kB / 2.134 GB, free: 73.17 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/3.387, allocations: 121.4 kB / 2.135 GB, free: 73.05 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/3.388, allocations: 2.031 MB / 2.136 GB, free: 70.55 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/3.388, allocations: 34.56 kB / 2.137 GB, free: 70.51 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/3.388, allocations: 0 / 2.137 GB, free: 70.51 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.004503/3.393, allocations: 1.475 MB / 2.138 GB, free: 68.98 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/3.393, allocations: 55.41 kB / 2.138 GB, free: 68.91 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/3.393, allocations: 402.3 kB / 2.138 GB, free: 68.52 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/3.393, allocations: 29.7 kB / 2.138 GB, free: 68.48 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/3.393, allocations: 324.3 kB / 2.139 GB, free: 68.16 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/3.394, allocations: 145.8 kB / 2.139 GB, free: 68.01 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/3.394, allocations: 3.938 kB / 2.139 GB, free: 68.01 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/3.394, allocations: 366.8 kB / 2.139 GB, free: 67.64 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/3.394, allocations: 137.1 kB / 2.139 GB, free: 67.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/3.394, allocations: 242.6 kB / 2.14 GB, free: 67.22 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/3.395, allocations: 237.6 kB / 2.14 GB, free: 66.99 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/3.395, allocations: 8 kB / 2.14 GB, free: 66.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00133/3.396, allocations: 0.5954 MB / 2.14 GB, free: 66.37 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000265/3.396, allocations: 1.142 MB / 2.142 GB, free: 65.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/3.396, allocations: 4 kB / 2.142 GB, free: 65.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004567/3.397, allocations: 173.6 kB / 2.142 GB, free: 64.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/3.397, allocations: 67.91 kB / 2.142 GB, free: 64.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/3.398, allocations: 1.378 MB / 2.143 GB, free: 63.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/3.399, allocations: 23.89 kB / 2.143 GB, free: 63.44 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/3.399, allocations: 23.98 kB / 2.143 GB, free: 63.42 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/3.399, allocations: 4 kB / 2.143 GB, free: 63.41 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/3.4, allocations: 0.5202 MB / 2.144 GB, free: 62.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/3.4, allocations: 0 / 2.144 GB, free: 62.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/3.4, allocations: 182 kB / 2.144 GB, free: 62.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/3.401, allocations: 63.91 kB / 2.144 GB, free: 62.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009573/3.402, allocations: 1.378 MB / 2.145 GB, free: 61.21 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/3.402, allocations: 27.81 kB / 2.145 GB, free: 61.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/3.402, allocations: 24 kB / 2.145 GB, free: 61.16 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real 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 (41): * Single equations (assignments): 39 * 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: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002348/3.402, allocations: 121 kB / 2.145 GB, free: 61.04 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/3.403, allocations: 59.34 kB / 2.145 GB, free: 60.98 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/3.404, allocations: 0.6413 MB / 2.146 GB, free: 60.32 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/3.404, allocations: 11.97 kB / 2.146 GB, free: 60.31 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/3.404, allocations: 4 kB / 2.146 GB, free: 60.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/3.405, allocations: 0.6596 MB / 2.147 GB, free: 59.59 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/3.407, allocations: 1.38 MB / 2.148 GB, free: 58.15 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/3.408, allocations: 0 / 2.148 GB, free: 58.15 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/3.408, allocations: 51.92 kB / 2.148 GB, free: 58.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003957/3.408, allocations: 165.7 kB / 2.148 GB, free: 57.93 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/3.408, allocations: 8 kB / 2.148 GB, free: 57.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008757/3.409, allocations: 1.366 MB / 2.15 GB, free: 56.51 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/3.409, allocations: 0 / 2.15 GB, free: 56.51 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/3.41, allocations: 0.8672 MB / 2.15 GB, free: 55.61 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/3.411, allocations: 196.3 kB / 2.151 GB, free: 55.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/3.411, allocations: 0 / 2.151 GB, free: 55.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/3.411, allocations: 24.08 kB / 2.151 GB, free: 55.38 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/3.411, allocations: 35.89 kB / 2.151 GB, free: 55.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/3.411, allocations: 23.94 kB / 2.151 GB, free: 55.32 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003137/3.412, allocations: 310.9 kB / 2.151 GB, free: 55.02 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/3.412, allocations: 0 / 2.151 GB, free: 55.02 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001562/3.413, allocations: 479.6 kB / 2.152 GB, free: 54.55 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009664/3.414, allocations: 495.2 kB / 2.152 GB, free: 54.06 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001144/3.415, allocations: 0.6634 MB / 2.153 GB, free: 53.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/3.415, allocations: 4 kB / 2.153 GB, free: 53.39 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/3.416, allocations: 219.8 kB / 2.153 GB, free: 53.18 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/3.417, allocations: 310.2 kB / 2.153 GB, free: 52.88 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/3.418, allocations: 0.8824 MB / 2.154 GB, free: 51.97 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/3.419, allocations: 0.9309 MB / 2.155 GB, free: 51.01 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000705/3.419, allocations: 255.6 kB / 2.155 GB, free: 50.76 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/3.42, allocations: 51.41 kB / 2.155 GB, free: 50.71 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/3.42, allocations: 4 kB / 2.155 GB, free: 50.71 MB / 1.151 GB Notification: Performance of Templates: time 0.02403/3.444, allocations: 15.94 MB / 2.171 GB, free: 34.92 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches