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.496/2.496, allocations: 390.5 MB / 398 MB, free: 10.91 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.001067/0.001066, allocations: 184.8 kB / 491.2 MB, free: 1.566 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.659/1.659, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009251/0.000925, allocations: 95.44 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.128e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3373, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.698/6.035, allocations: 1.929 GB / 3.141 GB, free: 400.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/6.035, allocations: 91.94 kB / 3.142 GB, free: 400.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.87/7.905, allocations: 483.9 MB / 3.614 GB, free: 300.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.074e-06/7.905, allocations: 0 / 3.614 GB, free: 300.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001034/7.905, allocations: 18.92 kB / 3.614 GB, free: 300.1 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.00294/7.908, allocations: 0.9954 MB / 3.615 GB, free: 299.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/7.908, allocations: 7.75 kB / 3.615 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/7.91, allocations: 201.4 kB / 3.615 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/7.912, allocations: 0.9039 MB / 3.616 GB, free: 299.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/7.913, allocations: 19 kB / 3.616 GB, free: 299.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/7.913, allocations: 31.62 kB / 3.616 GB, free: 299.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/7.914, allocations: 440.1 kB / 3.617 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/7.915, allocations: 0.5204 MB / 3.617 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/7.915, allocations: 0 / 3.617 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/7.915, allocations: 0 / 3.617 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/7.915, allocations: 23.16 kB / 3.617 GB, free: 299.2 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.003768/7.919, allocations: 2.278 MB / 3.619 GB, free: 297.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/7.919, allocations: 328.3 kB / 3.62 GB, free: 297.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/7.92, allocations: 193 kB / 3.62 GB, free: 297.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/7.92, allocations: 303.5 kB / 3.62 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/7.92, allocations: 37.88 kB / 3.62 GB, free: 297.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/7.92, allocations: 0 / 3.62 GB, free: 297.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.00116/7.922, allocations: 421.2 kB / 3.621 GB, free: 297.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/7.922, allocations: 54.41 kB / 3.621 GB, free: 297.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/7.922, allocations: 358.6 kB / 3.621 GB, free: 297.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/7.922, allocations: 27.86 kB / 3.621 GB, free: 297.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/7.922, allocations: 322.8 kB / 3.621 GB, free: 297.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/7.922, allocations: 125.6 kB / 3.621 GB, free: 297.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/7.923, allocations: 0 / 3.621 GB, free: 297.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001473/7.923, allocations: 363 kB / 3.622 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/7.923, allocations: 138.4 kB / 3.622 GB, free: 296.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/7.923, allocations: 260.5 kB / 3.622 GB, free: 296.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/7.924, allocations: 209.6 kB / 3.622 GB, free: 296.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/7.924, allocations: 0 / 3.622 GB, free: 296.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007653/7.924, allocations: 454 kB / 3.623 GB, free: 296.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002531/7.925, allocations: 0.8765 MB / 3.624 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/7.925, allocations: 7 kB / 3.624 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/7.925, allocations: 3 kB / 3.624 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/7.925, allocations: 107.8 kB / 3.624 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003436/7.926, allocations: 0.6012 MB / 3.624 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/7.926, allocations: 62.39 kB / 3.624 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/7.926, allocations: 20.72 kB / 3.624 GB, free: 295.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/7.926, allocations: 3.625 kB / 3.624 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006243/7.927, allocations: 377 kB / 3.625 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/7.927, allocations: 7.328 kB / 3.625 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/7.927, allocations: 7.75 kB / 3.625 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/7.927, allocations: 89.72 kB / 3.625 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/7.927, allocations: 3.625 kB / 3.625 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/7.928, allocations: 63.38 kB / 3.625 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/7.928, allocations: 15.38 kB / 3.625 GB, free: 295.1 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.0001721/7.928, allocations: 119.5 kB / 3.625 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/7.928, allocations: 53.59 kB / 3.625 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/7.929, allocations: 420.7 kB / 3.626 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/7.929, allocations: 3.781 kB / 3.626 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/7.929, allocations: 0 / 3.626 GB, free: 294.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005272/7.93, allocations: 0.6427 MB / 3.626 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/7.931, allocations: 1.115 MB / 3.627 GB, free: 294.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/7.931, allocations: 96 / 3.627 GB, free: 294.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/7.932, allocations: 99.34 kB / 3.627 GB, free: 294.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/7.932, allocations: 3.812 kB / 3.627 GB, free: 294.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/7.932, allocations: 11.73 kB / 3.627 GB, free: 294.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002298/7.932, allocations: 0.5941 MB / 3.628 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/7.932, allocations: 3 kB / 3.628 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/7.933, allocations: 0.7688 MB / 3.629 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/7.933, allocations: 174.1 kB / 3.629 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/7.933, allocations: 6.469 kB / 3.629 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/7.934, allocations: 35.53 kB / 3.629 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/7.934, allocations: 31.48 kB / 3.629 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/7.934, allocations: 15.03 kB / 3.629 GB, free: 293 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002913/7.934, allocations: 286 kB / 3.629 GB, free: 293 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.152e-06/7.934, allocations: 0 / 3.629 GB, free: 293 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001318/7.935, allocations: 435.4 kB / 3.63 GB, free: 292.9 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.002365/7.938, allocations: 1.554 MB / 3.631 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001024/7.939, allocations: 0.5517 MB / 3.632 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/7.939, allocations: 0 / 3.632 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/7.939, allocations: 175.6 kB / 3.632 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/7.941, allocations: 307.6 kB / 3.632 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/7.942, allocations: 1.049 MB / 3.633 GB, free: 292.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/7.943, allocations: 0.9527 MB / 3.634 GB, free: 291.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008468/7.944, allocations: 231.4 kB / 3.634 GB, free: 291.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/7.944, allocations: 41.81 kB / 3.634 GB, free: 291.5 MB / 1.151 GB Notification: Performance of SimCode: time 3.01e-07/7.944, allocations: 3.75 kB / 3.634 GB, free: 291.5 MB / 1.151 GB Notification: Performance of Templates: time 0.03165/7.976, allocations: 18.28 MB / 3.652 GB, free: 290.2 MB / 1.151 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