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.001015/0.001015, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.702/2.702, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003233, allocations: 10.66 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2662, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1691/0.4353, allocations: 173.3 MB / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008043/0.4434, allocations: 5.38 MB / 1.233 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008702/0.4443, allocations: 31.75 kB / 1.233 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.4454, allocations: 397.5 kB / 1.233 GB, free: 1.695 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002939/0.4483, allocations: 1.213 MB / 1.234 GB, free: 488 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.4507, allocations: 0.8944 MB / 1.235 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003094/0.4538, allocations: 2.978 MB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.4549, allocations: 0.738 MB / 1.239 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.4564, allocations: 0.8635 MB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.4574, allocations: 0.7978 MB / 1.24 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.4576, allocations: 43.98 kB / 1.24 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.4596, allocations: 0.9198 MB / 1.241 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004481/0.46, allocations: 434.8 kB / 1.242 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.4603, allocations: 261 kB / 1.242 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.4619, allocations: 1.524 MB / 1.243 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4619, allocations: 4 kB / 1.243 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4619, allocations: 0 / 1.243 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.462, allocations: 4 kB / 1.243 GB, free: 7.004 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.002042/0.464, allocations: 1.293 MB / 1.245 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4641, allocations: 12.03 kB / 1.245 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.4669, allocations: 0.4904 MB / 1.245 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.4682, allocations: 0.794 MB / 1.246 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.4686, allocations: 133.9 kB / 1.246 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.4687, allocations: 88 kB / 1.246 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.4708, allocations: 1.202 MB / 1.247 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.4709, allocations: 3.906 kB / 1.247 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/0.471, allocations: 36 kB / 1.247 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.637e-05/0.471, allocations: 41.98 kB / 1.247 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.4733, allocations: 1.097 MB / 1.248 GB, free: 1.703 MB / 0.9981 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.5089/0.9822, allocations: 4.353 MB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.9841, allocations: 0.7966 MB / 1.253 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008995/0.985, allocations: 419.5 kB / 1.254 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.9852, allocations: 108.2 kB / 1.254 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.9852, allocations: 49.94 kB / 1.254 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.9852, allocations: 0 / 1.254 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.005252/0.9905, allocations: 2.288 MB / 1.256 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.9905, allocations: 54.06 kB / 1.256 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000877/0.9914, allocations: 0.8595 MB / 1.257 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.9915, allocations: 35.92 kB / 1.257 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.9917, allocations: 490 kB / 1.258 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.9919, allocations: 168.1 kB / 1.258 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.9919, allocations: 11.56 kB / 1.258 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.992, allocations: 331.6 kB / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008687/0.9929, allocations: 385.4 kB / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009176/0.9938, allocations: 0.5257 MB / 1.259 GB, free: 188.7 MB / 0.9981 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.003981/0.9978, allocations: 1.556 MB / 1.261 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.9978, allocations: 2.875 kB / 1.261 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002107/0.9999, allocations: 1.025 MB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.9999, allocations: 12.77 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9999, allocations: 5.969 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1, allocations: 6.312 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009188/1.001, allocations: 214.6 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.001, allocations: 6.484 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.002, allocations: 115.5 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/1.002, allocations: 27.62 kB / 1.262 GB, free: 188.4 MB / 0.9981 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004375/1.002, allocations: 319.2 kB / 1.262 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.003, allocations: 96.84 kB / 1.262 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/1.003, allocations: 108.6 kB / 1.262 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.003, allocations: 5.875 kB / 1.262 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.003, allocations: 0 / 1.262 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001759/1.005, allocations: 1.072 MB / 1.263 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004773/1.009, allocations: 2.203 MB / 1.266 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.009, allocations: 4.469 kB / 1.266 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00097/1.01, allocations: 184.6 kB / 1.266 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/1.01, allocations: 5.312 kB / 1.266 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/1.01, allocations: 21.36 kB / 1.266 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/1.01, allocations: 9.812 kB / 1.266 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.011, allocations: 9.297 kB / 1.266 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/1.014, allocations: 1.48 MB / 1.267 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/1.014, allocations: 249.8 kB / 1.267 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/1.014, allocations: 15.92 kB / 1.268 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009515/1.015, allocations: 114.1 kB / 1.268 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/1.015, allocations: 38.86 kB / 1.268 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/1.015, allocations: 29.44 kB / 1.268 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008684/1.016, allocations: 0.593 MB / 1.268 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.016, allocations: 0 / 1.268 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001008/1.017, allocations: 269.6 kB / 1.269 GB, free: 186.7 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004855/1.018, allocations: 204.2 kB / 1.269 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002412/1.02, allocations: 0.8477 MB / 1.27 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.02, allocations: 1.5 kB / 1.27 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.021, allocations: 415.6 kB / 1.27 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/1.024, allocations: 0.5648 MB / 1.27 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/1.029, allocations: 2.568 MB / 1.273 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/1.029, allocations: 1.108 MB / 1.274 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001162/1.031, allocations: 260.5 kB / 1.274 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/1.031, allocations: 74.44 kB / 1.274 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.031, allocations: 0 / 1.274 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03125/1.062, allocations: 19.49 MB / 1.293 GB, free: 176.6 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches