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.008153/0.008153, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.0019/0.0019, allocations: 194.3 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.641/2.641, allocations: 437.1 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2744, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8072/1.082, allocations: 186.8 MB / 1.349 GB, free: 5.523 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007899/1.09, allocations: 4.563 MB / 1.353 GB, free: 2.312 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/1.091, allocations: 31.97 kB / 1.353 GB, free: 2.301 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/1.092, allocations: 417.2 kB / 1.353 GB, free: 2.055 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00652/1.099, allocations: 1.405 MB / 1.355 GB, free: 1.285 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003055/1.102, allocations: 0.7642 MB / 1.356 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00364/1.106, allocations: 1.963 MB / 1.358 GB, free: 4 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/1.107, allocations: 0.6519 MB / 1.358 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003862/1.111, allocations: 1.112 MB / 1.359 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/1.112, allocations: 0.5878 MB / 1.36 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003031/1.113, allocations: 64.34 kB / 1.36 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/1.116, allocations: 1.39 MB / 1.361 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005843/1.117, allocations: 289.2 kB / 1.362 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/1.118, allocations: 419.2 kB / 1.362 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004494/1.123, allocations: 1.479 MB / 1.363 GB, free: 13.57 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/1.123, allocations: 5.312 kB / 1.363 GB, free: 13.57 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.873e-06/1.123, allocations: 0 / 1.363 GB, free: 13.57 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.671e-05/1.123, allocations: 0 / 1.363 GB, free: 13.57 MB / 1.045 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.00323/1.126, allocations: 1.124 MB / 1.364 GB, free: 12.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.126, allocations: 9.281 kB / 1.364 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/1.126, allocations: 96.86 kB / 1.365 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/1.128, allocations: 212.6 kB / 1.365 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/1.129, allocations: 0.6127 MB / 1.365 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/1.129, allocations: 44.12 kB / 1.365 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.13, allocations: 52.28 kB / 1.365 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/1.131, allocations: 0.6228 MB / 1.366 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/1.131, allocations: 7.922 kB / 1.366 GB, free: 11.67 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/1.131, allocations: 26.25 kB / 1.366 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/1.131, allocations: 18.72 kB / 1.366 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/1.132, allocations: 0.4922 MB / 1.367 GB, free: 11.41 MB / 1.045 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.003206/1.135, allocations: 2.402 MB / 1.369 GB, free: 9.309 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/1.136, allocations: 357.1 kB / 1.369 GB, free: 9.121 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/1.136, allocations: 216.7 kB / 1.369 GB, free: 9.016 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/1.137, allocations: 308 kB / 1.37 GB, free: 8.703 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.137, allocations: 37.31 kB / 1.37 GB, free: 8.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=36): time 2.024e-06/1.137, allocations: 0 / 1.37 GB, free: 8.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=36): time 0.001218/1.138, allocations: 0.5577 MB / 1.37 GB, free: 8.375 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/1.138, allocations: 55.28 kB / 1.37 GB, free: 8.312 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006416/1.139, allocations: 0.508 MB / 1.371 GB, free: 8 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/1.139, allocations: 32.7 kB / 1.371 GB, free: 7.965 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/1.139, allocations: 322.5 kB / 1.371 GB, free: 7.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/1.139, allocations: 136.7 kB / 1.371 GB, free: 7.562 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/1.139, allocations: 83.09 kB / 1.371 GB, free: 7.512 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.139, allocations: 366 kB / 1.372 GB, free: 7.156 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/1.14, allocations: 155.2 kB / 1.372 GB, free: 7.07 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/1.14, allocations: 260.7 kB / 1.372 GB, free: 6.871 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/1.141, allocations: 408.9 kB / 1.373 GB, free: 6.613 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.141, allocations: 0.875 kB / 1.373 GB, free: 6.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007805/1.141, allocations: 487.8 kB / 1.373 GB, free: 6.363 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.141, allocations: 5.5 kB / 1.373 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.141, allocations: 2.75 kB / 1.373 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/1.141, allocations: 12.39 kB / 1.373 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/1.142, allocations: 98.2 kB / 1.373 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003766/1.142, allocations: 0.5917 MB / 1.374 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/1.143, allocations: 48.09 kB / 1.374 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/1.143, allocations: 17.75 kB / 1.374 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004857/1.144, allocations: 333.8 kB / 1.374 GB, free: 5.484 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003383/1.144, allocations: 255.4 kB / 1.374 GB, free: 5.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005286/1.144, allocations: 405.2 kB / 1.375 GB, free: 5.031 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/1.144, allocations: 6.5 kB / 1.375 GB, free: 5.027 MB / 1.045 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006889/1.145, allocations: 488.8 kB / 1.375 GB, free: 4.773 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/1.145, allocations: 7.375 kB / 1.375 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/1.145, allocations: 3.938 kB / 1.375 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/1.145, allocations: 5.219 kB / 1.375 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/1.145, allocations: 84.12 kB / 1.375 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/1.146, allocations: 9.062 kB / 1.375 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/1.146, allocations: 36.08 kB / 1.375 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/1.146, allocations: 16.22 kB / 1.375 GB, free: 4.723 MB / 1.045 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.0001597/1.146, allocations: 211.9 kB / 1.376 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.146, allocations: 62.84 kB / 1.376 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006949/1.147, allocations: 441.5 kB / 1.376 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.147, allocations: 2.906 kB / 1.376 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.147, allocations: 4 kB / 1.376 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006072/1.148, allocations: 0.6573 MB / 1.377 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/1.149, allocations: 1.21 MB / 1.378 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.149, allocations: 2.406 kB / 1.378 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/1.15, allocations: 94.77 kB / 1.378 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/1.15, allocations: 2.625 kB / 1.378 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/1.15, allocations: 13.31 kB / 1.378 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002906/1.15, allocations: 0.5893 MB / 1.379 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.15, allocations: 7.625 kB / 1.379 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008715/1.151, allocations: 0.7222 MB / 1.379 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/1.151, allocations: 179.6 kB / 1.379 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/1.152, allocations: 13.69 kB / 1.379 GB, free: 1.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/1.152, allocations: 13.05 kB / 1.379 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/1.152, allocations: 24.88 kB / 1.38 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/1.152, allocations: 20.27 kB / 1.38 GB, free: 1.426 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003871/1.152, allocations: 356.8 kB / 1.38 GB, free: 1.219 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.152, allocations: 4 kB / 1.38 GB, free: 1.215 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009702/1.153, allocations: 345.3 kB / 1.38 GB, free: 1.148 MB / 1.045 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.00153/1.155, allocations: 1.347 MB / 1.382 GB, free: 100 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001193/1.156, allocations: 0.592 MB / 1.382 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.156, allocations: 2.938 kB / 1.382 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/1.156, allocations: 190.8 kB / 1.382 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/1.158, allocations: 359.3 kB / 1.383 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/1.165, allocations: 4.885 MB / 1.387 GB, free: 12.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/1.165, allocations: 0.9446 MB / 1.388 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000676/1.166, allocations: 210.5 kB / 1.389 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/1.166, allocations: 219.5 kB / 1.389 GB, free: 11.16 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/1.166, allocations: 0 / 1.389 GB, free: 11.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/1.211, allocations: 17.08 MB / 1.405 GB, free: 15.19 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.62, allocations: 12.66 kB / 1.405 GB, free: 15.18 MB / 1.076 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