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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001778/0.001778, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.569/2.569, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 69.92 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3722, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.841/1.213, allocations: 186.8 MB / 1.209 GB, free: 13.87 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008411/1.222, allocations: 4.555 MB / 1.214 GB, free: 10.17 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/1.223, allocations: 31.69 kB / 1.214 GB, free: 10.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/1.224, allocations: 414.9 kB / 1.214 GB, free: 9.812 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003745/1.228, allocations: 1.357 MB / 1.215 GB, free: 8.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/1.23, allocations: 0.7531 MB / 1.216 GB, free: 8.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00292/1.233, allocations: 1.949 MB / 1.218 GB, free: 7.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/1.234, allocations: 0.665 MB / 1.219 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/1.238, allocations: 1.072 MB / 1.22 GB, free: 6.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/1.239, allocations: 0.5868 MB / 1.22 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/1.239, allocations: 65.25 kB / 1.22 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/1.243, allocations: 1.38 MB / 1.222 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/1.243, allocations: 288.5 kB / 1.222 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006279/1.244, allocations: 415.8 kB / 1.222 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002972/1.247, allocations: 1.476 MB / 1.224 GB, free: 3.539 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.247, allocations: 0 / 1.224 GB, free: 3.539 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.993e-06/1.247, allocations: 0 / 1.224 GB, free: 3.539 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.422e-05/1.247, allocations: 4 kB / 1.224 GB, free: 3.535 MB / 0.92 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.001855/1.249, allocations: 1.095 MB / 1.225 GB, free: 2.547 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.249, allocations: 8.031 kB / 1.225 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/1.25, allocations: 202.9 kB / 1.225 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.251, allocations: 0.6105 MB / 1.226 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/1.251, allocations: 45.31 kB / 1.226 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/1.251, allocations: 59.98 kB / 1.226 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009903/1.252, allocations: 0.6128 MB / 1.226 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/1.252, allocations: 4 kB / 1.226 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/1.252, allocations: 27.94 kB / 1.226 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/1.253, allocations: 17.31 kB / 1.226 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/1.253, allocations: 0.493 MB / 1.227 GB, free: 424 kB / 0.92 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.003623/1.257, allocations: 2.392 MB / 1.229 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007342/1.258, allocations: 366.7 kB / 1.23 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/1.258, allocations: 206.8 kB / 1.23 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/1.259, allocations: 307.2 kB / 1.23 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/1.259, allocations: 44.12 kB / 1.23 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=36): time 2.935e-06/1.259, allocations: 0 / 1.23 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36): time 0.001307/1.26, allocations: 0.5543 MB / 1.231 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/1.26, allocations: 55.41 kB / 1.231 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/1.261, allocations: 0.4989 MB / 1.231 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/1.261, allocations: 33.7 kB / 1.231 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/1.261, allocations: 319.8 kB / 1.232 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/1.261, allocations: 130.1 kB / 1.232 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/1.261, allocations: 82.12 kB / 1.232 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.262, allocations: 374.7 kB / 1.232 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/1.262, allocations: 154.5 kB / 1.232 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/1.262, allocations: 263.8 kB / 1.232 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007125/1.263, allocations: 406.2 kB / 1.233 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.263, allocations: 0 / 1.233 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008295/1.264, allocations: 497.1 kB / 1.233 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.264, allocations: 4 kB / 1.233 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.264, allocations: 4 kB / 1.233 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/1.264, allocations: 4 kB / 1.233 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/1.264, allocations: 99.88 kB / 1.233 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003825/1.265, allocations: 0.5979 MB / 1.234 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/1.265, allocations: 47.52 kB / 1.234 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/1.265, allocations: 21.12 kB / 1.234 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004778/1.266, allocations: 324.9 kB / 1.234 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003726/1.266, allocations: 263.5 kB / 1.235 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005617/1.267, allocations: 404.5 kB / 1.235 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/1.267, allocations: 0 / 1.235 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007436/1.268, allocations: 480.6 kB / 1.236 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.268, allocations: 8 kB / 1.236 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.268, allocations: 4 kB / 1.236 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/1.268, allocations: 7.938 kB / 1.236 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/1.268, allocations: 91.83 kB / 1.236 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/1.268, allocations: 4 kB / 1.236 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/1.269, allocations: 31.73 kB / 1.236 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/1.269, allocations: 16.25 kB / 1.236 GB, free: 6.914 MB / 0.9356 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.0002136/1.269, allocations: 208.9 kB / 1.236 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/1.269, allocations: 64.14 kB / 1.236 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/1.27, allocations: 451.7 kB / 1.236 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/1.27, allocations: 4 kB / 1.236 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.27, allocations: 128 / 1.236 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008956/1.271, allocations: 0.6519 MB / 1.237 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/1.273, allocations: 1.215 MB / 1.238 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.273, allocations: 3.938 kB / 1.238 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/1.273, allocations: 92.11 kB / 1.238 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.273, allocations: 8 kB / 1.238 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/1.273, allocations: 8 kB / 1.238 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004109/1.274, allocations: 0.6053 MB / 1.239 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.274, allocations: 4 kB / 1.239 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009818/1.275, allocations: 0.701 MB / 1.24 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/1.275, allocations: 176.3 kB / 1.24 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.11e-05/1.275, allocations: 15.92 kB / 1.24 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/1.276, allocations: 16 kB / 1.24 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/1.276, allocations: 19.97 kB / 1.24 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/1.276, allocations: 16 kB / 1.24 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006397/1.276, allocations: 358.8 kB / 1.24 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.31e-07/1.276, allocations: 0 / 1.24 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001121/1.277, allocations: 343.2 kB / 1.24 GB, free: 1.73 MB / 0.9356 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.000529/1.278, allocations: 202 kB / 1.241 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001241/1.279, allocations: 0.6048 MB / 1.241 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.279, allocations: 0 / 1.241 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003139/1.28, allocations: 189.1 kB / 1.241 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/1.281, allocations: 375.5 kB / 1.242 GB, free: 404 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/1.283, allocations: 1.326 MB / 1.243 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/1.284, allocations: 0.9375 MB / 1.244 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006909/1.285, allocations: 212.8 kB / 1.244 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/1.285, allocations: 51.38 kB / 1.244 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/1.285, allocations: 0 / 1.244 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of Templates: time 0.0225/1.307, allocations: 11.77 MB / 1.256 GB, free: 2.18 MB / 0.9512 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches