Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 387.1 MB / 399.7 MB, free: 9.531 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.001248/0.001249, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.534/1.534, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001032/0.001032, allocations: 95.89 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.014e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3102, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.501/5.811, allocations: 1.92 GB / 3.132 GB, free: 345.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/5.812, allocations: 84.2 kB / 3.132 GB, free: 345.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.782/7.594, allocations: 0.5723 GB / 3.705 GB, free: 221.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.904e-06/7.594, allocations: 0 / 3.705 GB, free: 221.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.826e-05/7.594, allocations: 39.92 kB / 3.705 GB, free: 221.6 MB / 1.151 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.002375/7.596, allocations: 1.245 MB / 3.706 GB, free: 220.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/7.596, allocations: 12.03 kB / 3.706 GB, free: 220.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/7.598, allocations: 323.3 kB / 3.706 GB, free: 220 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/7.6, allocations: 0.8037 MB / 3.707 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003761/7.601, allocations: 125.9 kB / 3.707 GB, free: 219 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/7.601, allocations: 84 kB / 3.707 GB, free: 218.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/7.603, allocations: 0.988 MB / 3.708 GB, free: 217.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/7.603, allocations: 3.938 kB / 3.708 GB, free: 217.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/7.603, allocations: 43.98 kB / 3.708 GB, free: 217.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.966e-05/7.603, allocations: 33.98 kB / 3.708 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/7.604, allocations: 0.7341 MB / 3.709 GB, free: 217.1 MB / 1.151 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.005307/7.609, allocations: 4.047 MB / 3.713 GB, free: 212.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/7.61, allocations: 355.6 kB / 3.713 GB, free: 212.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/7.61, allocations: 208.5 kB / 3.714 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/7.61, allocations: 97.09 kB / 3.714 GB, free: 212.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/7.61, allocations: 50.48 kB / 3.714 GB, free: 212.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/7.61, allocations: 4 kB / 3.714 GB, free: 212.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.002219/7.613, allocations: 1.167 MB / 3.715 GB, free: 210.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/7.613, allocations: 55.41 kB / 3.715 GB, free: 210.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/7.614, allocations: 0.8392 MB / 3.716 GB, free: 209.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/7.614, allocations: 33.7 kB / 3.716 GB, free: 209.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/7.614, allocations: 0.4915 MB / 3.716 GB, free: 209.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/7.614, allocations: 142 kB / 3.716 GB, free: 209.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/7.614, allocations: 12 kB / 3.716 GB, free: 209.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/7.614, allocations: 330 kB / 3.717 GB, free: 208.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/7.615, allocations: 197.5 kB / 3.717 GB, free: 208.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/7.615, allocations: 371.3 kB / 3.717 GB, free: 208.3 MB / 1.151 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.001701/7.617, allocations: 0.7178 MB / 3.718 GB, free: 207.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/7.617, allocations: 4 kB / 3.718 GB, free: 207.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009792/7.618, allocations: 0.6867 MB / 3.719 GB, free: 206.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/7.618, allocations: 5.406 kB / 3.719 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/7.618, allocations: 8.625 kB / 3.719 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/7.618, allocations: 8 kB / 3.719 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/7.618, allocations: 143.8 kB / 3.719 GB, free: 206.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/7.618, allocations: 11.94 kB / 3.719 GB, free: 206.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/7.619, allocations: 103.7 kB / 3.719 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/7.62, allocations: 24 kB / 3.719 GB, free: 206.5 MB / 1.151 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 () * 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.0001697/7.62, allocations: 144.8 kB / 3.719 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/7.62, allocations: 98.88 kB / 3.719 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/7.62, allocations: 101.2 kB / 3.719 GB, free: 206.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/7.62, allocations: 7.938 kB / 3.719 GB, free: 206.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/7.62, allocations: 0 / 3.719 GB, free: 206.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005885/7.621, allocations: 0.671 MB / 3.72 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/7.624, allocations: 1.569 MB / 3.721 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/7.624, allocations: 4 kB / 3.721 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/7.624, allocations: 83.94 kB / 3.721 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/7.624, allocations: 15.94 kB / 3.721 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/7.624, allocations: 19.88 kB / 3.722 GB, free: 203.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/7.624, allocations: 7.984 kB / 3.722 GB, free: 203.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/7.624, allocations: 4 kB / 3.722 GB, free: 203.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/7.625, allocations: 1.023 MB / 3.723 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/7.626, allocations: 235.9 kB / 3.723 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/7.626, allocations: 16 kB / 3.723 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00082/7.627, allocations: 55.86 kB / 3.723 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/7.627, allocations: 31.92 kB / 3.723 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/7.627, allocations: 31.92 kB / 3.723 GB, free: 202.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00104/7.628, allocations: 0.6609 MB / 3.724 GB, free: 201.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.2e-07/7.628, allocations: 0 / 3.724 GB, free: 201.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00171/7.63, allocations: 383.9 kB / 3.724 GB, free: 201 MB / 1.151 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 () * 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.00248/7.632, allocations: 1.333 MB / 3.725 GB, free: 199.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008707/7.633, allocations: 452.6 kB / 3.726 GB, free: 199.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/7.633, allocations: 4 kB / 3.726 GB, free: 199.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/7.633, allocations: 184.6 kB / 3.726 GB, free: 199 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/7.636, allocations: 0.5874 MB / 3.726 GB, free: 198.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/7.639, allocations: 1.432 MB / 3.728 GB, free: 196.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/7.64, allocations: 1.118 MB / 3.729 GB, free: 195.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001081/7.641, allocations: 240.4 kB / 3.729 GB, free: 195.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/7.641, allocations: 71.42 kB / 3.729 GB, free: 195.5 MB / 1.151 GB Notification: Performance of SimCode: time 8.61e-07/7.641, allocations: 3.938 kB / 3.729 GB, free: 195.5 MB / 1.151 GB Notification: Performance of Templates: time 0.05052/7.692, allocations: 37.6 MB / 3.766 GB, free: 158 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches