Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.495/2.495, allocations: 393.5 MB / 408.4 MB, free: 11.13 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.001221/0.001221, allocations: 186.2 kB / 0.4902 GB, free: 2.293 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.693/1.693, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.0009004/0.0009005, allocations: 104.1 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.000441, allocations: 11.28 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3621, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.769/5.131, allocations: 1.92 GB / 3.149 GB, free: 33.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/5.131, allocations: 87.7 kB / 3.149 GB, free: 33.66 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.721/6.853, allocations: 466.4 MB / 3.605 GB, free: 39.79 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.493e-06/6.853, allocations: 0 / 3.605 GB, free: 39.79 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001368/6.853, allocations: 31.94 kB / 3.605 GB, free: 39.76 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004036/6.857, allocations: 1.39 MB / 3.606 GB, free: 38.32 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/6.857, allocations: 12.83 kB / 3.606 GB, free: 38.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/6.86, allocations: 310.3 kB / 3.606 GB, free: 38 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/6.861, allocations: 0.8517 MB / 3.607 GB, free: 37.11 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/6.861, allocations: 62 kB / 3.607 GB, free: 37.04 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/6.862, allocations: 88 kB / 3.607 GB, free: 36.96 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/6.863, allocations: 0.9792 MB / 3.608 GB, free: 35.96 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/6.863, allocations: 3.906 kB / 3.608 GB, free: 35.96 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/6.863, allocations: 36 kB / 3.608 GB, free: 35.93 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/6.863, allocations: 33.98 kB / 3.608 GB, free: 35.89 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/6.865, allocations: 0.8042 MB / 3.609 GB, free: 35.09 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.004634/6.869, allocations: 3.474 MB / 3.613 GB, free: 31.39 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/6.87, allocations: 487.2 kB / 3.613 GB, free: 30.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/6.87, allocations: 101.5 kB / 3.613 GB, free: 30.79 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/6.87, allocations: 43 kB / 3.613 GB, free: 30.73 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 3.216e-06/6.87, allocations: 4 kB / 3.613 GB, free: 30.73 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.003816/6.874, allocations: 1.873 MB / 3.615 GB, free: 28.76 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/6.874, allocations: 55.84 kB / 3.615 GB, free: 28.69 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/6.875, allocations: 0.7074 MB / 3.616 GB, free: 27.98 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/6.875, allocations: 37.7 kB / 3.616 GB, free: 27.94 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/6.875, allocations: 483.3 kB / 3.616 GB, free: 27.46 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/6.875, allocations: 177.5 kB / 3.617 GB, free: 27.29 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/6.875, allocations: 8 kB / 3.617 GB, free: 27.28 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/6.875, allocations: 330 kB / 3.617 GB, free: 26.95 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/6.876, allocations: 233.2 kB / 3.617 GB, free: 26.72 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/6.876, allocations: 362.9 kB / 3.617 GB, free: 26.32 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.002627/6.879, allocations: 0.9836 MB / 3.618 GB, free: 25.32 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/6.879, allocations: 4 kB / 3.618 GB, free: 25.32 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001085/6.88, allocations: 0.7689 MB / 3.619 GB, free: 24.54 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/6.88, allocations: 9.672 kB / 3.619 GB, free: 24.53 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/6.88, allocations: 8.328 kB / 3.619 GB, free: 24.52 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/6.88, allocations: 93.59 kB / 3.619 GB, free: 24.42 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/6.881, allocations: 127.8 kB / 3.619 GB, free: 24.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/6.883, allocations: 2.989 MB / 3.622 GB, free: 21.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009574/6.884, allocations: 63.86 kB / 3.622 GB, free: 20.99 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/6.884, allocations: 20 kB / 3.622 GB, free: 20.97 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: 12 * 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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00052/6.884, allocations: 305.6 kB / 3.623 GB, free: 20.66 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/6.885, allocations: 94.92 kB / 3.623 GB, free: 20.57 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/6.885, allocations: 100.7 kB / 3.623 GB, free: 20.46 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/6.885, allocations: 4 kB / 3.623 GB, free: 20.46 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/6.885, allocations: 0 / 3.623 GB, free: 20.46 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008095/6.886, allocations: 0.8309 MB / 3.624 GB, free: 19.54 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/6.888, allocations: 1.732 MB / 3.625 GB, free: 17.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/6.888, allocations: 3.984 kB / 3.625 GB, free: 17.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/6.889, allocations: 111.9 kB / 3.625 GB, free: 17.59 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/6.889, allocations: 56.81 kB / 3.625 GB, free: 17.54 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/6.889, allocations: 16.22 kB / 3.626 GB, free: 17.52 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/6.89, allocations: 1.624 MB / 3.627 GB, free: 15.76 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/6.89, allocations: 4 kB / 3.627 GB, free: 15.76 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/6.891, allocations: 1.184 MB / 3.628 GB, free: 14.43 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/6.892, allocations: 235.8 kB / 3.628 GB, free: 14.18 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/6.892, allocations: 15.98 kB / 3.628 GB, free: 14.16 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007516/6.893, allocations: 63.95 kB / 3.629 GB, free: 14.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/6.893, allocations: 43.84 kB / 3.629 GB, free: 14.06 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/6.893, allocations: 31.98 kB / 3.629 GB, free: 14.03 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006261/6.893, allocations: 0.5536 MB / 3.629 GB, free: 13.48 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/6.893, allocations: 0 / 3.629 GB, free: 13.48 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001342/6.895, allocations: 396 kB / 3.63 GB, free: 13.09 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001651/6.896, allocations: 1.273 MB / 3.631 GB, free: 11.79 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001166/6.898, allocations: 0.7881 MB / 3.632 GB, free: 10.98 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/6.898, allocations: 0 / 3.632 GB, free: 10.98 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/6.898, allocations: 395.8 kB / 3.632 GB, free: 10.58 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/6.9, allocations: 0.563 MB / 3.632 GB, free: 10.02 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/6.903, allocations: 2.154 MB / 3.635 GB, free: 7.789 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/6.903, allocations: 1.103 MB / 3.636 GB, free: 6.656 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007938/6.904, allocations: 215.7 kB / 3.636 GB, free: 6.441 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/6.904, allocations: 63.44 kB / 3.636 GB, free: 6.379 MB / 1.167 GB Notification: Performance of SimCode: time 4.31e-07/6.904, allocations: 0 / 3.636 GB, free: 6.379 MB / 1.167 GB Notification: Performance of Templates: time 0.916/7.82, allocations: 33.87 MB / 3.669 GB, free: 305.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches