Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.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.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.283/2.283, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001201/0.001201, allocations: 175.1 kB / 0.4902 GB, free: 2.25 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.59/1.59, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009645/0.0009643, allocations: 105.6 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.000458, allocations: 7.188 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3437, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.612/5.956, allocations: 1.93 GB / 3.159 GB, free: 22.58 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/5.956, allocations: 92.58 kB / 3.159 GB, free: 22.53 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.993/7.949, allocations: 489.8 MB / 3.637 GB, free: 1.91 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.564e-06/7.949, allocations: 4 kB / 3.637 GB, free: 1.906 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001407/7.949, allocations: 16 kB / 3.638 GB, free: 1.891 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.003779/7.953, allocations: 1.102 MB / 3.639 GB, free: 0.7383 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/7.953, allocations: 8.031 kB / 3.639 GB, free: 0.7305 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/7.955, allocations: 211.2 kB / 3.639 GB, free: 0.5234 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.942/8.897, allocations: 0.9037 MB / 3.64 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/8.897, allocations: 44.16 kB / 3.64 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/8.897, allocations: 55.31 kB / 3.64 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/8.898, allocations: 0.5973 MB / 3.64 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/8.898, allocations: 1.031 kB / 3.64 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/8.898, allocations: 21.97 kB / 3.64 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/8.899, allocations: 16.62 kB / 3.64 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/8.899, allocations: 481.3 kB / 3.641 GB, free: 305.9 MB / 1.167 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.003587/8.903, allocations: 2.406 MB / 3.643 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/8.904, allocations: 335.1 kB / 3.644 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/8.904, allocations: 306.5 kB / 3.644 GB, free: 304.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/8.904, allocations: 34.19 kB / 3.644 GB, free: 304.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.344e-06/8.904, allocations: 0 / 3.644 GB, free: 304.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.001414/8.906, allocations: 0.5397 MB / 3.644 GB, free: 304.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/8.906, allocations: 57.66 kB / 3.644 GB, free: 304.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/8.906, allocations: 439.6 kB / 3.645 GB, free: 304.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/8.906, allocations: 35.67 kB / 3.645 GB, free: 304.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/8.907, allocations: 315.6 kB / 3.645 GB, free: 304 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/8.907, allocations: 134.6 kB / 3.645 GB, free: 303.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/8.907, allocations: 12.47 kB / 3.645 GB, free: 303.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000158/8.907, allocations: 369.8 kB / 3.646 GB, free: 303.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/8.907, allocations: 142.8 kB / 3.646 GB, free: 303.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/8.908, allocations: 274.8 kB / 3.646 GB, free: 303.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/8.908, allocations: 185.9 kB / 3.646 GB, free: 303.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/8.908, allocations: 0 / 3.646 GB, free: 303.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009076/8.909, allocations: 489.4 kB / 3.647 GB, free: 303.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002972/8.909, allocations: 0.8766 MB / 3.648 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/8.909, allocations: 2.25 kB / 3.648 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/8.909, allocations: 7.062 kB / 3.648 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/8.91, allocations: 93.83 kB / 3.648 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003977/8.91, allocations: 0.6007 MB / 3.648 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007708/8.911, allocations: 76.94 kB / 3.648 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/8.911, allocations: 19.66 kB / 3.648 GB, free: 301.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/8.911, allocations: 7.641 kB / 3.648 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007441/8.912, allocations: 396.8 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/8.912, allocations: 2.562 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/8.912, allocations: 8 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/8.912, allocations: 87.55 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/8.912, allocations: 10.59 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/8.913, allocations: 72.64 kB / 3.649 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/8.913, allocations: 22.3 kB / 3.649 GB, free: 301.9 MB / 1.167 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 () * Number of clocked 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.0005531/8.914, allocations: 306.4 kB / 3.649 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/8.914, allocations: 60.16 kB / 3.649 GB, free: 301.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008858/8.915, allocations: 449.7 kB / 3.65 GB, free: 301.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/8.915, allocations: 3.25 kB / 3.65 GB, free: 301.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/8.915, allocations: 3.938 kB / 3.65 GB, free: 301.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007146/8.915, allocations: 0.6591 MB / 3.65 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/8.918, allocations: 1.2 MB / 3.652 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/8.918, allocations: 5 kB / 3.652 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/8.918, allocations: 88.84 kB / 3.652 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/8.918, allocations: 4.094 kB / 3.652 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/8.919, allocations: 11.67 kB / 3.652 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003099/8.919, allocations: 0.5968 MB / 3.652 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/8.919, allocations: 1.781 kB / 3.652 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/8.92, allocations: 0.7851 MB / 3.653 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/8.92, allocations: 178.9 kB / 3.653 GB, free: 299.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/8.921, allocations: 19.08 kB / 3.653 GB, free: 299.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/8.921, allocations: 42.09 kB / 3.653 GB, free: 299.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/8.921, allocations: 22.73 kB / 3.653 GB, free: 299.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/8.921, allocations: 15.66 kB / 3.653 GB, free: 299.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006881/8.922, allocations: 351.3 kB / 3.654 GB, free: 299.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/8.922, allocations: 1.344 kB / 3.654 GB, free: 299.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002404/8.924, allocations: 479.5 kB / 3.654 GB, free: 299.6 MB / 1.167 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 () * Number of clocked 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.003323/8.928, allocations: 1.386 MB / 3.655 GB, free: 299.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001663/8.929, allocations: 0.5721 MB / 3.656 GB, free: 299.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/8.929, allocations: 1.25 kB / 3.656 GB, free: 299.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003959/8.93, allocations: 184.8 kB / 3.656 GB, free: 299.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/8.932, allocations: 359.6 kB / 3.656 GB, free: 299.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/8.935, allocations: 1.674 MB / 3.658 GB, free: 298.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/8.936, allocations: 0.9573 MB / 3.659 GB, free: 297.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009814/8.937, allocations: 204.9 kB / 3.659 GB, free: 297.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/8.937, allocations: 47.8 kB / 3.659 GB, free: 297.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.623e-06/8.937, allocations: 1.125 kB / 3.659 GB, free: 297.8 MB / 1.167 GB Notification: Performance of Templates: time 0.05066/8.988, allocations: 27.51 MB / 3.686 GB, free: 297.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MassFraction.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches