Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.645/1.645, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001034, allocations: 183.4 kB / 316.3 MB, free: 3.23 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.592/1.592, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0009476/0.0009476, allocations: 92.23 kB / 0.6714 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.843e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2594, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.838/7.098, allocations: 2.192 GB / 3.078 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/7.098, allocations: 89.31 kB / 3.078 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.325/9.423, allocations: 0.5487 GB / 3.626 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.367e-06/9.423, allocations: 1.922 kB / 3.626 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001131/9.423, allocations: 28.75 kB / 3.626 GB, free: 203.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003478/9.427, allocations: 1.236 MB / 3.628 GB, free: 203 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/9.427, allocations: 9.156 kB / 3.628 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/9.429, allocations: 404.8 kB / 3.628 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/9.432, allocations: 0.7843 MB / 3.629 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/9.432, allocations: 111.4 kB / 3.629 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/9.432, allocations: 45.73 kB / 3.629 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001386/9.433, allocations: 0.6575 MB / 3.629 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/9.435, allocations: 0.7976 MB / 3.63 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/9.435, allocations: 0.8438 kB / 3.63 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/9.435, allocations: 1.969 kB / 3.63 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/9.435, allocations: 31.67 kB / 3.63 GB, free: 202.6 MB / 0.8698 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.006177/9.441, allocations: 3.229 MB / 3.633 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/9.442, allocations: 411.3 kB / 3.634 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/9.442, allocations: 225.5 kB / 3.634 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/9.443, allocations: 99.64 kB / 3.634 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/9.443, allocations: 42.2 kB / 3.634 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 2.334e-06/9.443, allocations: 3.125 kB / 3.634 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=41): time 0.004203/9.447, allocations: 1.417 MB / 3.636 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/9.447, allocations: 55.44 kB / 3.636 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007773/9.448, allocations: 0.5117 MB / 3.636 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.034e-05/9.448, allocations: 28 kB / 3.636 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/9.448, allocations: 459.6 kB / 3.637 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/9.448, allocations: 142.6 kB / 3.637 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/9.448, allocations: 0 / 3.637 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001278/9.448, allocations: 376.2 kB / 3.637 GB, free: 200 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/9.449, allocations: 198.4 kB / 3.637 GB, free: 200 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/9.449, allocations: 324.7 kB / 3.638 GB, free: 199.8 MB / 0.8698 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.002583/9.452, allocations: 0.9496 MB / 3.639 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/9.452, allocations: 0.8125 kB / 3.639 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002381/9.454, allocations: 0.7977 MB / 3.639 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/9.454, allocations: 9.703 kB / 3.639 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/9.454, allocations: 3.531 kB / 3.639 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/9.455, allocations: 132.8 kB / 3.639 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/9.455, allocations: 136.9 kB / 3.64 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/9.458, allocations: 1.737 MB / 3.641 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/9.459, allocations: 78.31 kB / 3.641 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/9.459, allocations: 25.72 kB / 3.641 GB, free: 198.5 MB / 0.8698 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002591/9.459, allocations: 127 kB / 3.641 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/9.459, allocations: 77.67 kB / 3.642 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/9.46, allocations: 79.59 kB / 3.642 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/9.46, allocations: 4.906 kB / 3.642 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/9.46, allocations: 0 / 3.642 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001903/9.461, allocations: 0.6969 MB / 3.642 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/9.465, allocations: 1.683 MB / 3.644 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/9.465, allocations: 4.531 kB / 3.644 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/9.466, allocations: 119.6 kB / 3.644 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003395/9.466, allocations: 145.3 kB / 3.644 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/9.466, allocations: 9.672 kB / 3.644 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/9.469, allocations: 1.739 MB / 3.646 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/9.469, allocations: 4.094 kB / 3.646 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/9.471, allocations: 1.247 MB / 3.647 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/9.472, allocations: 223.3 kB / 3.647 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/9.472, allocations: 9.266 kB / 3.647 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/9.473, allocations: 91.97 kB / 3.647 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/9.473, allocations: 38.56 kB / 3.648 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/9.473, allocations: 33.5 kB / 3.648 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005645/9.474, allocations: 394.3 kB / 3.648 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/9.474, allocations: 0 / 3.648 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001992/9.476, allocations: 347.9 kB / 3.648 GB, free: 195.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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.002989/9.479, allocations: 1.49 MB / 3.65 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001325/9.48, allocations: 0.5695 MB / 3.65 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/9.48, allocations: 1.875 kB / 3.65 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005393/9.481, allocations: 356 kB / 3.651 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/9.483, allocations: 400.8 kB / 3.651 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/9.488, allocations: 1.394 MB / 3.652 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000816/9.489, allocations: 1.076 MB / 3.653 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001183/9.49, allocations: 172.4 kB / 3.654 GB, free: 194 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/9.49, allocations: 59.08 kB / 3.654 GB, free: 194 MB / 0.8698 GB Notification: Performance of SimCode: time 8.81e-07/9.49, allocations: 0 / 3.654 GB, free: 194 MB / 0.8698 GB Notification: Performance of Templates: time 0.03653/9.527, allocations: 22.12 MB / 3.675 GB, free: 193.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches