Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 200.6 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.788/2.788, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.83 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3282, allocations: 157.4 MB / 1.053 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2118/0.54, allocations: 188.2 MB / 1.237 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.551, allocations: 5.778 MB / 1.242 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.5531, allocations: 35.75 kB / 1.242 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.5551, allocations: 0.4897 MB / 1.243 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00494/0.5601, allocations: 1.521 MB / 1.244 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.5639, allocations: 1.088 MB / 1.245 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7315/1.295, allocations: 3.524 MB / 1.249 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/1.297, allocations: 0.8936 MB / 1.25 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/1.3, allocations: 0.9079 MB / 1.25 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/1.302, allocations: 0.8794 MB / 1.251 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002617/1.303, allocations: 54.12 kB / 1.251 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00375/1.306, allocations: 1.739 MB / 1.253 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007919/1.307, allocations: 462.2 kB / 1.254 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/1.308, allocations: 0.5824 MB / 1.254 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/1.311, allocations: 1.621 MB / 1.256 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/1.311, allocations: 0.7031 kB / 1.256 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.311, allocations: 0 / 1.256 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.104e-05/1.311, allocations: 0 / 1.256 GB, free: 3.957 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004855/1.316, allocations: 1.526 MB / 1.257 GB, free: 19.19 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/1.316, allocations: 13.06 kB / 1.257 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/1.32, allocations: 471.7 kB / 1.258 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/1.322, allocations: 0.8165 MB / 1.258 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/1.323, allocations: 123.9 kB / 1.259 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/1.323, allocations: 85.78 kB / 1.259 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/1.326, allocations: 1.186 MB / 1.26 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/1.326, allocations: 3.891 kB / 1.26 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.326, allocations: 36.3 kB / 1.26 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/1.326, allocations: 34.55 kB / 1.26 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/1.328, allocations: 1.079 MB / 1.261 GB, free: 18.64 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008961/1.337, allocations: 4.336 MB / 1.265 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/1.34, allocations: 0.763 MB / 1.266 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/1.341, allocations: 406.7 kB / 1.266 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/1.341, allocations: 106.4 kB / 1.266 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/1.341, allocations: 38.59 kB / 1.266 GB, free: 16.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.036e-06/1.341, allocations: 0 / 1.266 GB, free: 16.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.007025/1.348, allocations: 2.204 MB / 1.269 GB, free: 16.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.348, allocations: 56.69 kB / 1.269 GB, free: 16.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/1.35, allocations: 0.8685 MB / 1.269 GB, free: 15.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.35, allocations: 36.86 kB / 1.269 GB, free: 15.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/1.35, allocations: 496.6 kB / 1.27 GB, free: 15.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/1.35, allocations: 169 kB / 1.27 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/1.351, allocations: 118 kB / 1.27 GB, free: 15.58 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.351, allocations: 327.3 kB / 1.271 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009849/1.352, allocations: 377.3 kB / 1.271 GB, free: 15.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.353, allocations: 0.5051 MB / 1.271 GB, free: 15.12 MB / 1.014 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.006285/1.359, allocations: 2.286 MB / 1.274 GB, free: 14.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/1.359, allocations: 2.594 kB / 1.274 GB, free: 14.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002543/1.362, allocations: 0.9924 MB / 1.275 GB, free: 14.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.362, allocations: 6.406 kB / 1.275 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.362, allocations: 4.812 kB / 1.275 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.362, allocations: 10.84 kB / 1.275 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/1.363, allocations: 194.6 kB / 1.275 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/1.363, allocations: 12.84 kB / 1.275 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/1.364, allocations: 104.3 kB / 1.275 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/1.364, allocations: 29.56 kB / 1.275 GB, free: 14.67 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000624/1.365, allocations: 310.4 kB / 1.275 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/1.365, allocations: 94.97 kB / 1.275 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/1.365, allocations: 105.8 kB / 1.275 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.365, allocations: 4.062 kB / 1.275 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.365, allocations: 1.125 kB / 1.275 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001969/1.367, allocations: 1.035 MB / 1.276 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004813/1.372, allocations: 2.162 MB / 1.279 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.372, allocations: 8.188 kB / 1.279 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/1.373, allocations: 169.1 kB / 1.279 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/1.373, allocations: 5.094 kB / 1.279 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/1.373, allocations: 18.48 kB / 1.279 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.373, allocations: 8.469 kB / 1.279 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.373, allocations: 8.344 kB / 1.279 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/1.376, allocations: 1.427 MB / 1.28 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000633/1.377, allocations: 257.2 kB / 1.28 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/1.377, allocations: 12.91 kB / 1.28 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.378, allocations: 109.7 kB / 1.281 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.378, allocations: 33.56 kB / 1.281 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.54e-05/1.378, allocations: 34.11 kB / 1.281 GB, free: 13.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009469/1.379, allocations: 0.6029 MB / 1.281 GB, free: 12.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.379, allocations: 1.219 kB / 1.281 GB, free: 12.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001158/1.38, allocations: 267.9 kB / 1.281 GB, free: 12.99 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005624/1.381, allocations: 209.6 kB / 1.282 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00212/1.383, allocations: 0.8182 MB / 1.282 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.383, allocations: 1.281 kB / 1.282 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009521/1.384, allocations: 401.1 kB / 1.283 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.387, allocations: 0.5659 MB / 1.283 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/1.392, allocations: 2.616 MB / 1.286 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/1.393, allocations: 1.102 MB / 1.287 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/1.393, allocations: 82.31 kB / 1.287 GB, free: 10.84 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.393, allocations: 9.141 kB / 1.287 GB, free: 10.83 MB / 1.014 GB Notification: Performance of Templates: time 0.03042/1.424, allocations: 16.92 MB / 1.304 GB, free: 9.422 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches