Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.369/2.369, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001179/0.001179, allocations: 187.9 kB / 0.4902 GB, free: 2.18 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.729/1.729, allocations: 223.2 MB / 0.7992 GB, free: 14.52 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.001093/0.001093, allocations: 104.1 kB / 0.9396 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004101, allocations: 14.91 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.553/4.892, allocations: 1.922 GB / 3.152 GB, free: 58.21 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/4.892, allocations: 95.95 kB / 3.152 GB, free: 58.12 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.354/6.246, allocations: 374.2 MB / 3.517 GB, free: 149.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.635e-06/6.246, allocations: 4 kB / 3.517 GB, free: 149.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.93e-05/6.247, allocations: 16 kB / 3.517 GB, free: 149.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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00272/6.249, allocations: 0.9736 MB / 3.518 GB, free: 148.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/6.249, allocations: 8.828 kB / 3.518 GB, free: 148.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/6.251, allocations: 171 kB / 3.518 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/6.252, allocations: 0.5598 MB / 3.519 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/6.252, allocations: 29 kB / 3.519 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/6.252, allocations: 48 kB / 3.519 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008987/6.253, allocations: 450.4 kB / 3.519 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/6.253, allocations: 7.891 kB / 3.519 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/6.253, allocations: 16 kB / 3.519 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/6.253, allocations: 20.98 kB / 3.519 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/6.254, allocations: 407.8 kB / 3.52 GB, free: 147 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.002956/6.257, allocations: 2.014 MB / 3.522 GB, free: 144.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/6.258, allocations: 282.8 kB / 3.522 GB, free: 144.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/6.258, allocations: 206.1 kB / 3.522 GB, free: 144.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/6.258, allocations: 30.56 kB / 3.522 GB, free: 144.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 2.995e-06/6.258, allocations: 0 / 3.522 GB, free: 144.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.001554/6.259, allocations: 0.6499 MB / 3.523 GB, free: 143.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/6.259, allocations: 59.34 kB / 3.523 GB, free: 143.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/6.26, allocations: 385.2 kB / 3.523 GB, free: 143.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/6.26, allocations: 33.7 kB / 3.523 GB, free: 143.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/6.26, allocations: 280.1 kB / 3.524 GB, free: 142.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/6.26, allocations: 102.5 kB / 3.524 GB, free: 142.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/6.26, allocations: 7.938 kB / 3.524 GB, free: 142.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/6.26, allocations: 362.7 kB / 3.524 GB, free: 142.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/6.261, allocations: 131.9 kB / 3.524 GB, free: 142.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/6.261, allocations: 216 kB / 3.524 GB, free: 142 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/6.261, allocations: 163.8 kB / 3.525 GB, free: 141.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/6.261, allocations: 0 / 3.525 GB, free: 141.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006049/6.262, allocations: 408.8 kB / 3.525 GB, free: 141.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/6.262, allocations: 0.5255 MB / 3.525 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/6.262, allocations: 4 kB / 3.525 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/6.262, allocations: 4 kB / 3.525 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/6.262, allocations: 71.91 kB / 3.525 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/6.262, allocations: 4 kB / 3.525 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/6.263, allocations: 63.64 kB / 3.526 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/6.263, allocations: 16 kB / 3.526 GB, free: 140.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/6.263, allocations: 4 kB / 3.526 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005227/6.263, allocations: 343.9 kB / 3.526 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/6.263, allocations: 0 / 3.526 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.648e-06/6.263, allocations: 4 kB / 3.526 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/6.264, allocations: 75.89 kB / 3.526 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/6.264, allocations: 7.938 kB / 3.526 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/6.264, allocations: 63.8 kB / 3.526 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/6.264, allocations: 8 kB / 3.526 GB, free: 140.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.0002896/6.265, allocations: 289 kB / 3.526 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/6.265, allocations: 51.39 kB / 3.526 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007554/6.265, allocations: 435.2 kB / 3.527 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/6.265, allocations: 4 kB / 3.527 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/6.265, allocations: 3.984 kB / 3.527 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005657/6.266, allocations: 441.2 kB / 3.527 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/6.268, allocations: 1.149 MB / 3.528 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/6.268, allocations: 4 kB / 3.528 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/6.268, allocations: 55.91 kB / 3.528 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/6.268, allocations: 57.03 kB / 3.528 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/6.268, allocations: 8 kB / 3.528 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009561/6.269, allocations: 1.449 MB / 3.53 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/6.269, allocations: 7.938 kB / 3.53 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/6.27, allocations: 0.7832 MB / 3.531 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/6.27, allocations: 164.5 kB / 3.531 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/6.27, allocations: 8 kB / 3.531 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/6.271, allocations: 43.94 kB / 3.531 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/6.271, allocations: 35.86 kB / 3.531 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/6.271, allocations: 11.98 kB / 3.531 GB, free: 134.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003042/6.271, allocations: 306.9 kB / 3.531 GB, free: 134.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/6.271, allocations: 0 / 3.531 GB, free: 134.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001285/6.273, allocations: 415.3 kB / 3.532 GB, free: 134.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/6.274, allocations: 1.122 MB / 3.533 GB, free: 133 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008887/6.275, allocations: 0.4918 MB / 3.533 GB, free: 132.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/6.275, allocations: 0 / 3.533 GB, free: 132.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004392/6.275, allocations: 287.1 kB / 3.533 GB, free: 132.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/6.277, allocations: 300.8 kB / 3.534 GB, free: 131.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/6.278, allocations: 1.349 MB / 3.535 GB, free: 130.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/6.279, allocations: 0.9173 MB / 3.536 GB, free: 129.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005426/6.279, allocations: 156.4 kB / 3.536 GB, free: 129.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/6.279, allocations: 39.44 kB / 3.536 GB, free: 129.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.292e-06/6.279, allocations: 0 / 3.536 GB, free: 129.4 MB / 1.167 GB Notification: Performance of Templates: time 0.02893/6.308, allocations: 22.74 MB / 3.558 GB, free: 106.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches