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.468/2.468, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.00106/0.00106, allocations: 192.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.0008729/0.0008726, allocations: 99.88 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.742e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3491, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.073/7.422, allocations: 1.921 GB / 3.139 GB, free: 338 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/7.422, allocations: 86.17 kB / 3.14 GB, free: 338 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.139/9.561, allocations: 0.5723 GB / 3.712 GB, free: 218.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.833e-06/9.561, allocations: 4 kB / 3.712 GB, free: 218.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001435/9.561, allocations: 31.98 kB / 3.712 GB, free: 218.5 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.004328/9.565, allocations: 1.238 MB / 3.713 GB, free: 217.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/9.565, allocations: 12.03 kB / 3.713 GB, free: 217.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/9.568, allocations: 323.5 kB / 3.713 GB, free: 216.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/9.57, allocations: 0.8081 MB / 3.714 GB, free: 216.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/9.571, allocations: 125.9 kB / 3.714 GB, free: 215.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/9.571, allocations: 84 kB / 3.714 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/9.573, allocations: 0.988 MB / 3.715 GB, free: 214.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/9.573, allocations: 4 kB / 3.715 GB, free: 214.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/9.573, allocations: 36 kB / 3.715 GB, free: 214.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/9.573, allocations: 33.98 kB / 3.715 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/9.575, allocations: 0.7379 MB / 3.716 GB, free: 214 MB / 1.167 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.00649/9.581, allocations: 4.047 MB / 3.72 GB, free: 209.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/9.582, allocations: 361.2 kB / 3.72 GB, free: 209.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/9.582, allocations: 206.2 kB / 3.721 GB, free: 209.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/9.582, allocations: 97.09 kB / 3.721 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/9.582, allocations: 38.56 kB / 3.721 GB, free: 209 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.795e-06/9.582, allocations: 3.938 kB / 3.721 GB, free: 209 MB / 1.167 GB Notification: Performance of matching and sorting (n=38): time 0.002858/9.585, allocations: 1.166 MB / 3.722 GB, free: 207.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/9.585, allocations: 55.41 kB / 3.722 GB, free: 207.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/9.587, allocations: 0.8353 MB / 3.723 GB, free: 206.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.767e-05/9.587, allocations: 37.7 kB / 3.723 GB, free: 206.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/9.587, allocations: 495.3 kB / 3.723 GB, free: 206.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/9.587, allocations: 146.1 kB / 3.723 GB, free: 206.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/9.587, allocations: 12 kB / 3.723 GB, free: 206.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/9.587, allocations: 325.9 kB / 3.724 GB, free: 205.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/9.588, allocations: 205.5 kB / 3.724 GB, free: 205.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/9.588, allocations: 367.4 kB / 3.724 GB, free: 205.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.001731/9.59, allocations: 0.7032 MB / 3.725 GB, free: 204.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/9.59, allocations: 4 kB / 3.725 GB, free: 204.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001137/9.591, allocations: 0.6828 MB / 3.726 GB, free: 203.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/9.591, allocations: 8 kB / 3.726 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/9.591, allocations: 4.625 kB / 3.726 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/9.591, allocations: 8 kB / 3.726 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/9.592, allocations: 147.7 kB / 3.726 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/9.592, allocations: 8 kB / 3.726 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/9.593, allocations: 103.7 kB / 3.726 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/9.593, allocations: 28 kB / 3.726 GB, free: 203.5 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 () * 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.0001818/9.593, allocations: 148.7 kB / 3.726 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/9.593, allocations: 102.9 kB / 3.726 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/9.594, allocations: 101.2 kB / 3.726 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/9.594, allocations: 4 kB / 3.726 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/9.594, allocations: 8 kB / 3.726 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005785/9.594, allocations: 0.6711 MB / 3.727 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/9.597, allocations: 1.581 MB / 3.729 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/9.597, allocations: 4 kB / 3.729 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/9.597, allocations: 83.89 kB / 3.729 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-06/9.597, allocations: 4 kB / 3.729 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/9.597, allocations: 16 kB / 3.729 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/9.597, allocations: 11.92 kB / 3.729 GB, free: 200.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/9.597, allocations: 8.078 kB / 3.729 GB, free: 200.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/9.598, allocations: 1.011 MB / 3.73 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005654/9.599, allocations: 235.9 kB / 3.73 GB, free: 199.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/9.599, allocations: 12 kB / 3.73 GB, free: 199.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008948/9.6, allocations: 63.81 kB / 3.73 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/9.6, allocations: 35.91 kB / 3.73 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.954e-05/9.6, allocations: 23.98 kB / 3.73 GB, free: 199 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008932/9.601, allocations: 0.6648 MB / 3.731 GB, free: 198.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/9.601, allocations: 0 / 3.731 GB, free: 198.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001612/9.603, allocations: 383.8 kB / 3.731 GB, free: 197.9 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 () * 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.002182/9.605, allocations: 1.341 MB / 3.732 GB, free: 196.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008194/9.606, allocations: 456.3 kB / 3.733 GB, free: 196.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/9.606, allocations: 4 kB / 3.733 GB, free: 196.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/9.606, allocations: 175.7 kB / 3.733 GB, free: 195.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/9.609, allocations: 0.5834 MB / 3.734 GB, free: 195.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/9.611, allocations: 1.444 MB / 3.735 GB, free: 193.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/9.612, allocations: 1.118 MB / 3.736 GB, free: 192.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001065/9.613, allocations: 236.2 kB / 3.736 GB, free: 192.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/9.613, allocations: 67.44 kB / 3.736 GB, free: 192.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.873e-06/9.613, allocations: 0 / 3.736 GB, free: 192.4 MB / 1.167 GB Notification: Performance of Templates: time 0.05387/9.667, allocations: 37.6 MB / 3.773 GB, free: 154.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