Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_11_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_11_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 108.3 kB / 15.99 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 194.9 kB / 16.91 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.711/2.711, allocations: 469.8 MB / 0.7427 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 69.8 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3207, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7791/1.1, allocations: 184.4 MB / 1.244 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007894/1.108, allocations: 4.531 MB / 1.249 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009038/1.109, allocations: 31.81 kB / 1.249 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/1.11, allocations: 354.1 kB / 1.249 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0034/1.113, allocations: 1.261 MB / 1.25 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/1.115, allocations: 0.6904 MB / 1.251 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00272/1.118, allocations: 1.964 MB / 1.253 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/1.119, allocations: 0.632 MB / 1.253 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/1.123, allocations: 1.081 MB / 1.254 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/1.124, allocations: 0.6149 MB / 1.255 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/1.124, allocations: 64 kB / 1.255 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/1.127, allocations: 1.442 MB / 1.257 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003549/1.127, allocations: 287.2 kB / 1.257 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005506/1.128, allocations: 418.1 kB / 1.257 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/1.13, allocations: 1.091 MB / 1.258 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.13, allocations: 0 / 1.258 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/1.13, allocations: 0 / 1.258 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.28e-05/1.13, allocations: 4 kB / 1.258 GB, free: 2.32 MB / 0.9669 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.001923/1.132, allocations: 1.099 MB / 1.259 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/1.132, allocations: 8.031 kB / 1.259 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/1.133, allocations: 202.9 kB / 1.26 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000954/1.134, allocations: 0.5793 MB / 1.26 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/1.134, allocations: 45.31 kB / 1.26 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/1.134, allocations: 52 kB / 1.26 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.135, allocations: 0.6206 MB / 1.261 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/1.135, allocations: 0 / 1.261 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/1.135, allocations: 23.94 kB / 1.261 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/1.135, allocations: 21.3 kB / 1.261 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/1.136, allocations: 0.497 MB / 1.261 GB, free: 15.07 MB / 0.9825 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.003371/1.14, allocations: 2.385 MB / 1.264 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/1.14, allocations: 358.6 kB / 1.264 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/1.141, allocations: 218.9 kB / 1.264 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000624/1.141, allocations: 303.2 kB / 1.265 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/1.141, allocations: 42.55 kB / 1.265 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/1.141, allocations: 0 / 1.265 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36): time 0.001225/1.142, allocations: 0.5446 MB / 1.265 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/1.143, allocations: 63.39 kB / 1.265 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/1.143, allocations: 0.4989 MB / 1.266 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/1.143, allocations: 37.7 kB / 1.266 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/1.144, allocations: 319.8 kB / 1.266 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/1.144, allocations: 130.1 kB / 1.266 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.144, allocations: 78.14 kB / 1.266 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.144, allocations: 370.7 kB / 1.267 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/1.144, allocations: 158.5 kB / 1.267 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/1.145, allocations: 255.1 kB / 1.267 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/1.145, allocations: 410.1 kB / 1.267 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.145, allocations: 4 kB / 1.267 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000788/1.146, allocations: 496.7 kB / 1.268 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.146, allocations: 4 kB / 1.268 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.146, allocations: 7.438 kB / 1.268 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.146, allocations: 4 kB / 1.268 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/1.147, allocations: 100.2 kB / 1.268 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004734/1.147, allocations: 0.6054 MB / 1.268 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/1.148, allocations: 75.58 kB / 1.269 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/1.148, allocations: 16 kB / 1.269 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004732/1.148, allocations: 333.5 kB / 1.269 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003666/1.149, allocations: 255.4 kB / 1.269 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005925/1.149, allocations: 404.3 kB / 1.27 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/1.149, allocations: 0 / 1.27 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007481/1.15, allocations: 484.8 kB / 1.27 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.15, allocations: 8 kB / 1.27 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/1.15, allocations: 0 / 1.27 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/1.15, allocations: 7.938 kB / 1.27 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/1.151, allocations: 91.89 kB / 1.27 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.151, allocations: 7.938 kB / 1.27 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/1.151, allocations: 63.98 kB / 1.27 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/1.151, allocations: 20 kB / 1.27 GB, free: 5.508 MB / 0.9825 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002017/1.151, allocations: 204.1 kB / 1.27 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.152, allocations: 63.28 kB / 1.27 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008264/1.152, allocations: 439.5 kB / 1.271 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.152, allocations: 4 kB / 1.271 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.152, allocations: 3.938 kB / 1.271 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008397/1.153, allocations: 0.6571 MB / 1.272 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/1.155, allocations: 1.214 MB / 1.273 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.155, allocations: 4 kB / 1.273 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/1.156, allocations: 88.11 kB / 1.273 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/1.156, allocations: 10.06 kB / 1.273 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/1.156, allocations: 11.98 kB / 1.273 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004573/1.156, allocations: 0.5899 MB / 1.273 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.156, allocations: 7.969 kB / 1.273 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/1.157, allocations: 0.7042 MB / 1.274 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/1.158, allocations: 172.4 kB / 1.274 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.092e-05/1.158, allocations: 19.92 kB / 1.274 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/1.158, allocations: 50.25 kB / 1.274 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/1.158, allocations: 27.91 kB / 1.274 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/1.158, allocations: 12 kB / 1.274 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005228/1.159, allocations: 362.8 kB / 1.275 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/1.159, allocations: 0 / 1.275 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000951/1.16, allocations: 339.2 kB / 1.275 GB, free: 304 kB / 0.9825 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004999/1.16, allocations: 196.4 kB / 1.275 GB, free: 108 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00133/1.162, allocations: 0.6376 MB / 1.276 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.162, allocations: 0 / 1.276 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/1.162, allocations: 187.7 kB / 1.276 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.164, allocations: 360.5 kB / 1.276 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/1.166, allocations: 1.623 MB / 1.278 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/1.167, allocations: 0.9413 MB / 1.279 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/1.167, allocations: 59.42 kB / 1.279 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/1.167, allocations: 0 / 1.279 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of Templates: time 0.01873/1.186, allocations: 12.64 MB / 1.291 GB, free: 15.69 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches