Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.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.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 249.5 MB / 257 MB, free: 6.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 184.8 kB / 316.3 MB, free: 3.246 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.621/1.621, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008303/0.0008302, allocations: 92.52 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.617e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2188, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.566/5.785, allocations: 2.202 GB / 3.087 GB, free: 206 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/5.786, allocations: 86.73 kB / 3.087 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.417/7.203, allocations: 462.8 MB / 3.539 GB, free: 80.46 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.224e-06/7.203, allocations: 0 / 3.539 GB, free: 80.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.298e-05/7.203, allocations: 16 kB / 3.539 GB, free: 80.45 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002604/7.205, allocations: 0.9854 MB / 3.54 GB, free: 79.41 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/7.205, allocations: 12.5 kB / 3.54 GB, free: 79.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/7.207, allocations: 203.2 kB / 3.54 GB, free: 79.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/7.209, allocations: 0.9095 MB / 3.541 GB, free: 78.25 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/7.209, allocations: 20 kB / 3.541 GB, free: 78.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/7.209, allocations: 35.94 kB / 3.541 GB, free: 78.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007037/7.21, allocations: 438.5 kB / 3.542 GB, free: 77.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007324/7.21, allocations: 0.5127 MB / 3.542 GB, free: 77.24 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/7.21, allocations: 0 / 3.542 GB, free: 77.24 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/7.21, allocations: 0 / 3.542 GB, free: 77.24 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/7.21, allocations: 21.31 kB / 3.542 GB, free: 77.22 MB / 0.8698 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.002292/7.213, allocations: 2.293 MB / 3.544 GB, free: 74.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/7.213, allocations: 295 kB / 3.545 GB, free: 74.43 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/7.213, allocations: 188.7 kB / 3.545 GB, free: 74.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004583/7.214, allocations: 303.3 kB / 3.545 GB, free: 73.89 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/7.214, allocations: 42.5 kB / 3.545 GB, free: 73.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/7.214, allocations: 3.984 kB / 3.545 GB, free: 73.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.0009075/7.215, allocations: 421.1 kB / 3.546 GB, free: 73.42 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/7.215, allocations: 55.41 kB / 3.546 GB, free: 73.36 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/7.215, allocations: 357.2 kB / 3.546 GB, free: 73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/7.215, allocations: 25.7 kB / 3.546 GB, free: 72.97 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/7.215, allocations: 320.8 kB / 3.546 GB, free: 72.65 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/7.215, allocations: 126.1 kB / 3.546 GB, free: 72.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/7.216, allocations: 0 / 3.546 GB, free: 72.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/7.216, allocations: 362.8 kB / 3.547 GB, free: 72.16 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/7.216, allocations: 124.8 kB / 3.547 GB, free: 72.04 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/7.216, allocations: 262.3 kB / 3.547 GB, free: 71.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/7.216, allocations: 201.5 kB / 3.547 GB, free: 71.53 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/7.216, allocations: 4 kB / 3.547 GB, free: 71.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005961/7.217, allocations: 450.7 kB / 3.548 GB, free: 71.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/7.217, allocations: 0.8809 MB / 3.549 GB, free: 70.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/7.217, allocations: 4 kB / 3.549 GB, free: 70.13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/7.217, allocations: 4 kB / 3.549 GB, free: 70.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/7.218, allocations: 99.88 kB / 3.549 GB, free: 70.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002891/7.218, allocations: 0.6054 MB / 3.549 GB, free: 69.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/7.219, allocations: 59.67 kB / 3.549 GB, free: 69.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/7.219, allocations: 20 kB / 3.549 GB, free: 69.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/7.219, allocations: 4.094 kB / 3.549 GB, free: 69.32 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005386/7.219, allocations: 372.1 kB / 3.55 GB, free: 68.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/7.219, allocations: 4.031 kB / 3.55 GB, free: 68.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/7.219, allocations: 4 kB / 3.55 GB, free: 68.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/7.22, allocations: 91.89 kB / 3.55 GB, free: 68.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/7.22, allocations: 7.984 kB / 3.55 GB, free: 68.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/7.22, allocations: 47.72 kB / 3.55 GB, free: 68.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/7.22, allocations: 19.98 kB / 3.55 GB, free: 68.78 MB / 0.8698 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.000116/7.22, allocations: 120.8 kB / 3.55 GB, free: 68.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/7.22, allocations: 55.34 kB / 3.55 GB, free: 68.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006296/7.221, allocations: 407.4 kB / 3.55 GB, free: 68.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/7.221, allocations: 8 kB / 3.55 GB, free: 68.19 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/7.221, allocations: 3.938 kB / 3.55 GB, free: 68.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004696/7.221, allocations: 0.6445 MB / 3.551 GB, free: 67.45 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/7.223, allocations: 1.107 MB / 3.552 GB, free: 66.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/7.223, allocations: 4 kB / 3.552 GB, free: 66.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/7.223, allocations: 91.89 kB / 3.552 GB, free: 66.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/7.223, allocations: 0 / 3.552 GB, free: 66.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/7.223, allocations: 8 kB / 3.552 GB, free: 66.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001923/7.223, allocations: 0.5979 MB / 3.553 GB, free: 65.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/7.223, allocations: 4 kB / 3.553 GB, free: 65.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/7.224, allocations: 0.7787 MB / 3.554 GB, free: 64.69 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/7.224, allocations: 180.3 kB / 3.554 GB, free: 64.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/7.225, allocations: 4 kB / 3.554 GB, free: 64.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/7.225, allocations: 43.8 kB / 3.554 GB, free: 64.45 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/7.225, allocations: 31.91 kB / 3.554 GB, free: 64.42 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/7.225, allocations: 8 kB / 3.554 GB, free: 64.41 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000269/7.225, allocations: 282.9 kB / 3.554 GB, free: 64.14 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.225, allocations: 0 / 3.554 GB, free: 64.14 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001251/7.227, allocations: 435 kB / 3.555 GB, free: 63.71 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.001958/7.229, allocations: 1.535 MB / 3.556 GB, free: 62.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009526/7.229, allocations: 0.5499 MB / 3.557 GB, free: 61.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/7.23, allocations: 4.062 kB / 3.557 GB, free: 61.56 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/7.23, allocations: 168 kB / 3.557 GB, free: 61.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/7.231, allocations: 314.6 kB / 3.557 GB, free: 61.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/7.233, allocations: 1.043 MB / 3.558 GB, free: 60.01 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/7.233, allocations: 0.9615 MB / 3.559 GB, free: 59.02 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007814/7.234, allocations: 232.5 kB / 3.559 GB, free: 58.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/7.234, allocations: 43.44 kB / 3.559 GB, free: 58.75 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/7.234, allocations: 0 / 3.559 GB, free: 58.75 MB / 0.8698 GB Notification: Performance of Templates: time 0.02603/7.26, allocations: 18.34 MB / 3.577 GB, free: 40.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_MassFraction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches