Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.3/2.3, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001479/0.001479, allocations: 183.4 kB / 0.4902 GB, free: 2.238 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.675/1.675, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001271/0.001272, allocations: 103.8 kB / 0.9396 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004322, allocations: 11.66 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3951, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.442/4.838, allocations: 1.921 GB / 3.15 GB, free: 60.41 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/4.838, allocations: 87.95 kB / 3.15 GB, free: 60.32 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.517/7.355, allocations: 0.5729 GB / 3.723 GB, free: 302.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.628e-06/7.355, allocations: 0 / 3.723 GB, free: 302.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001531/7.356, allocations: 35.86 kB / 3.723 GB, free: 302.7 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00492/7.361, allocations: 1.374 MB / 3.724 GB, free: 302.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/7.361, allocations: 14.17 kB / 3.724 GB, free: 302.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/7.363, allocations: 317.1 kB / 3.725 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/7.366, allocations: 0.7989 MB / 3.725 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/7.366, allocations: 136 kB / 3.726 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/7.367, allocations: 85.75 kB / 3.726 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/7.369, allocations: 1.036 MB / 3.727 GB, free: 301.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/7.369, allocations: 3.375 kB / 3.727 GB, free: 301.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/7.369, allocations: 38.95 kB / 3.727 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/7.369, allocations: 34.86 kB / 3.727 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/7.371, allocations: 0.812 MB / 3.727 GB, free: 301.6 MB / 1.167 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.006914/7.378, allocations: 4.052 MB / 3.731 GB, free: 299.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/7.379, allocations: 364.9 kB / 3.732 GB, free: 299.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/7.379, allocations: 95.3 kB / 3.732 GB, free: 299.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/7.379, allocations: 42.16 kB / 3.732 GB, free: 299.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 4.208e-06/7.379, allocations: 0 / 3.732 GB, free: 299.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=38): time 0.003132/7.382, allocations: 1.307 MB / 3.733 GB, free: 299.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/7.382, allocations: 59.17 kB / 3.733 GB, free: 299.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/7.384, allocations: 0.8868 MB / 3.734 GB, free: 298.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/7.384, allocations: 42.64 kB / 3.734 GB, free: 298.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/7.384, allocations: 491.5 kB / 3.735 GB, free: 298.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/7.384, allocations: 139.3 kB / 3.735 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/7.384, allocations: 11.59 kB / 3.735 GB, free: 298.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/7.384, allocations: 330.3 kB / 3.735 GB, free: 298.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/7.385, allocations: 235.8 kB / 3.735 GB, free: 298.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/7.385, allocations: 404.8 kB / 3.736 GB, free: 298.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.001806/7.387, allocations: 0.7366 MB / 3.736 GB, free: 298.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/7.387, allocations: 2.625 kB / 3.736 GB, free: 298.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001381/7.389, allocations: 0.7549 MB / 3.737 GB, free: 298 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/7.389, allocations: 7.156 kB / 3.737 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/7.389, allocations: 3.719 kB / 3.737 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/7.389, allocations: 7.781 kB / 3.737 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/7.389, allocations: 148.6 kB / 3.737 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/7.389, allocations: 14.09 kB / 3.737 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/7.391, allocations: 101.5 kB / 3.737 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/7.391, allocations: 32.02 kB / 3.737 GB, free: 298 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0006417/7.391, allocations: 307.7 kB / 3.738 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/7.392, allocations: 95.44 kB / 3.738 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/7.392, allocations: 104.9 kB / 3.738 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/7.392, allocations: 3.812 kB / 3.738 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/7.392, allocations: 0 / 3.738 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006312/7.393, allocations: 0.6703 MB / 3.739 GB, free: 297.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/7.396, allocations: 1.583 MB / 3.74 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/7.396, allocations: 7.406 kB / 3.74 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/7.396, allocations: 79.08 kB / 3.74 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/7.396, allocations: 10.12 kB / 3.74 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/7.396, allocations: 15.47 kB / 3.74 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/7.396, allocations: 11.53 kB / 3.74 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/7.396, allocations: 7.375 kB / 3.74 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/7.397, allocations: 1.028 MB / 3.741 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/7.398, allocations: 239.8 kB / 3.742 GB, free: 296.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/7.398, allocations: 15.47 kB / 3.742 GB, free: 296.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000982/7.399, allocations: 54.77 kB / 3.742 GB, free: 296.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/7.399, allocations: 38.58 kB / 3.742 GB, free: 296.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/7.399, allocations: 28.17 kB / 3.742 GB, free: 296.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001249/7.401, allocations: 0.7024 MB / 3.742 GB, free: 296.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/7.401, allocations: 0 / 3.742 GB, free: 296.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001802/7.402, allocations: 377.8 kB / 3.743 GB, free: 296.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.002534/7.405, allocations: 1.338 MB / 3.744 GB, free: 295.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00109/7.406, allocations: 495.2 kB / 3.744 GB, free: 295.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/7.406, allocations: 0 / 3.744 GB, free: 295.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/7.406, allocations: 189.5 kB / 3.745 GB, free: 295.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/7.409, allocations: 0.5789 MB / 3.745 GB, free: 295.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/7.412, allocations: 2.17 MB / 3.747 GB, free: 294.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/7.413, allocations: 1.122 MB / 3.748 GB, free: 294 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001009/7.414, allocations: 239.4 kB / 3.749 GB, free: 294 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/7.414, allocations: 72.75 kB / 3.749 GB, free: 294 MB / 1.167 GB Notification: Performance of SimCode: time 1.402e-06/7.414, allocations: 3.469 kB / 3.749 GB, free: 294 MB / 1.167 GB Notification: Performance of Templates: time 0.05317/7.467, allocations: 34.09 MB / 3.782 GB, free: 292.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches