Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.006/2.006, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001007/0.001007, allocations: 168.5 kB / 487.4 MB, free: 5.059 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.333/1.333, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008431/0.000843, allocations: 87.91 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.818e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2318, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.872/5.104, allocations: 1.928 GB / 3.134 GB, free: 350.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/5.105, allocations: 87.64 kB / 3.134 GB, free: 350.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.517/6.622, allocations: 483.9 MB / 3.607 GB, free: 309 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.543e-06/6.622, allocations: 0 / 3.607 GB, free: 309 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.315e-05/6.622, allocations: 28.7 kB / 3.607 GB, free: 309 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002606/6.625, allocations: 0.985 MB / 3.608 GB, free: 308.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/6.625, allocations: 15.61 kB / 3.608 GB, free: 308.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/6.626, allocations: 201.7 kB / 3.608 GB, free: 308.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/6.628, allocations: 0.908 MB / 3.609 GB, free: 308.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/6.629, allocations: 21.34 kB / 3.609 GB, free: 308.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/6.629, allocations: 33.75 kB / 3.609 GB, free: 308.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008351/6.629, allocations: 439.2 kB / 3.61 GB, free: 308.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/6.63, allocations: 0.5178 MB / 3.61 GB, free: 308.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/6.63, allocations: 0 / 3.61 GB, free: 308.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/6.631, allocations: 0 / 3.61 GB, free: 308.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/6.631, allocations: 22.72 kB / 3.61 GB, free: 308.1 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.002951/6.633, allocations: 2.279 MB / 3.612 GB, free: 306.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/6.634, allocations: 319.2 kB / 3.613 GB, free: 306.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/6.634, allocations: 199.1 kB / 3.613 GB, free: 306.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004733/6.635, allocations: 300.7 kB / 3.613 GB, free: 306.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/6.635, allocations: 37.09 kB / 3.613 GB, free: 306.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.074e-06/6.635, allocations: 0 / 3.613 GB, free: 306.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.00102/6.636, allocations: 421.5 kB / 3.613 GB, free: 306.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/6.636, allocations: 59.19 kB / 3.614 GB, free: 306.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/6.636, allocations: 359.1 kB / 3.614 GB, free: 306.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/6.636, allocations: 25.7 kB / 3.614 GB, free: 306.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/6.637, allocations: 322.5 kB / 3.614 GB, free: 305.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/6.637, allocations: 131.7 kB / 3.614 GB, free: 305.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.785e-05/6.637, allocations: 4.344 kB / 3.614 GB, free: 305.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001012/6.637, allocations: 359.3 kB / 3.615 GB, free: 305.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/6.637, allocations: 132.5 kB / 3.615 GB, free: 305.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/6.637, allocations: 258.3 kB / 3.615 GB, free: 305.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/6.638, allocations: 205.9 kB / 3.615 GB, free: 305.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/6.638, allocations: 0 / 3.615 GB, free: 305.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006977/6.638, allocations: 469.5 kB / 3.616 GB, free: 304.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/6.639, allocations: 0.8767 MB / 3.617 GB, free: 304 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/6.639, allocations: 3.219 kB / 3.617 GB, free: 304 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/6.639, allocations: 3.906 kB / 3.617 GB, free: 304 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/6.639, allocations: 106.5 kB / 3.617 GB, free: 304 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003226/6.64, allocations: 0.5972 MB / 3.617 GB, free: 303.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/6.64, allocations: 59.16 kB / 3.617 GB, free: 303.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/6.64, allocations: 23.31 kB / 3.617 GB, free: 303.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/6.64, allocations: 6.062 kB / 3.617 GB, free: 303.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005858/6.641, allocations: 375.5 kB / 3.618 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/6.641, allocations: 3.906 kB / 3.618 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/6.641, allocations: 3.906 kB / 3.618 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/6.641, allocations: 85.78 kB / 3.618 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/6.641, allocations: 9 kB / 3.618 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/6.642, allocations: 53.53 kB / 3.618 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/6.642, allocations: 28.75 kB / 3.618 GB, free: 303.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/6.642, allocations: 112.3 kB / 3.618 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/6.642, allocations: 61.97 kB / 3.618 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007051/6.643, allocations: 412.8 kB / 3.618 GB, free: 303 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/6.643, allocations: 3.781 kB / 3.618 GB, free: 303 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/6.643, allocations: 4 kB / 3.618 GB, free: 303 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005376/6.643, allocations: 0.6544 MB / 3.619 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/6.645, allocations: 1.113 MB / 3.62 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/6.645, allocations: 11.03 kB / 3.62 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/6.646, allocations: 87.7 kB / 3.62 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/6.646, allocations: 3.875 kB / 3.62 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/6.646, allocations: 10.73 kB / 3.62 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002092/6.646, allocations: 0.5903 MB / 3.621 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/6.646, allocations: 6.688 kB / 3.621 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008048/6.647, allocations: 0.7611 MB / 3.622 GB, free: 300.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/6.647, allocations: 169.9 kB / 3.622 GB, free: 300.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/6.647, allocations: 3.562 kB / 3.622 GB, free: 300.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/6.648, allocations: 39.83 kB / 3.622 GB, free: 300.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/6.648, allocations: 30.88 kB / 3.622 GB, free: 300.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/6.648, allocations: 14.19 kB / 3.622 GB, free: 300.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003015/6.648, allocations: 285 kB / 3.622 GB, free: 300.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/6.648, allocations: 0 / 3.622 GB, free: 300.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001441/6.649, allocations: 432.8 kB / 3.623 GB, free: 300.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002603/6.652, allocations: 1.548 MB / 3.624 GB, free: 299.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009723/6.653, allocations: 0.5468 MB / 3.625 GB, free: 299.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/6.653, allocations: 7.297 kB / 3.625 GB, free: 299.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002423/6.653, allocations: 173.8 kB / 3.625 GB, free: 299.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/6.655, allocations: 308.8 kB / 3.625 GB, free: 299.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/6.656, allocations: 1.048 MB / 3.626 GB, free: 299.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/6.657, allocations: 0.9542 MB / 3.627 GB, free: 298.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008304/6.658, allocations: 234.4 kB / 3.627 GB, free: 298.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/6.658, allocations: 37.88 kB / 3.627 GB, free: 298.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.2e-07/6.658, allocations: 0 / 3.627 GB, free: 298.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02813/6.686, allocations: 18.31 MB / 3.645 GB, free: 294.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches