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.457/2.457, allocations: 390.5 MB / 398 MB, free: 10.95 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.001215/0.001215, allocations: 184.8 kB / 491.2 MB, free: 1.547 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.717/1.717, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.00106/0.00106, allocations: 89.66 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.01e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4455, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.764/7.21, allocations: 1.922 GB / 3.134 GB, free: 343.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/7.21, allocations: 86.84 kB / 3.134 GB, free: 343.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.653/8.863, allocations: 369.5 MB / 3.495 GB, free: 319 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.432e-06/8.863, allocations: 0 / 3.495 GB, free: 319 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.042e-05/8.863, allocations: 14.97 kB / 3.495 GB, free: 319 MB / 1.151 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.002017/8.865, allocations: 0.8811 MB / 3.496 GB, free: 318.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/8.865, allocations: 9.156 kB / 3.496 GB, free: 318.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/8.866, allocations: 165.8 kB / 3.496 GB, free: 318.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/8.867, allocations: 0.5601 MB / 3.497 GB, free: 318.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/8.867, allocations: 21.44 kB / 3.497 GB, free: 318.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.719e-05/8.867, allocations: 26.61 kB / 3.497 GB, free: 318.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006882/8.868, allocations: 347.6 kB / 3.497 GB, free: 318.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/8.869, allocations: 371.8 kB / 3.497 GB, free: 318.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/8.869, allocations: 0 / 3.497 GB, free: 318.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/8.869, allocations: 1.188 kB / 3.497 GB, free: 318.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/8.869, allocations: 15.88 kB / 3.497 GB, free: 318.3 MB / 1.151 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.003146/8.872, allocations: 1.924 MB / 3.499 GB, free: 317.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/8.873, allocations: 258.3 kB / 3.499 GB, free: 317.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/8.873, allocations: 164.4 kB / 3.5 GB, free: 317.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/8.873, allocations: 190.3 kB / 3.5 GB, free: 317.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/8.873, allocations: 42.31 kB / 3.5 GB, free: 317.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 2.295e-06/8.873, allocations: 1 kB / 3.5 GB, free: 317.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.001155/8.875, allocations: 366.7 kB / 3.5 GB, free: 317.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/8.875, allocations: 54.75 kB / 3.5 GB, free: 317 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/8.875, allocations: 338.1 kB / 3.501 GB, free: 316.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/8.875, allocations: 28.66 kB / 3.501 GB, free: 316.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/8.875, allocations: 278 kB / 3.501 GB, free: 316.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/8.875, allocations: 104.4 kB / 3.501 GB, free: 316.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/8.875, allocations: 0 / 3.501 GB, free: 316.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001752/8.876, allocations: 356.4 kB / 3.501 GB, free: 316.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/8.876, allocations: 106.6 kB / 3.501 GB, free: 316.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/8.876, allocations: 188.2 kB / 3.502 GB, free: 316.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/8.876, allocations: 133 kB / 3.502 GB, free: 316.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/8.876, allocations: 4.625 kB / 3.502 GB, free: 316.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007233/8.877, allocations: 350.7 kB / 3.502 GB, free: 316.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/8.877, allocations: 0.5278 MB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/8.877, allocations: 2.062 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/8.878, allocations: 2.594 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/8.878, allocations: 71.89 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/8.878, allocations: 5.75 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/8.879, allocations: 50.84 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/8.879, allocations: 20.98 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/8.879, allocations: 4.156 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005195/8.879, allocations: 263.2 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/8.879, allocations: 2.703 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/8.879, allocations: 3.25 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/8.88, allocations: 73.72 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/8.88, allocations: 2.219 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/8.88, allocations: 57.75 kB / 3.503 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/8.88, allocations: 15.61 kB / 3.503 GB, free: 315.7 MB / 1.151 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 () * 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.0001309/8.88, allocations: 116.9 kB / 3.503 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/8.88, allocations: 47.39 kB / 3.503 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008488/8.881, allocations: 366.2 kB / 3.504 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/8.881, allocations: 2.938 kB / 3.504 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/8.881, allocations: 1.375 kB / 3.504 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005484/8.882, allocations: 397.3 kB / 3.504 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/8.884, allocations: 1.009 MB / 3.505 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/8.884, allocations: 1.312 kB / 3.505 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/8.884, allocations: 66.62 kB / 3.505 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002413/8.884, allocations: 46.69 kB / 3.505 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/8.884, allocations: 8.141 kB / 3.505 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/8.886, allocations: 1.405 MB / 3.506 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/8.886, allocations: 7.078 kB / 3.506 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/8.887, allocations: 0.7014 MB / 3.507 GB, free: 313.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/8.887, allocations: 161.2 kB / 3.507 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/8.887, allocations: 3.922 kB / 3.507 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/8.888, allocations: 33.89 kB / 3.507 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/8.888, allocations: 30.75 kB / 3.507 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/8.888, allocations: 14.52 kB / 3.507 GB, free: 313.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003786/8.888, allocations: 258.5 kB / 3.508 GB, free: 313.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/8.888, allocations: 0 / 3.508 GB, free: 313.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001973/8.89, allocations: 383.4 kB / 3.508 GB, free: 313.2 MB / 1.151 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 () * 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.002468/8.893, allocations: 1.263 MB / 3.509 GB, free: 312.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001001/8.894, allocations: 443.9 kB / 3.51 GB, free: 312.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/8.894, allocations: 0 / 3.51 GB, free: 312.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004635/8.894, allocations: 260.1 kB / 3.51 GB, free: 312.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/8.896, allocations: 277.5 kB / 3.51 GB, free: 312.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/8.898, allocations: 0.797 MB / 3.511 GB, free: 312.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/8.898, allocations: 0.9192 MB / 3.512 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008248/8.899, allocations: 190.8 kB / 3.512 GB, free: 311.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/8.899, allocations: 34.81 kB / 3.512 GB, free: 311.8 MB / 1.151 GB Notification: Performance of SimCode: time 8.61e-07/8.899, allocations: 1.094 kB / 3.512 GB, free: 311.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03757/8.937, allocations: 15.57 MB / 3.527 GB, free: 311.5 MB / 1.151 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