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.39/2.39, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001158/0.001158, allocations: 181.2 kB / 498.1 MB, free: 5.684 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.766/1.766, allocations: 223.2 MB / 0.7948 GB, free: 18.9 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.001042/0.001042, allocations: 103.1 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 9.531 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.261/4.571, allocations: 1.92 GB / 3.143 GB, free: 59.39 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/4.571, allocations: 87.95 kB / 3.143 GB, free: 59.31 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.456/7.027, allocations: 0.5728 GB / 3.716 GB, free: 302.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.914e-06/7.027, allocations: 3.062 kB / 3.716 GB, free: 302.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.539e-05/7.027, allocations: 30.69 kB / 3.716 GB, free: 302.8 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.003057/7.03, allocations: 1.38 MB / 3.717 GB, free: 302.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/7.03, allocations: 9.281 kB / 3.717 GB, free: 302.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/7.032, allocations: 324.8 kB / 3.717 GB, free: 302.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/7.034, allocations: 0.797 MB / 3.718 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000477/7.035, allocations: 127 kB / 3.718 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/7.035, allocations: 86.17 kB / 3.718 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/7.037, allocations: 1.041 MB / 3.719 GB, free: 301.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/7.037, allocations: 1.688 kB / 3.719 GB, free: 301.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/7.037, allocations: 41.67 kB / 3.72 GB, free: 301.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/7.037, allocations: 36.08 kB / 3.72 GB, free: 301.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/7.039, allocations: 0.815 MB / 3.72 GB, free: 301.7 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.005727/7.044, allocations: 4.047 MB / 3.724 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/7.045, allocations: 360 kB / 3.725 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/7.045, allocations: 98.48 kB / 3.725 GB, free: 299.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/7.045, allocations: 44.34 kB / 3.725 GB, free: 299.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.517e-06/7.045, allocations: 0 / 3.725 GB, free: 299.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=38): time 0.002804/7.048, allocations: 1.305 MB / 3.726 GB, free: 299.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/7.048, allocations: 55.34 kB / 3.726 GB, free: 299.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/7.049, allocations: 0.8911 MB / 3.727 GB, free: 299 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/7.049, allocations: 36.48 kB / 3.727 GB, free: 299 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/7.05, allocations: 497.1 kB / 3.728 GB, free: 298.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/7.05, allocations: 135.7 kB / 3.728 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/7.05, allocations: 17.59 kB / 3.728 GB, free: 298.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.008e-05/7.05, allocations: 329.6 kB / 3.728 GB, free: 298.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/7.05, allocations: 234.1 kB / 3.728 GB, free: 298.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/7.051, allocations: 404.5 kB / 3.729 GB, free: 298.3 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.001676/7.053, allocations: 0.7433 MB / 3.729 GB, free: 298.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/7.053, allocations: 0 / 3.729 GB, free: 298.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001206/7.054, allocations: 0.7528 MB / 3.73 GB, free: 298.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/7.054, allocations: 7.406 kB / 3.73 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/7.054, allocations: 7.562 kB / 3.73 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/7.054, allocations: 7.094 kB / 3.73 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/7.054, allocations: 139.6 kB / 3.73 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/7.054, allocations: 14.88 kB / 3.73 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/7.055, allocations: 106 kB / 3.73 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/7.056, allocations: 30.98 kB / 3.73 GB, free: 298.1 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.0005019/7.056, allocations: 313.5 kB / 3.731 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/7.056, allocations: 101.1 kB / 3.731 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/7.056, allocations: 102.8 kB / 3.731 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/7.056, allocations: 7.703 kB / 3.731 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/7.056, allocations: 0 / 3.731 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005564/7.057, allocations: 0.6709 MB / 3.731 GB, free: 297.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/7.059, allocations: 1.576 MB / 3.733 GB, free: 297 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/7.059, allocations: 3.969 kB / 3.733 GB, free: 297 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/7.06, allocations: 84.89 kB / 3.733 GB, free: 297 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/7.06, allocations: 6.656 kB / 3.733 GB, free: 297 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/7.06, allocations: 24.3 kB / 3.733 GB, free: 297 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/7.06, allocations: 6.438 kB / 3.733 GB, free: 297 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/7.06, allocations: 3.906 kB / 3.733 GB, free: 297 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/7.061, allocations: 1.025 MB / 3.734 GB, free: 296.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/7.061, allocations: 238 kB / 3.734 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/7.061, allocations: 15 kB / 3.734 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007218/7.062, allocations: 60.12 kB / 3.734 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/7.062, allocations: 39.11 kB / 3.734 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/7.062, allocations: 29.09 kB / 3.735 GB, free: 296.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009253/7.063, allocations: 0.7017 MB / 3.735 GB, free: 296.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/7.063, allocations: 0 / 3.735 GB, free: 296.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001457/7.064, allocations: 381.5 kB / 3.736 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.001997/7.067, allocations: 1.334 MB / 3.737 GB, free: 295.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000989/7.068, allocations: 497.2 kB / 3.737 GB, free: 295.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/7.068, allocations: 3.25 kB / 3.737 GB, free: 295.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/7.068, allocations: 185.4 kB / 3.738 GB, free: 295.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/7.07, allocations: 0.5883 MB / 3.738 GB, free: 295.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/7.073, allocations: 2.164 MB / 3.74 GB, free: 294.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/7.074, allocations: 1.116 MB / 3.741 GB, free: 294.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009737/7.075, allocations: 242.8 kB / 3.742 GB, free: 294.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/7.075, allocations: 72.28 kB / 3.742 GB, free: 294.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.843e-06/7.075, allocations: 0 / 3.742 GB, free: 294.1 MB / 1.167 GB Notification: Performance of Templates: time 0.04852/7.123, allocations: 34.09 MB / 3.775 GB, free: 293 MB / 1.167 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