Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_9_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.005907/0.005907, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001246/0.001246, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7786/0.7799, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2104/0.9904, allocations: 186.8 MB / 1.27 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00747/0.9979, allocations: 4.571 MB / 1.274 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000898/0.9988, allocations: 35.81 kB / 1.274 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.9999, allocations: 413.4 kB / 1.275 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003684/1.004, allocations: 1.339 MB / 1.276 GB, free: 12.56 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/1.006, allocations: 0.7622 MB / 1.277 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002364/1.008, allocations: 1.964 MB / 1.279 GB, free: 9.832 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009267/1.009, allocations: 0.6515 MB / 1.279 GB, free: 9.168 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/1.012, allocations: 1.085 MB / 1.28 GB, free: 8.094 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008525/1.013, allocations: 0.5926 MB / 1.281 GB, free: 7.504 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.335e-05/1.013, allocations: 64 kB / 1.281 GB, free: 7.441 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/1.016, allocations: 1.384 MB / 1.282 GB, free: 6.055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/1.016, allocations: 283.3 kB / 1.283 GB, free: 5.777 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004271/1.016, allocations: 418.1 kB / 1.283 GB, free: 5.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002019/1.018, allocations: 1.472 MB / 1.285 GB, free: 3.891 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.019, allocations: 4 kB / 1.285 GB, free: 3.887 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/1.019, allocations: 0 / 1.285 GB, free: 3.887 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.019, allocations: 0 / 1.285 GB, free: 3.887 MB / 1.014 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.001691/1.02, allocations: 1.09 MB / 1.286 GB, free: 2.746 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.02, allocations: 8.031 kB / 1.286 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/1.02, allocations: 94.52 kB / 1.286 GB, free: 2.637 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/1.022, allocations: 206.9 kB / 1.286 GB, free: 2.434 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.023, allocations: 0.6104 MB / 1.287 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/1.023, allocations: 41.31 kB / 1.287 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/1.023, allocations: 63.98 kB / 1.287 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/1.024, allocations: 0.6206 MB / 1.287 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.024, allocations: 0 / 1.287 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/1.024, allocations: 20 kB / 1.287 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/1.024, allocations: 17.31 kB / 1.287 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/1.025, allocations: 0.493 MB / 1.288 GB, free: 0.5117 MB / 1.014 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.002716/1.027, allocations: 2.396 MB / 1.29 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/1.028, allocations: 366.7 kB / 1.29 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/1.028, allocations: 210.4 kB / 1.291 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/1.029, allocations: 307.8 kB / 1.291 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/1.029, allocations: 38.56 kB / 1.291 GB, free: 12.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/1.029, allocations: 0 / 1.291 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001091/1.03, allocations: 0.5518 MB / 1.291 GB, free: 12.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/1.03, allocations: 55.41 kB / 1.292 GB, free: 12.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/1.031, allocations: 0.4911 MB / 1.292 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/1.031, allocations: 37.7 kB / 1.292 GB, free: 11.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/1.031, allocations: 319.8 kB / 1.292 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/1.031, allocations: 130.1 kB / 1.292 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/1.031, allocations: 86.03 kB / 1.293 GB, free: 11.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.031, allocations: 366.8 kB / 1.293 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/1.031, allocations: 150.5 kB / 1.293 GB, free: 10.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/1.032, allocations: 275.6 kB / 1.293 GB, free: 10.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/1.032, allocations: 410.1 kB / 1.294 GB, free: 9.969 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.032, allocations: 0 / 1.294 GB, free: 9.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007009/1.033, allocations: 485.2 kB / 1.294 GB, free: 9.488 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.033, allocations: 8 kB / 1.294 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.033, allocations: 0 / 1.294 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.033, allocations: 4 kB / 1.294 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/1.034, allocations: 107.8 kB / 1.294 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004616/1.034, allocations: 0.5902 MB / 1.295 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/1.035, allocations: 47.52 kB / 1.295 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/1.035, allocations: 20 kB / 1.295 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004247/1.035, allocations: 328.9 kB / 1.295 GB, free: 8.367 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003104/1.036, allocations: 263.5 kB / 1.295 GB, free: 8.074 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005356/1.036, allocations: 400.6 kB / 1.296 GB, free: 7.652 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.02e-06/1.036, allocations: 7.984 kB / 1.296 GB, free: 7.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006697/1.037, allocations: 484.7 kB / 1.296 GB, free: 7.164 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.037, allocations: 7.938 kB / 1.296 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.037, allocations: 4 kB / 1.296 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/1.037, allocations: 4 kB / 1.296 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/1.037, allocations: 91.83 kB / 1.296 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.037, allocations: 4 kB / 1.296 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/1.038, allocations: 35.73 kB / 1.296 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/1.038, allocations: 12 kB / 1.297 GB, free: 7.008 MB / 1.029 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.0001644/1.038, allocations: 216.7 kB / 1.297 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.038, allocations: 59.28 kB / 1.297 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/1.039, allocations: 441.4 kB / 1.297 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.039, allocations: 7.984 kB / 1.297 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.039, allocations: 0 / 1.297 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006449/1.04, allocations: 0.6636 MB / 1.298 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/1.041, allocations: 1.21 MB / 1.299 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.041, allocations: 4 kB / 1.299 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/1.042, allocations: 87.89 kB / 1.299 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.042, allocations: 7.938 kB / 1.299 GB, free: 4.141 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/1.042, allocations: 12.22 kB / 1.299 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000283/1.042, allocations: 0.5976 MB / 1.3 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.042, allocations: 4.031 kB / 1.3 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/1.043, allocations: 0.7002 MB / 1.3 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/1.043, allocations: 176.3 kB / 1.301 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/1.043, allocations: 11.94 kB / 1.301 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/1.044, allocations: 20.55 kB / 1.301 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/1.044, allocations: 23.97 kB / 1.301 GB, free: 2.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/1.044, allocations: 12 kB / 1.301 GB, free: 2.508 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003886/1.044, allocations: 358.8 kB / 1.301 GB, free: 2.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.044, allocations: 0 / 1.301 GB, free: 2.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008716/1.045, allocations: 343.2 kB / 1.301 GB, free: 1.824 MB / 1.029 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.001464/1.046, allocations: 1.346 MB / 1.303 GB, free: 448 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0012/1.048, allocations: 0.598 MB / 1.303 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.048, allocations: 0 / 1.303 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/1.048, allocations: 189.2 kB / 1.303 GB, free: 15.66 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/1.05, allocations: 364.9 kB / 1.304 GB, free: 15.3 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/1.056, allocations: 4.867 MB / 1.308 GB, free: 10.26 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/1.056, allocations: 0.9414 MB / 1.309 GB, free: 9.293 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006663/1.057, allocations: 200.9 kB / 1.31 GB, free: 9.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/1.057, allocations: 219.4 kB / 1.31 GB, free: 8.879 MB / 1.045 GB Notification: Performance of SimCode: time 9.12e-07/1.057, allocations: 4 kB / 1.31 GB, free: 8.875 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/1.098, allocations: 17.07 MB / 1.326 GB, free: 8.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.13, allocations: 12 kB / 1.326 GB, free: 8.098 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches