Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 181.5 kB / 326.5 MB, free: 2.25 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.943/1.943, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009911/0.0009908, allocations: 78.38 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003411, allocations: 10.66 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2567, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.696/4.952, allocations: 2.194 GB / 3.094 GB, free: 25.28 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/4.953, allocations: 92.7 kB / 3.094 GB, free: 25.19 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.101/6.053, allocations: 358.4 MB / 3.444 GB, free: 24.78 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.894e-06/6.054, allocations: 3.938 kB / 3.445 GB, free: 24.78 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.032e-05/6.054, allocations: 19.98 kB / 3.445 GB, free: 24.76 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002239/6.056, allocations: 0.9667 MB / 3.445 GB, free: 23.74 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/6.056, allocations: 8.031 kB / 3.445 GB, free: 23.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/6.057, allocations: 171 kB / 3.446 GB, free: 23.57 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/6.058, allocations: 0.5599 MB / 3.446 GB, free: 22.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/6.058, allocations: 33 kB / 3.446 GB, free: 22.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/6.058, allocations: 51.98 kB / 3.446 GB, free: 22.88 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007926/6.059, allocations: 450.4 kB / 3.447 GB, free: 22.44 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/6.059, allocations: 4 kB / 3.447 GB, free: 22.43 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/6.059, allocations: 23.95 kB / 3.447 GB, free: 22.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/6.059, allocations: 13 kB / 3.447 GB, free: 22.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/6.06, allocations: 407.8 kB / 3.447 GB, free: 22 MB / 0.8855 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.002741/6.063, allocations: 2.026 MB / 3.449 GB, free: 19.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/6.063, allocations: 278.5 kB / 3.449 GB, free: 19.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/6.064, allocations: 194.2 kB / 3.45 GB, free: 19.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/6.064, allocations: 38.5 kB / 3.45 GB, free: 19.24 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 3.366e-06/6.064, allocations: 0 / 3.45 GB, free: 19.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.001481/6.065, allocations: 0.6333 MB / 3.45 GB, free: 18.58 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/6.065, allocations: 55.41 kB / 3.45 GB, free: 18.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/6.066, allocations: 393.1 kB / 3.451 GB, free: 18.12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/6.066, allocations: 37.7 kB / 3.451 GB, free: 18.08 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/6.066, allocations: 276.1 kB / 3.451 GB, free: 17.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/6.066, allocations: 102.5 kB / 3.451 GB, free: 17.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/6.066, allocations: 8 kB / 3.451 GB, free: 17.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/6.066, allocations: 362.7 kB / 3.451 GB, free: 17.33 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/6.066, allocations: 127.9 kB / 3.452 GB, free: 17.21 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/6.066, allocations: 209.3 kB / 3.452 GB, free: 16.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/6.067, allocations: 163.9 kB / 3.452 GB, free: 16.81 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/6.067, allocations: 0 / 3.452 GB, free: 16.81 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006028/6.067, allocations: 405.5 kB / 3.452 GB, free: 16.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/6.068, allocations: 0.5254 MB / 3.453 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/6.068, allocations: 0 / 3.453 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/6.068, allocations: 4 kB / 3.453 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/6.068, allocations: 75.89 kB / 3.453 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/6.068, allocations: 4 kB / 3.453 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/6.068, allocations: 55.66 kB / 3.453 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/6.069, allocations: 19.98 kB / 3.453 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/6.069, allocations: 7.953 kB / 3.453 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005127/6.069, allocations: 327.7 kB / 3.453 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/6.069, allocations: 0 / 3.453 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/6.069, allocations: 4 kB / 3.453 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/6.069, allocations: 83.98 kB / 3.453 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/6.069, allocations: 3.938 kB / 3.453 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/6.07, allocations: 59.7 kB / 3.453 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/6.07, allocations: 20.06 kB / 3.453 GB, free: 15.19 MB / 0.8855 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.0002714/6.07, allocations: 277 kB / 3.454 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.049e-05/6.07, allocations: 59.33 kB / 3.454 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007328/6.071, allocations: 419.4 kB / 3.454 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/6.071, allocations: 7.938 kB / 3.454 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/6.071, allocations: 0 / 3.454 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005514/6.072, allocations: 441.2 kB / 3.455 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/6.073, allocations: 1.148 MB / 3.456 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/6.073, allocations: 4 kB / 3.456 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/6.074, allocations: 56.12 kB / 3.456 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/6.074, allocations: 56.81 kB / 3.456 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/6.074, allocations: 8 kB / 3.456 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009483/6.075, allocations: 1.445 MB / 3.457 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/6.075, allocations: 4.031 kB / 3.457 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/6.076, allocations: 0.7915 MB / 3.458 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/6.076, allocations: 172.5 kB / 3.458 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/6.076, allocations: 11.98 kB / 3.458 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/6.077, allocations: 36.16 kB / 3.458 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/6.077, allocations: 35.86 kB / 3.458 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/6.077, allocations: 12 kB / 3.458 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003222/6.077, allocations: 314.9 kB / 3.459 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/6.077, allocations: 0 / 3.459 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001415/6.079, allocations: 411.3 kB / 3.459 GB, free: 9.148 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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.001642/6.08, allocations: 1.121 MB / 3.46 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000933/6.081, allocations: 0.4885 MB / 3.46 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/6.081, allocations: 0 / 3.46 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005016/6.082, allocations: 291.3 kB / 3.461 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/6.083, allocations: 305.3 kB / 3.461 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/6.085, allocations: 1.352 MB / 3.462 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/6.085, allocations: 0.9134 MB / 3.463 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006046/6.086, allocations: 164.4 kB / 3.463 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/6.086, allocations: 39.42 kB / 3.463 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of SimCode: time 2.224e-06/6.086, allocations: 4 kB / 3.463 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of Templates: time 0.4703/6.556, allocations: 22.85 MB / 3.486 GB, free: 231.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches