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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_latest_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.006232/0.006232, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001509/0.001509, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.716/2.716, allocations: 469.4 MB / 0.7422 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 59.91 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3623, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8339/1.196, allocations: 186.8 MB / 1.402 GB, free: 3.504 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00778/1.204, allocations: 4.563 MB / 1.407 GB, free: 15.8 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009704/1.205, allocations: 35.69 kB / 1.407 GB, free: 15.79 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/1.206, allocations: 416.3 kB / 1.407 GB, free: 15.45 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003394/1.21, allocations: 1.408 MB / 1.408 GB, free: 14.36 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/1.212, allocations: 0.7547 MB / 1.409 GB, free: 13.8 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002605/1.214, allocations: 1.963 MB / 1.411 GB, free: 12.68 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000925/1.215, allocations: 0.6518 MB / 1.412 GB, free: 12.27 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/1.218, allocations: 1.115 MB / 1.413 GB, free: 11.61 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/1.219, allocations: 0.5863 MB / 1.413 GB, free: 11.27 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/1.22, allocations: 65.28 kB / 1.413 GB, free: 11.27 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/1.223, allocations: 1.388 MB / 1.415 GB, free: 10.5 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/1.223, allocations: 292.5 kB / 1.415 GB, free: 10.3 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004581/1.223, allocations: 418.6 kB / 1.415 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002502/1.226, allocations: 1.479 MB / 1.417 GB, free: 9.109 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/1.226, allocations: 0 / 1.417 GB, free: 9.109 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.082e-06/1.226, allocations: 2.969 kB / 1.417 GB, free: 9.109 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.169e-05/1.226, allocations: 0 / 1.417 GB, free: 9.109 MB / 1.107 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.001752/1.228, allocations: 1.121 MB / 1.418 GB, free: 8.203 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.228, allocations: 8.062 kB / 1.418 GB, free: 8.203 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/1.228, allocations: 98.83 kB / 1.418 GB, free: 8.117 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/1.229, allocations: 206.2 kB / 1.418 GB, free: 8.023 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/1.23, allocations: 0.6212 MB / 1.419 GB, free: 7.52 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/1.23, allocations: 42.22 kB / 1.419 GB, free: 7.5 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/1.23, allocations: 57.08 kB / 1.419 GB, free: 7.48 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/1.231, allocations: 0.6254 MB / 1.42 GB, free: 7.102 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/1.231, allocations: 3.938 kB / 1.42 GB, free: 7.098 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/1.231, allocations: 24.19 kB / 1.42 GB, free: 7.078 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/1.231, allocations: 17.56 kB / 1.42 GB, free: 7.078 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/1.232, allocations: 0.4978 MB / 1.42 GB, free: 6.832 MB / 1.107 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.002856/1.235, allocations: 2.405 MB / 1.423 GB, free: 4.727 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/1.235, allocations: 354 kB / 1.423 GB, free: 4.543 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/1.236, allocations: 213.7 kB / 1.423 GB, free: 4.438 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/1.236, allocations: 304.6 kB / 1.423 GB, free: 4.129 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.236, allocations: 37.06 kB / 1.423 GB, free: 4.086 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/1.236, allocations: 1.812 kB / 1.423 GB, free: 4.086 MB / 1.107 GB Notification: Performance of matching and sorting (n=36): time 0.001062/1.237, allocations: 0.5616 MB / 1.424 GB, free: 3.797 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/1.238, allocations: 54.19 kB / 1.424 GB, free: 3.734 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/1.238, allocations: 0.502 MB / 1.424 GB, free: 3.426 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/1.238, allocations: 35.8 kB / 1.425 GB, free: 3.387 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/1.238, allocations: 322.4 kB / 1.425 GB, free: 3.105 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/1.238, allocations: 140.3 kB / 1.425 GB, free: 2.984 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/1.239, allocations: 81.28 kB / 1.425 GB, free: 2.934 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.239, allocations: 363.7 kB / 1.425 GB, free: 2.582 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/1.239, allocations: 155.2 kB / 1.426 GB, free: 2.5 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/1.239, allocations: 257.3 kB / 1.426 GB, free: 2.305 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/1.24, allocations: 412.1 kB / 1.426 GB, free: 2.043 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.24, allocations: 0 / 1.426 GB, free: 2.043 MB / 1.107 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007149/1.241, allocations: 491.2 kB / 1.427 GB, free: 1.789 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.241, allocations: 6.844 kB / 1.427 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.241, allocations: 2.906 kB / 1.427 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/1.241, allocations: 3.062 kB / 1.427 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/1.241, allocations: 114.1 kB / 1.427 GB, free: 1.68 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000385/1.242, allocations: 0.5991 MB / 1.427 GB, free: 1.059 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/1.242, allocations: 43.66 kB / 1.427 GB, free: 1.016 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/1.242, allocations: 16 kB / 1.427 GB, free: 1 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004562/1.243, allocations: 333 kB / 1.428 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003009/1.243, allocations: 259.4 kB / 1.428 GB, free: 388 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005261/1.244, allocations: 392.4 kB / 1.428 GB, free: 15.96 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/1.244, allocations: 4 kB / 1.428 GB, free: 15.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006838/1.244, allocations: 485.2 kB / 1.429 GB, free: 15.48 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.244, allocations: 8 kB / 1.429 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.244, allocations: 3.938 kB / 1.429 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/1.244, allocations: 7.938 kB / 1.429 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/1.245, allocations: 91.89 kB / 1.429 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.245, allocations: 8.281 kB / 1.429 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/1.245, allocations: 31.83 kB / 1.429 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/1.245, allocations: 16 kB / 1.429 GB, free: 15.31 MB / 1.123 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.0001551/1.245, allocations: 216.1 kB / 1.429 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.245, allocations: 63.56 kB / 1.429 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007094/1.246, allocations: 445.5 kB / 1.43 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.246, allocations: 4 kB / 1.43 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.246, allocations: 4 kB / 1.43 GB, free: 14.58 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000621/1.247, allocations: 0.6533 MB / 1.43 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/1.248, allocations: 1.206 MB / 1.431 GB, free: 12.56 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.248, allocations: 7.75 kB / 1.431 GB, free: 12.56 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/1.249, allocations: 87.89 kB / 1.432 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.249, allocations: 4 kB / 1.432 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/1.249, allocations: 12 kB / 1.432 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002849/1.249, allocations: 0.5976 MB / 1.432 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.249, allocations: 1.75 kB / 1.432 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009113/1.25, allocations: 0.7246 MB / 1.433 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/1.25, allocations: 176.7 kB / 1.433 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/1.251, allocations: 11.94 kB / 1.433 GB, free: 10.87 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/1.251, allocations: 18.05 kB / 1.433 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/1.251, allocations: 19.97 kB / 1.433 GB, free: 10.83 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/1.251, allocations: 16 kB / 1.433 GB, free: 10.82 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003899/1.251, allocations: 358.8 kB / 1.433 GB, free: 10.47 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.973e-06/1.251, allocations: 4 kB / 1.433 GB, free: 10.46 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008963/1.252, allocations: 351.3 kB / 1.434 GB, free: 10.12 MB / 1.123 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.001505/1.254, allocations: 1.356 MB / 1.435 GB, free: 8.727 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001203/1.255, allocations: 0.5907 MB / 1.436 GB, free: 8.137 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.255, allocations: 4 kB / 1.436 GB, free: 8.133 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002983/1.255, allocations: 192 kB / 1.436 GB, free: 7.945 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/1.257, allocations: 355.7 kB / 1.436 GB, free: 7.602 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/1.263, allocations: 4.884 MB / 1.441 GB, free: 2.543 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/1.264, allocations: 0.9414 MB / 1.442 GB, free: 1.574 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006247/1.264, allocations: 204.9 kB / 1.442 GB, free: 1.375 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/1.265, allocations: 223.4 kB / 1.442 GB, free: 1.156 MB / 1.123 GB Notification: Performance of SimCode: time 8.62e-07/1.265, allocations: 0 / 1.442 GB, free: 1.156 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/1.308, allocations: 17.08 MB / 1.459 GB, free: 380 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.38, allocations: 9.719 kB / 1.459 GB, free: 372 kB / 1.139 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.csv","/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