Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.354/2.354, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001301/0.001301, allocations: 184.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.72/1.72, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001094/0.001094, allocations: 87.97 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.792e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3782, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.071/6.45, allocations: 1.92 GB / 3.139 GB, free: 394.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/6.45, allocations: 84.52 kB / 3.139 GB, free: 394.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.989/8.439, allocations: 0.5769 GB / 3.716 GB, free: 256.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.102e-06/8.439, allocations: 4 kB / 3.716 GB, free: 256.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.639e-05/8.439, allocations: 28 kB / 3.716 GB, free: 256.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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002146/8.441, allocations: 1.223 MB / 3.717 GB, free: 255.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/8.441, allocations: 8.031 kB / 3.717 GB, free: 255.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/8.443, allocations: 416.4 kB / 3.717 GB, free: 255.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/8.445, allocations: 0.7848 MB / 3.718 GB, free: 254.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/8.445, allocations: 125.9 kB / 3.718 GB, free: 254.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/8.445, allocations: 72 kB / 3.718 GB, free: 254.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/8.447, allocations: 0.8957 MB / 3.719 GB, free: 253.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/8.447, allocations: 4 kB / 3.719 GB, free: 253.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/8.447, allocations: 32 kB / 3.719 GB, free: 253.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/8.447, allocations: 26 kB / 3.719 GB, free: 253.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/8.448, allocations: 0.7067 MB / 3.72 GB, free: 252.4 MB / 1.167 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.004564/8.452, allocations: 3.395 MB / 3.723 GB, free: 248.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/8.453, allocations: 439.7 kB / 3.724 GB, free: 248.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/8.453, allocations: 246.9 kB / 3.724 GB, free: 248.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/8.453, allocations: 107 kB / 3.724 GB, free: 248 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/8.453, allocations: 38.56 kB / 3.724 GB, free: 248 MB / 1.167 GB Notification: Performance of pre-optimization done (n=39): time 2.063e-06/8.453, allocations: 0 / 3.724 GB, free: 248 MB / 1.167 GB Notification: Performance of matching and sorting (n=41): time 0.003318/8.457, allocations: 1.476 MB / 3.726 GB, free: 246.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/8.457, allocations: 59.34 kB / 3.726 GB, free: 246.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/8.458, allocations: 0.6879 MB / 3.726 GB, free: 245.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/8.458, allocations: 41.7 kB / 3.726 GB, free: 245.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/8.458, allocations: 435.8 kB / 3.727 GB, free: 245.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/8.458, allocations: 149.8 kB / 3.727 GB, free: 245.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/8.458, allocations: 8 kB / 3.727 GB, free: 245.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001078/8.458, allocations: 334 kB / 3.727 GB, free: 244.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/8.458, allocations: 209.1 kB / 3.727 GB, free: 244.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/8.459, allocations: 325.1 kB / 3.728 GB, free: 244.2 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/8.461, allocations: 1.001 MB / 3.729 GB, free: 243.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/8.461, allocations: 3.984 kB / 3.729 GB, free: 243.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001916/8.463, allocations: 0.8511 MB / 3.729 GB, free: 242.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/8.463, allocations: 7.938 kB / 3.73 GB, free: 242.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/8.463, allocations: 8.094 kB / 3.73 GB, free: 242.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/8.464, allocations: 136.7 kB / 3.73 GB, free: 242.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/8.464, allocations: 131.9 kB / 3.73 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/8.466, allocations: 1.864 MB / 3.732 GB, free: 240 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/8.467, allocations: 91.84 kB / 3.732 GB, free: 239.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/8.467, allocations: 23.98 kB / 3.732 GB, free: 239.9 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001619/8.468, allocations: 132.9 kB / 3.732 GB, free: 239.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/8.468, allocations: 90.97 kB / 3.732 GB, free: 239.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/8.468, allocations: 99.95 kB / 3.732 GB, free: 239.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/8.468, allocations: 4 kB / 3.732 GB, free: 239.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/8.468, allocations: 0 / 3.732 GB, free: 239.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001616/8.47, allocations: 0.7153 MB / 3.733 GB, free: 238.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/8.473, allocations: 1.801 MB / 3.734 GB, free: 236.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/8.473, allocations: 4 kB / 3.734 GB, free: 236.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/8.473, allocations: 116.2 kB / 3.735 GB, free: 236.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/8.474, allocations: 136.8 kB / 3.735 GB, free: 236.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/8.474, allocations: 16 kB / 3.735 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/8.476, allocations: 1.808 MB / 3.736 GB, free: 234.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/8.476, allocations: 4 kB / 3.737 GB, free: 234.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/8.478, allocations: 1.283 MB / 3.738 GB, free: 233.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/8.478, allocations: 228 kB / 3.738 GB, free: 233 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/8.478, allocations: 19.94 kB / 3.738 GB, free: 233 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00084/8.479, allocations: 83.98 kB / 3.738 GB, free: 232.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/8.479, allocations: 31.91 kB / 3.738 GB, free: 232.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/8.479, allocations: 35.97 kB / 3.738 GB, free: 232.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005553/8.48, allocations: 0.5381 MB / 3.739 GB, free: 232.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/8.48, allocations: 0 / 3.739 GB, free: 232.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001317/8.481, allocations: 407.9 kB / 3.739 GB, free: 231.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001582/8.483, allocations: 1.338 MB / 3.74 GB, free: 230.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00097/8.484, allocations: 0.6144 MB / 3.741 GB, free: 229.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/8.484, allocations: 0.6875 kB / 3.741 GB, free: 229.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000404/8.484, allocations: 370.2 kB / 3.741 GB, free: 229.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/8.486, allocations: 0.5132 MB / 3.742 GB, free: 229 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/8.489, allocations: 1.441 MB / 3.743 GB, free: 227.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/8.49, allocations: 1.064 MB / 3.744 GB, free: 226.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008026/8.49, allocations: 199.2 kB / 3.744 GB, free: 226.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/8.491, allocations: 63.42 kB / 3.745 GB, free: 226.2 MB / 1.167 GB Notification: Performance of SimCode: time 5.51e-07/8.491, allocations: 0 / 3.745 GB, free: 226.2 MB / 1.167 GB Notification: Performance of Templates: time 0.0452/8.536, allocations: 37.57 MB / 3.781 GB, free: 188.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches