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.583/2.583, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001279/0.001279, allocations: 182.9 kB / 496.1 MB, free: 12.85 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.783/1.783, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.001098/0.001098, allocations: 87.97 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.474e-05/5.477e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4142, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.748/7.163, allocations: 1.922 GB / 3.141 GB, free: 336.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/7.163, allocations: 86.62 kB / 3.141 GB, free: 336.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.669/8.832, allocations: 373.8 MB / 3.506 GB, free: 326.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.373e-06/8.832, allocations: 2.719 kB / 3.506 GB, free: 326.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.103e-05/8.833, allocations: 21.19 kB / 3.506 GB, free: 326.7 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.001789/8.834, allocations: 0.875 MB / 3.507 GB, free: 326.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/8.834, allocations: 12.91 kB / 3.507 GB, free: 326.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/8.836, allocations: 171.4 kB / 3.507 GB, free: 326.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/8.837, allocations: 0.5526 MB / 3.508 GB, free: 326 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/8.837, allocations: 34.69 kB / 3.508 GB, free: 326 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.4e-05/8.837, allocations: 46.36 kB / 3.508 GB, free: 326 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/8.838, allocations: 422.8 kB / 3.508 GB, free: 325.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/8.838, allocations: 2.531 kB / 3.508 GB, free: 325.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/8.838, allocations: 22.19 kB / 3.508 GB, free: 325.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/8.838, allocations: 14.59 kB / 3.508 GB, free: 325.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000662/8.838, allocations: 368.3 kB / 3.509 GB, free: 325.9 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.002769/8.841, allocations: 2.02 MB / 3.511 GB, free: 325 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/8.842, allocations: 266.3 kB / 3.511 GB, free: 325 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/8.842, allocations: 177.6 kB / 3.511 GB, free: 324.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/8.842, allocations: 195.5 kB / 3.511 GB, free: 324.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/8.842, allocations: 35.47 kB / 3.511 GB, free: 324.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 3.747e-06/8.842, allocations: 0 / 3.511 GB, free: 324.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.001027/8.843, allocations: 389.8 kB / 3.512 GB, free: 324.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/8.843, allocations: 54.78 kB / 3.512 GB, free: 324.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/8.844, allocations: 381.4 kB / 3.512 GB, free: 324.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/8.844, allocations: 40.08 kB / 3.512 GB, free: 324.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/8.844, allocations: 277.5 kB / 3.512 GB, free: 324.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/8.844, allocations: 108 kB / 3.513 GB, free: 324.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/8.844, allocations: 5.094 kB / 3.513 GB, free: 324.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001038/8.844, allocations: 365.9 kB / 3.513 GB, free: 324 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/8.844, allocations: 107.6 kB / 3.513 GB, free: 324 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/8.845, allocations: 197.1 kB / 3.513 GB, free: 323.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/8.845, allocations: 142.4 kB / 3.513 GB, free: 323.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/8.845, allocations: 1.438 kB / 3.513 GB, free: 323.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006177/8.846, allocations: 370.9 kB / 3.514 GB, free: 323.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/8.846, allocations: 0.5308 MB / 3.514 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/8.846, allocations: 2.25 kB / 3.514 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/8.846, allocations: 3.312 kB / 3.514 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/8.846, allocations: 69.91 kB / 3.514 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/8.846, allocations: 5.688 kB / 3.514 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/8.847, allocations: 65.84 kB / 3.514 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/8.847, allocations: 10.31 kB / 3.514 GB, free: 323.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/8.847, allocations: 4 kB / 3.514 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000503/8.847, allocations: 305.1 kB / 3.515 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/8.847, allocations: 5.719 kB / 3.515 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.393e-06/8.847, allocations: 7.078 kB / 3.515 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/8.848, allocations: 68.66 kB / 3.515 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/8.848, allocations: 5.125 kB / 3.515 GB, free: 323.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/8.848, allocations: 62.45 kB / 3.515 GB, free: 323.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/8.848, allocations: 19.19 kB / 3.515 GB, free: 323.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 () * 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.0001089/8.848, allocations: 119.5 kB / 3.515 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/8.848, allocations: 51.62 kB / 3.515 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/8.849, allocations: 387.1 kB / 3.515 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/8.849, allocations: 3.25 kB / 3.515 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/8.849, allocations: 0 / 3.515 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005823/8.85, allocations: 419.1 kB / 3.516 GB, free: 322.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/8.852, allocations: 1.102 MB / 3.517 GB, free: 322.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/8.852, allocations: 1.25 kB / 3.517 GB, free: 322.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/8.852, allocations: 68.08 kB / 3.517 GB, free: 322.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/8.852, allocations: 45.17 kB / 3.517 GB, free: 322.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/8.852, allocations: 11.84 kB / 3.517 GB, free: 322.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/8.854, allocations: 1.426 MB / 3.518 GB, free: 321.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/8.854, allocations: 4.969 kB / 3.518 GB, free: 321.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/8.855, allocations: 0.737 MB / 3.519 GB, free: 320.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/8.855, allocations: 157.7 kB / 3.519 GB, free: 320.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/8.855, allocations: 14.88 kB / 3.519 GB, free: 320.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/8.855, allocations: 39.98 kB / 3.519 GB, free: 320.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/8.856, allocations: 35.7 kB / 3.519 GB, free: 320.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/8.856, allocations: 13.19 kB / 3.519 GB, free: 320.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004022/8.856, allocations: 307.6 kB / 3.52 GB, free: 320.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/8.856, allocations: 1.031 kB / 3.52 GB, free: 320.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001716/8.858, allocations: 411.9 kB / 3.52 GB, free: 320.7 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 () * 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.00195/8.86, allocations: 1.118 MB / 3.521 GB, free: 320.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000973/8.861, allocations: 465.9 kB / 3.522 GB, free: 320.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/8.861, allocations: 0 / 3.522 GB, free: 320.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004351/8.861, allocations: 279.8 kB / 3.522 GB, free: 320.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/8.863, allocations: 302.1 kB / 3.522 GB, free: 320.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/8.864, allocations: 0.8247 MB / 3.523 GB, free: 320 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/8.865, allocations: 0.9126 MB / 3.524 GB, free: 319.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008546/8.866, allocations: 203.9 kB / 3.524 GB, free: 319.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/8.866, allocations: 36.97 kB / 3.524 GB, free: 319.3 MB / 1.167 GB Notification: Performance of SimCode: time 9.62e-07/8.866, allocations: 0 / 3.524 GB, free: 319.3 MB / 1.167 GB Notification: Performance of Templates: time 0.04202/8.908, allocations: 26.64 MB / 3.55 GB, free: 318.6 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