Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 168.9 kB / 316.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 100.8 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.059e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2298, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.762/6.992, allocations: 2.191 GB / 3.076 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003975/6.992, allocations: 87.95 kB / 3.076 GB, free: 217 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.116/8.108, allocations: 251.5 MB / 3.322 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.434e-06/8.108, allocations: 0 / 3.322 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.498e-05/8.108, allocations: 21.77 kB / 3.322 GB, free: 236.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.00153/8.11, allocations: 0.7968 MB / 3.323 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/8.11, allocations: 9.812 kB / 3.323 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/8.111, allocations: 173.4 kB / 3.323 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009354/8.112, allocations: 0.5151 MB / 3.323 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/8.112, allocations: 14.28 kB / 3.323 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.123e-05/8.112, allocations: 25.22 kB / 3.323 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008463/8.113, allocations: 369.1 kB / 3.324 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/8.114, allocations: 451.9 kB / 3.324 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/8.114, allocations: 7.453 kB / 3.324 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/8.114, allocations: 1.531 kB / 3.324 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/8.114, allocations: 16.25 kB / 3.324 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/8.117, allocations: 1.761 MB / 3.326 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/8.117, allocations: 198.2 kB / 3.326 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/8.118, allocations: 133.6 kB / 3.326 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/8.118, allocations: 93.59 kB / 3.326 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/8.118, allocations: 39.31 kB / 3.326 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 2.535e-06/8.118, allocations: 1.25 kB / 3.326 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.0007704/8.119, allocations: 277.4 kB / 3.327 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/8.119, allocations: 53.47 kB / 3.327 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/8.119, allocations: 337 kB / 3.327 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/8.119, allocations: 28.33 kB / 3.327 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/8.119, allocations: 290.1 kB / 3.327 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/8.119, allocations: 81.55 kB / 3.327 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/8.119, allocations: 0 / 3.327 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/8.12, allocations: 343.3 kB / 3.328 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/8.12, allocations: 103.9 kB / 3.328 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/8.12, allocations: 198.2 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/8.12, allocations: 140 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/8.12, allocations: 0 / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004985/8.121, allocations: 356.6 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/8.121, allocations: 7.844 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/8.121, allocations: 3.938 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/8.121, allocations: 10.17 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/8.121, allocations: 67.05 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/8.121, allocations: 4.688 kB / 3.328 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/8.121, allocations: 35.16 kB / 3.329 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/8.122, allocations: 15.22 kB / 3.329 GB, free: 234.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.000101/8.122, allocations: 114.7 kB / 3.329 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/8.122, allocations: 42.8 kB / 3.329 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/8.122, allocations: 52.3 kB / 3.329 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/8.122, allocations: 0 / 3.329 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/8.122, allocations: 0 / 3.329 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003235/8.122, allocations: 315.1 kB / 3.329 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/8.123, allocations: 0.8784 MB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/8.123, allocations: 0 / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/8.124, allocations: 66.23 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/8.124, allocations: 3.312 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/8.124, allocations: 3.531 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/8.124, allocations: 3.891 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/8.124, allocations: 5.281 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/8.124, allocations: 0.5887 MB / 3.331 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/8.125, allocations: 162.6 kB / 3.331 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/8.125, allocations: 11.05 kB / 3.331 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/8.125, allocations: 21.66 kB / 3.331 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/8.125, allocations: 24.62 kB / 3.331 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/8.125, allocations: 18.72 kB / 3.331 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002473/8.125, allocations: 254.5 kB / 3.331 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/8.125, allocations: 0 / 3.331 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008325/8.126, allocations: 218.8 kB / 3.331 GB, free: 233.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.001499/8.128, allocations: 1.063 MB / 3.332 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003906/8.128, allocations: 253.7 kB / 3.333 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/8.128, allocations: 3.125 kB / 3.333 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/8.128, allocations: 104.5 kB / 3.333 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/8.129, allocations: 237.8 kB / 3.333 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/8.131, allocations: 0.7347 MB / 3.334 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/8.131, allocations: 0.896 MB / 3.334 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004295/8.132, allocations: 113.1 kB / 3.335 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/8.132, allocations: 34.25 kB / 3.335 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/8.132, allocations: 2.719 kB / 3.335 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.02089/8.153, allocations: 12.91 MB / 3.347 GB, free: 231.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches