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.41/2.41, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001159/0.001159, allocations: 176.4 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.697/1.697, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.001122/0.001121, allocations: 83.95 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.138e-05/4.177e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3634, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.394/5.758, allocations: 1.93 GB / 3.149 GB, free: 329 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/5.758, allocations: 91.25 kB / 3.149 GB, free: 329 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.66/7.418, allocations: 489.4 MB / 3.627 GB, free: 300.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.212e-06/7.418, allocations: 4 kB / 3.627 GB, free: 300.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.9e-05/7.418, allocations: 21.97 kB / 3.627 GB, free: 300.6 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.002306/7.42, allocations: 0.9878 MB / 3.628 GB, free: 299.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/7.421, allocations: 9.156 kB / 3.628 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/7.422, allocations: 208.3 kB / 3.628 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/7.424, allocations: 0.9063 MB / 3.629 GB, free: 299.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/7.424, allocations: 48.27 kB / 3.629 GB, free: 299.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/7.424, allocations: 59.22 kB / 3.629 GB, free: 299.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/7.425, allocations: 0.5889 MB / 3.629 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/7.425, allocations: 0 / 3.629 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/7.426, allocations: 19.41 kB / 3.629 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/7.426, allocations: 19.59 kB / 3.629 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007257/7.426, allocations: 461.5 kB / 3.63 GB, free: 298.5 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.002841/7.429, allocations: 2.408 MB / 3.632 GB, free: 296.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/7.43, allocations: 326.8 kB / 3.632 GB, free: 296.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/7.43, allocations: 205.3 kB / 3.633 GB, free: 296.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/7.431, allocations: 305.1 kB / 3.633 GB, free: 295.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/7.431, allocations: 33.97 kB / 3.633 GB, free: 295.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.545e-06/7.431, allocations: 0 / 3.633 GB, free: 295.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.0009544/7.432, allocations: 419.9 kB / 3.633 GB, free: 295.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/7.432, allocations: 59.06 kB / 3.633 GB, free: 295.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/7.432, allocations: 438.1 kB / 3.634 GB, free: 295.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/7.432, allocations: 37.64 kB / 3.634 GB, free: 295.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/7.432, allocations: 318 kB / 3.634 GB, free: 295 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/7.432, allocations: 128.6 kB / 3.634 GB, free: 294.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/7.432, allocations: 11.91 kB / 3.634 GB, free: 294.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001678/7.433, allocations: 362.4 kB / 3.635 GB, free: 294.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/7.433, allocations: 148.1 kB / 3.635 GB, free: 294.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/7.433, allocations: 267.4 kB / 3.635 GB, free: 294.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/7.433, allocations: 188.6 kB / 3.635 GB, free: 294.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/7.434, allocations: 0 / 3.635 GB, free: 294.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006925/7.434, allocations: 475.1 kB / 3.636 GB, free: 293.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/7.434, allocations: 0.8859 MB / 3.637 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/7.434, allocations: 3.719 kB / 3.637 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/7.434, allocations: 3.531 kB / 3.637 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/7.435, allocations: 97.7 kB / 3.637 GB, free: 292.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003005/7.435, allocations: 0.5957 MB / 3.637 GB, free: 292.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/7.436, allocations: 80.83 kB / 3.637 GB, free: 292.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/7.436, allocations: 16.59 kB / 3.637 GB, free: 292.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/7.436, allocations: 7.969 kB / 3.637 GB, free: 292.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000534/7.437, allocations: 388.5 kB / 3.638 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/7.437, allocations: 4.125 kB / 3.638 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/7.437, allocations: 7.75 kB / 3.638 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/7.437, allocations: 93.92 kB / 3.638 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/7.437, allocations: 3.969 kB / 3.638 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/7.438, allocations: 78.84 kB / 3.638 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/7.438, allocations: 15.62 kB / 3.638 GB, free: 292 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 () * 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.0001111/7.438, allocations: 132.5 kB / 3.638 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.069e-05/7.438, allocations: 54.41 kB / 3.638 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000642/7.438, allocations: 441.4 kB / 3.638 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/7.438, allocations: 3.969 kB / 3.638 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/7.438, allocations: 0 / 3.638 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004886/7.439, allocations: 0.6568 MB / 3.639 GB, free: 291.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/7.441, allocations: 1.2 MB / 3.64 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/7.441, allocations: 6.625 kB / 3.64 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/7.441, allocations: 95.33 kB / 3.64 GB, free: 290.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/7.441, allocations: 2.5 kB / 3.64 GB, free: 290.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/7.441, allocations: 13.55 kB / 3.64 GB, free: 290.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002175/7.441, allocations: 0.591 MB / 3.641 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/7.441, allocations: 11.31 kB / 3.641 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/7.442, allocations: 0.7828 MB / 3.642 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/7.442, allocations: 179.4 kB / 3.642 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.664e-05/7.442, allocations: 7.812 kB / 3.642 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/7.443, allocations: 46.17 kB / 3.642 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/7.443, allocations: 23.47 kB / 3.642 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/7.443, allocations: 15.78 kB / 3.642 GB, free: 288.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003736/7.443, allocations: 345.2 kB / 3.642 GB, free: 288.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/7.443, allocations: 0 / 3.642 GB, free: 288.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001709/7.445, allocations: 486.7 kB / 3.643 GB, free: 288.4 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 () * 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.002229/7.447, allocations: 1.374 MB / 3.644 GB, free: 287.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001233/7.449, allocations: 0.5838 MB / 3.645 GB, free: 287.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/7.449, allocations: 0 / 3.645 GB, free: 287.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/7.449, allocations: 186.5 kB / 3.645 GB, free: 287.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/7.451, allocations: 365.7 kB / 3.645 GB, free: 287.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/7.453, allocations: 1.072 MB / 3.646 GB, free: 286.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/7.453, allocations: 0.9622 MB / 3.647 GB, free: 285.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000938/7.454, allocations: 251.2 kB / 3.647 GB, free: 285.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/7.454, allocations: 45.39 kB / 3.648 GB, free: 285.5 MB / 1.167 GB Notification: Performance of SimCode: time 4.31e-07/7.454, allocations: 0 / 3.648 GB, free: 285.5 MB / 1.167 GB Notification: Performance of Templates: time 0.04396/7.498, allocations: 32.15 MB / 3.679 GB, free: 254.1 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