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.368/1.368, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001098, allocations: 177 kB / 326.5 MB, free: 2.254 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.817/1.817, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001079/0.001079, allocations: 97.97 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003493, allocations: 11.14 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2041, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.578/5.782, allocations: 2.202 GB / 3.102 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/5.783, allocations: 92.31 kB / 3.102 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.541/7.324, allocations: 468.7 MB / 3.56 GB, free: 200 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.024e-06/7.324, allocations: 0 / 3.56 GB, free: 200 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001122/7.324, allocations: 22.11 kB / 3.56 GB, free: 200 MB / 0.8855 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.003436/7.327, allocations: 1.096 MB / 3.561 GB, free: 198.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/7.327, allocations: 8.031 kB / 3.561 GB, free: 198.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/7.329, allocations: 198.9 kB / 3.561 GB, free: 198.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/7.332, allocations: 0.91 MB / 3.562 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/7.332, allocations: 45.66 kB / 3.562 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/7.332, allocations: 59.95 kB / 3.562 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/7.333, allocations: 0.605 MB / 3.562 GB, free: 197 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/7.333, allocations: 4 kB / 3.562 GB, free: 197 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/7.333, allocations: 20 kB / 3.562 GB, free: 197 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/7.333, allocations: 17.31 kB / 3.562 GB, free: 197 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/7.334, allocations: 476.9 kB / 3.563 GB, free: 196.5 MB / 0.8855 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.003348/7.337, allocations: 2.415 MB / 3.565 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/7.338, allocations: 315 kB / 3.566 GB, free: 193.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/7.338, allocations: 303.8 kB / 3.566 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/7.338, allocations: 38.56 kB / 3.566 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.096e-06/7.338, allocations: 4 kB / 3.566 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.001158/7.34, allocations: 0.5248 MB / 3.566 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/7.34, allocations: 55.34 kB / 3.567 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/7.34, allocations: 450 kB / 3.567 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/7.34, allocations: 33.7 kB / 3.567 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/7.341, allocations: 315.3 kB / 3.567 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/7.341, allocations: 129.3 kB / 3.567 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/7.341, allocations: 8 kB / 3.567 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001167/7.341, allocations: 366.8 kB / 3.568 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/7.341, allocations: 136.8 kB / 3.568 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/7.341, allocations: 271.2 kB / 3.568 GB, free: 190.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/7.342, allocations: 190.5 kB / 3.568 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/7.342, allocations: 0 / 3.568 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006929/7.342, allocations: 486.4 kB / 3.569 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002382/7.343, allocations: 0.8739 MB / 3.57 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/7.343, allocations: 4 kB / 3.57 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/7.343, allocations: 8 kB / 3.57 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/7.343, allocations: 95.92 kB / 3.57 GB, free: 189.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003382/7.343, allocations: 0.5938 MB / 3.57 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/7.344, allocations: 71.59 kB / 3.57 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/7.344, allocations: 23.98 kB / 3.57 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/7.344, allocations: 4 kB / 3.57 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005944/7.345, allocations: 395.8 kB / 3.571 GB, free: 188 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/7.345, allocations: 4 kB / 3.571 GB, free: 188 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/7.345, allocations: 7.953 kB / 3.571 GB, free: 188 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/7.345, allocations: 83.91 kB / 3.571 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/7.345, allocations: 4 kB / 3.571 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/7.346, allocations: 67.92 kB / 3.571 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/7.346, allocations: 20 kB / 3.571 GB, free: 187.8 MB / 0.8855 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.0003997/7.346, allocations: 312.8 kB / 3.571 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/7.347, allocations: 63.25 kB / 3.571 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/7.347, allocations: 443.3 kB / 3.572 GB, free: 187 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/7.347, allocations: 7.984 kB / 3.572 GB, free: 187 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/7.347, allocations: 0 / 3.572 GB, free: 187 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005494/7.348, allocations: 0.6479 MB / 3.572 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/7.35, allocations: 1.192 MB / 3.574 GB, free: 185 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/7.35, allocations: 4 kB / 3.574 GB, free: 185 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/7.35, allocations: 95.67 kB / 3.574 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/7.35, allocations: 4 kB / 3.574 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/7.35, allocations: 11.98 kB / 3.574 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002657/7.351, allocations: 0.5978 MB / 3.574 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/7.351, allocations: 4.031 kB / 3.574 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008938/7.351, allocations: 0.8107 MB / 3.575 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/7.352, allocations: 176.4 kB / 3.575 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/7.352, allocations: 11.98 kB / 3.575 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/7.352, allocations: 51.77 kB / 3.575 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/7.353, allocations: 27.91 kB / 3.575 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/7.353, allocations: 8 kB / 3.575 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003848/7.353, allocations: 358.8 kB / 3.576 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.9e-07/7.353, allocations: 0 / 3.576 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001784/7.355, allocations: 481.8 kB / 3.576 GB, free: 182.3 MB / 0.8855 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 () * 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.002703/7.358, allocations: 1.374 MB / 3.577 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001105/7.359, allocations: 0.5611 MB / 3.578 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/7.359, allocations: 0 / 3.578 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/7.359, allocations: 190 kB / 3.578 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/7.361, allocations: 355.1 kB / 3.579 GB, free: 180 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/7.363, allocations: 1.672 MB / 3.58 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/7.364, allocations: 0.9534 MB / 3.581 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008475/7.365, allocations: 207.9 kB / 3.581 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/7.365, allocations: 51.38 kB / 3.581 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.122e-06/7.365, allocations: 0 / 3.581 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.04331/7.408, allocations: 27.55 MB / 3.608 GB, free: 149.7 MB / 0.8855 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