Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008042/0.008042, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001935/0.001935, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7914/0.7929, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2083/1.001, allocations: 186.8 MB / 1.349 GB, free: 8.254 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008416/1.01, allocations: 4.574 MB / 1.353 GB, free: 3.668 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/1.011, allocations: 31.81 kB / 1.353 GB, free: 3.637 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/1.013, allocations: 417.4 kB / 1.353 GB, free: 3.227 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003864/1.016, allocations: 1.338 MB / 1.355 GB, free: 1.883 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/1.019, allocations: 0.7624 MB / 1.356 GB, free: 1.125 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002669/1.021, allocations: 1.952 MB / 1.357 GB, free: 15.17 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/1.022, allocations: 0.6515 MB / 1.358 GB, free: 14.5 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/1.025, allocations: 1.083 MB / 1.359 GB, free: 13.43 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/1.027, allocations: 0.5807 MB / 1.36 GB, free: 12.85 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/1.027, allocations: 64 kB / 1.36 GB, free: 12.79 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/1.029, allocations: 1.384 MB / 1.361 GB, free: 11.4 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004048/1.03, allocations: 291.2 kB / 1.361 GB, free: 11.11 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007056/1.031, allocations: 422.1 kB / 1.362 GB, free: 10.7 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/1.033, allocations: 1.476 MB / 1.363 GB, free: 9.219 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.033, allocations: 0 / 1.363 GB, free: 9.219 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.152e-06/1.033, allocations: 4 kB / 1.363 GB, free: 9.215 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.434e-05/1.033, allocations: 0 / 1.363 GB, free: 9.215 MB / 1.092 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.001972/1.035, allocations: 1.09 MB / 1.364 GB, free: 8.074 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.035, allocations: 8.922 kB / 1.364 GB, free: 8.066 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/1.036, allocations: 94.52 kB / 1.364 GB, free: 7.965 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/1.037, allocations: 202.9 kB / 1.365 GB, free: 7.766 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/1.038, allocations: 0.6105 MB / 1.365 GB, free: 7.109 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/1.038, allocations: 41.31 kB / 1.365 GB, free: 7.07 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/1.038, allocations: 55.94 kB / 1.365 GB, free: 7.016 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009989/1.039, allocations: 0.6206 MB / 1.366 GB, free: 6.379 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/1.039, allocations: 0 / 1.366 GB, free: 6.379 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/1.039, allocations: 24 kB / 1.366 GB, free: 6.355 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/1.039, allocations: 17.31 kB / 1.366 GB, free: 6.34 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008318/1.04, allocations: 0.5009 MB / 1.366 GB, free: 5.84 MB / 1.092 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.003044/1.043, allocations: 2.396 MB / 1.369 GB, free: 3.234 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/1.044, allocations: 364.9 kB / 1.369 GB, free: 2.871 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/1.044, allocations: 208.2 kB / 1.369 GB, free: 2.668 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005858/1.045, allocations: 311.2 kB / 1.37 GB, free: 2.309 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/1.045, allocations: 42.55 kB / 1.37 GB, free: 2.258 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 2.395e-06/1.045, allocations: 0 / 1.37 GB, free: 2.258 MB / 1.092 GB Notification: Performance of matching and sorting (n=36): time 0.001202/1.046, allocations: 0.5537 MB / 1.37 GB, free: 1.699 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.046, allocations: 59.41 kB / 1.37 GB, free: 1.629 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/1.047, allocations: 0.4988 MB / 1.371 GB, free: 1.117 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/1.047, allocations: 33.7 kB / 1.371 GB, free: 1.078 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/1.047, allocations: 319.8 kB / 1.371 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/1.047, allocations: 126.2 kB / 1.371 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/1.047, allocations: 86.03 kB / 1.371 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.047, allocations: 362.8 kB / 1.372 GB, free: 188 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/1.048, allocations: 154.5 kB / 1.372 GB, free: 28 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/1.048, allocations: 267.8 kB / 1.372 GB, free: 15.73 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/1.048, allocations: 406.2 kB / 1.372 GB, free: 15.3 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/1.048, allocations: 7.938 kB / 1.372 GB, free: 15.3 MB / 1.107 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007616/1.049, allocations: 485.2 kB / 1.373 GB, free: 14.82 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.049, allocations: 4 kB / 1.373 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.049, allocations: 4 kB / 1.373 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.049, allocations: 4 kB / 1.373 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/1.05, allocations: 108.1 kB / 1.373 GB, free: 14.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003948/1.05, allocations: 0.5938 MB / 1.374 GB, free: 14.08 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/1.051, allocations: 47.52 kB / 1.374 GB, free: 14.04 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/1.051, allocations: 16 kB / 1.374 GB, free: 14.02 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004447/1.051, allocations: 328.9 kB / 1.374 GB, free: 13.7 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003293/1.052, allocations: 259.5 kB / 1.374 GB, free: 13.4 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005137/1.052, allocations: 404.6 kB / 1.375 GB, free: 12.98 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/1.052, allocations: 0 / 1.375 GB, free: 12.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007075/1.053, allocations: 480.6 kB / 1.375 GB, free: 12.5 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.053, allocations: 11.94 kB / 1.375 GB, free: 12.49 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/1.053, allocations: 0 / 1.375 GB, free: 12.49 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/1.053, allocations: 8 kB / 1.375 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/1.053, allocations: 91.83 kB / 1.375 GB, free: 12.39 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.053, allocations: 4 kB / 1.375 GB, free: 12.39 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/1.054, allocations: 36.02 kB / 1.375 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/1.054, allocations: 19.94 kB / 1.375 GB, free: 12.33 MB / 1.107 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.0001636/1.054, allocations: 204.1 kB / 1.375 GB, free: 12.12 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/1.054, allocations: 63.22 kB / 1.375 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007369/1.055, allocations: 451.3 kB / 1.376 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.055, allocations: 4 kB / 1.376 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.055, allocations: 0 / 1.376 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006241/1.056, allocations: 0.6479 MB / 1.377 GB, free: 10.88 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/1.057, allocations: 1.21 MB / 1.378 GB, free: 9.586 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.057, allocations: 0 / 1.378 GB, free: 9.586 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/1.058, allocations: 92.23 kB / 1.378 GB, free: 9.496 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/1.058, allocations: 8 kB / 1.378 GB, free: 9.488 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/1.058, allocations: 12 kB / 1.378 GB, free: 9.477 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002894/1.058, allocations: 0.5937 MB / 1.378 GB, free: 8.859 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.058, allocations: 0 / 1.378 GB, free: 8.859 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/1.059, allocations: 0.7206 MB / 1.379 GB, free: 8.102 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/1.059, allocations: 176.3 kB / 1.379 GB, free: 7.91 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/1.059, allocations: 12 kB / 1.379 GB, free: 7.898 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/1.06, allocations: 11.98 kB / 1.379 GB, free: 7.887 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/1.06, allocations: 27.91 kB / 1.379 GB, free: 7.859 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/1.06, allocations: 16 kB / 1.379 GB, free: 7.844 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004116/1.06, allocations: 358.8 kB / 1.38 GB, free: 7.496 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.31e-07/1.06, allocations: 0 / 1.38 GB, free: 7.496 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009297/1.061, allocations: 347.1 kB / 1.38 GB, free: 7.156 MB / 1.107 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.001537/1.063, allocations: 1.342 MB / 1.381 GB, free: 5.773 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.064, allocations: 0.5929 MB / 1.382 GB, free: 5.18 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.064, allocations: 0 / 1.382 GB, free: 5.18 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003033/1.064, allocations: 189.5 kB / 1.382 GB, free: 4.996 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.066, allocations: 360.7 kB / 1.382 GB, free: 4.648 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006993/1.073, allocations: 4.875 MB / 1.387 GB, free: 15.6 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/1.074, allocations: 0.9414 MB / 1.388 GB, free: 14.63 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006939/1.074, allocations: 204.8 kB / 1.388 GB, free: 14.43 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1.075, allocations: 223.4 kB / 1.389 GB, free: 14.21 MB / 1.123 GB Notification: Performance of SimCode: time 5.71e-07/1.075, allocations: 0 / 1.389 GB, free: 14.21 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/1.118, allocations: 17.09 MB / 1.405 GB, free: 13.39 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.57, allocations: 4.531 kB / 1.405 GB, free: 13.39 MB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches