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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_11_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.00682/0.00682, allocations: 101.2 kB / 15.73 MB, free: 5.508 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.001587/0.001587, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.943/2.943, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.88 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3147, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.886/1.201, allocations: 186.8 MB / 1.403 GB, free: 2.984 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009078/1.21, allocations: 4.558 MB / 1.407 GB, free: 15.29 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/1.211, allocations: 35.72 kB / 1.407 GB, free: 15.27 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/1.213, allocations: 406.2 kB / 1.407 GB, free: 14.93 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004467/1.217, allocations: 1.34 MB / 1.409 GB, free: 13.9 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/1.22, allocations: 0.7649 MB / 1.41 GB, free: 13.32 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003246/1.223, allocations: 1.959 MB / 1.411 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/1.224, allocations: 0.6556 MB / 1.412 GB, free: 11.8 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/1.228, allocations: 1.076 MB / 1.413 GB, free: 11.16 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/1.23, allocations: 0.591 MB / 1.414 GB, free: 10.81 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/1.23, allocations: 64.56 kB / 1.414 GB, free: 10.81 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/1.234, allocations: 1.387 MB / 1.415 GB, free: 10.04 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004606/1.234, allocations: 289.7 kB / 1.415 GB, free: 9.852 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007754/1.235, allocations: 415.7 kB / 1.416 GB, free: 9.594 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003468/1.238, allocations: 1.478 MB / 1.417 GB, free: 8.66 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.238, allocations: 0 / 1.417 GB, free: 8.66 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.643e-06/1.238, allocations: 0 / 1.417 GB, free: 8.66 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.803e-05/1.238, allocations: 2.594 kB / 1.417 GB, free: 8.66 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.002197/1.241, allocations: 1.125 MB / 1.418 GB, free: 7.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.241, allocations: 10.31 kB / 1.418 GB, free: 7.75 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/1.241, allocations: 93.36 kB / 1.418 GB, free: 7.668 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.242, allocations: 213.1 kB / 1.419 GB, free: 7.566 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/1.243, allocations: 0.6088 MB / 1.419 GB, free: 7.074 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/1.244, allocations: 40.44 kB / 1.419 GB, free: 7.059 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/1.244, allocations: 54.5 kB / 1.419 GB, free: 7.039 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/1.245, allocations: 0.626 MB / 1.42 GB, free: 6.66 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.245, allocations: 3.938 kB / 1.42 GB, free: 6.656 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/1.245, allocations: 21.09 kB / 1.42 GB, free: 6.641 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/1.245, allocations: 21.25 kB / 1.42 GB, free: 6.637 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/1.246, allocations: 0.4969 MB / 1.42 GB, free: 6.395 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.003384/1.249, allocations: 2.407 MB / 1.423 GB, free: 4.285 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/1.25, allocations: 358.1 kB / 1.423 GB, free: 4.098 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/1.25, allocations: 214 kB / 1.423 GB, free: 3.992 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/1.251, allocations: 308.7 kB / 1.424 GB, free: 3.68 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.251, allocations: 36.88 kB / 1.424 GB, free: 3.637 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 1.863e-06/1.251, allocations: 0 / 1.424 GB, free: 3.637 MB / 1.107 GB Notification: Performance of matching and sorting (n=36): time 0.00127/1.252, allocations: 0.5525 MB / 1.424 GB, free: 3.355 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/1.252, allocations: 61.03 kB / 1.424 GB, free: 3.289 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/1.253, allocations: 0.5056 MB / 1.425 GB, free: 2.977 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/1.253, allocations: 36.48 kB / 1.425 GB, free: 2.938 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/1.253, allocations: 319.6 kB / 1.425 GB, free: 2.656 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/1.253, allocations: 136.2 kB / 1.425 GB, free: 2.539 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.253, allocations: 81.38 kB / 1.425 GB, free: 2.488 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.253, allocations: 367.6 kB / 1.426 GB, free: 2.133 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/1.254, allocations: 153.7 kB / 1.426 GB, free: 2.055 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/1.254, allocations: 259.5 kB / 1.426 GB, free: 1.852 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/1.255, allocations: 404.4 kB / 1.426 GB, free: 1.598 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.255, allocations: 0 / 1.426 GB, free: 1.598 MB / 1.107 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007643/1.255, allocations: 0.4883 MB / 1.427 GB, free: 1.324 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.255, allocations: 10.03 kB / 1.427 GB, free: 1.316 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.255, allocations: 3.984 kB / 1.427 GB, free: 1.312 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.255, allocations: 11.98 kB / 1.427 GB, free: 1.301 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/1.256, allocations: 92.77 kB / 1.427 GB, free: 1.211 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004614/1.257, allocations: 0.6057 MB / 1.428 GB, free: 0.582 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/1.257, allocations: 51.64 kB / 1.428 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/1.257, allocations: 19.98 kB / 1.428 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000482/1.258, allocations: 320.9 kB / 1.428 GB, free: 200 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003445/1.258, allocations: 255.6 kB / 1.428 GB, free: 15.91 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005663/1.258, allocations: 404.3 kB / 1.429 GB, free: 15.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/1.258, allocations: 4 kB / 1.429 GB, free: 15.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007443/1.259, allocations: 489.3 kB / 1.429 GB, free: 14.99 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/1.259, allocations: 4 kB / 1.429 GB, free: 14.99 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.259, allocations: 7.938 kB / 1.429 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/1.259, allocations: 5.125 kB / 1.429 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/1.26, allocations: 79.91 kB / 1.429 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.26, allocations: 7.938 kB / 1.429 GB, free: 14.89 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/1.26, allocations: 35.83 kB / 1.429 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/1.26, allocations: 17.48 kB / 1.429 GB, free: 14.84 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.0001878/1.26, allocations: 212.2 kB / 1.429 GB, free: 14.62 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.26, allocations: 63.56 kB / 1.43 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008068/1.261, allocations: 452.9 kB / 1.43 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/1.261, allocations: 4 kB / 1.43 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.261, allocations: 3.984 kB / 1.43 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007217/1.262, allocations: 0.6495 MB / 1.431 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/1.264, allocations: 1.207 MB / 1.432 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.264, allocations: 4 kB / 1.432 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/1.264, allocations: 91.86 kB / 1.432 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.264, allocations: 4.219 kB / 1.432 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/1.264, allocations: 16 kB / 1.432 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003752/1.265, allocations: 0.5899 MB / 1.432 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.265, allocations: 7.969 kB / 1.432 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009954/1.266, allocations: 0.7128 MB / 1.433 GB, free: 10.6 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/1.266, allocations: 184.6 kB / 1.433 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/1.266, allocations: 11.94 kB / 1.433 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/1.267, allocations: 19.98 kB / 1.433 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/1.267, allocations: 23.92 kB / 1.433 GB, free: 10.35 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/1.267, allocations: 15.98 kB / 1.433 GB, free: 10.33 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004345/1.267, allocations: 358.8 kB / 1.434 GB, free: 9.984 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.267, allocations: 4 kB / 1.434 GB, free: 9.98 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009437/1.268, allocations: 347.3 kB / 1.434 GB, free: 9.641 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.00167/1.27, allocations: 1.349 MB / 1.435 GB, free: 8.25 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001258/1.271, allocations: 0.5939 MB / 1.436 GB, free: 7.656 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.271, allocations: 3.938 kB / 1.436 GB, free: 7.652 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003227/1.271, allocations: 185.1 kB / 1.436 GB, free: 7.473 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.273, allocations: 361 kB / 1.437 GB, free: 7.125 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/1.28, allocations: 4.888 MB / 1.441 GB, free: 2.059 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/1.281, allocations: 0.9414 MB / 1.442 GB, free: 1.09 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007052/1.281, allocations: 204.9 kB / 1.442 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/1.282, allocations: 219.4 kB / 1.443 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of SimCode: time 5.41e-07/1.282, allocations: 0 / 1.443 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05366/1.335, allocations: 17.06 MB / 1.459 GB, free: 15.91 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/14.21, allocations: 20.75 kB / 1.459 GB, free: 15.89 MB / 1.154 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction_res.csv","/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