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.005986/0.005986, allocations: 104.8 kB / 15.74 MB, free: 5.988 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.001335/0.001335, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.138/2.138, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.7997, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2263/1.026, allocations: 186.8 MB / 1.27 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007752/1.034, allocations: 4.562 MB / 1.274 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009896/1.035, allocations: 31.81 kB / 1.274 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/1.036, allocations: 413.4 kB / 1.275 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00334/1.039, allocations: 1.346 MB / 1.276 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/1.042, allocations: 0.7578 MB / 1.277 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002459/1.044, allocations: 1.964 MB / 1.279 GB, free: 9.844 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008729/1.045, allocations: 0.6476 MB / 1.279 GB, free: 9.184 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/1.048, allocations: 1.098 MB / 1.28 GB, free: 8.094 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008876/1.049, allocations: 0.5895 MB / 1.281 GB, free: 7.504 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.61e-05/1.049, allocations: 68 kB / 1.281 GB, free: 7.438 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/1.051, allocations: 1.376 MB / 1.282 GB, free: 6.059 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002849/1.052, allocations: 291.2 kB / 1.283 GB, free: 5.773 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004297/1.052, allocations: 414.1 kB / 1.283 GB, free: 5.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001989/1.054, allocations: 1.48 MB / 1.285 GB, free: 3.883 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.054, allocations: 0 / 1.285 GB, free: 3.883 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.402e-06/1.054, allocations: 0 / 1.285 GB, free: 3.883 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.054, allocations: 0 / 1.285 GB, free: 3.883 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.001542/1.056, allocations: 1.09 MB / 1.286 GB, free: 2.742 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.056, allocations: 12.03 kB / 1.286 GB, free: 2.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/1.056, allocations: 90.52 kB / 1.286 GB, free: 2.633 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/1.057, allocations: 206.9 kB / 1.286 GB, free: 2.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/1.058, allocations: 0.6105 MB / 1.287 GB, free: 1.773 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/1.058, allocations: 41.25 kB / 1.287 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/1.058, allocations: 56 kB / 1.287 GB, free: 1.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000918/1.059, allocations: 0.6322 MB / 1.287 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/1.059, allocations: 0 / 1.287 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/1.059, allocations: 20 kB / 1.287 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/1.059, allocations: 21.31 kB / 1.287 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007486/1.06, allocations: 0.4891 MB / 1.288 GB, free: 0.5039 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.002843/1.063, allocations: 2.4 MB / 1.29 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/1.064, allocations: 358.7 kB / 1.29 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/1.064, allocations: 214 kB / 1.291 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005535/1.064, allocations: 299.8 kB / 1.291 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/1.064, allocations: 50.55 kB / 1.291 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/1.064, allocations: 0 / 1.291 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001061/1.065, allocations: 0.5479 MB / 1.292 GB, free: 12.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/1.066, allocations: 55.41 kB / 1.292 GB, free: 12.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/1.066, allocations: 0.4911 MB / 1.292 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/1.066, allocations: 37.7 kB / 1.292 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/1.066, allocations: 319.8 kB / 1.292 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/1.066, allocations: 130.1 kB / 1.293 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/1.067, allocations: 82.05 kB / 1.293 GB, free: 11.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.067, allocations: 370.8 kB / 1.293 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/1.067, allocations: 154.5 kB / 1.293 GB, free: 10.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/1.067, allocations: 263.8 kB / 1.293 GB, free: 10.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/1.068, allocations: 418 kB / 1.294 GB, free: 9.961 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.068, allocations: 0 / 1.294 GB, free: 9.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006866/1.069, allocations: 485.2 kB / 1.294 GB, free: 9.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.069, allocations: 8 kB / 1.294 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.069, allocations: 4 kB / 1.294 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.069, allocations: 4 kB / 1.294 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/1.069, allocations: 95.89 kB / 1.294 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003655/1.07, allocations: 0.6057 MB / 1.295 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/1.07, allocations: 43.56 kB / 1.295 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/1.07, allocations: 19.98 kB / 1.295 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004036/1.07, allocations: 328.9 kB / 1.295 GB, free: 8.355 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002967/1.071, allocations: 259.5 kB / 1.296 GB, free: 8.066 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005131/1.071, allocations: 396.6 kB / 1.296 GB, free: 7.648 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/1.071, allocations: 4 kB / 1.296 GB, free: 7.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006521/1.072, allocations: 484.7 kB / 1.296 GB, free: 7.164 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/1.072, allocations: 15.94 kB / 1.296 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/1.072, allocations: 4 kB / 1.296 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/1.072, allocations: 7.984 kB / 1.296 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/1.072, allocations: 91.83 kB / 1.296 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/1.072, allocations: 4 kB / 1.296 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/1.073, allocations: 31.75 kB / 1.297 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/1.073, allocations: 19.98 kB / 1.297 GB, free: 6.992 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.0001598/1.073, allocations: 208.7 kB / 1.297 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/1.073, allocations: 59.28 kB / 1.297 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006921/1.074, allocations: 445.3 kB / 1.297 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.074, allocations: 4 kB / 1.297 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.074, allocations: 0 / 1.297 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006023/1.074, allocations: 0.6597 MB / 1.298 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/1.076, allocations: 1.21 MB / 1.299 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.076, allocations: 4.125 kB / 1.299 GB, free: 4.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/1.076, allocations: 95.83 kB / 1.299 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.077, allocations: 4 kB / 1.299 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/1.077, allocations: 8.219 kB / 1.299 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000312/1.077, allocations: 0.5976 MB / 1.3 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.077, allocations: 4.031 kB / 1.3 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000856/1.078, allocations: 0.7041 MB / 1.3 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/1.078, allocations: 176.3 kB / 1.301 GB, free: 2.566 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/1.078, allocations: 12 kB / 1.301 GB, free: 2.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/1.078, allocations: 15.98 kB / 1.301 GB, free: 2.539 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/1.078, allocations: 23.97 kB / 1.301 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/1.079, allocations: 16 kB / 1.301 GB, free: 2.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003896/1.079, allocations: 358.8 kB / 1.301 GB, free: 2.152 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.079, allocations: 0 / 1.301 GB, free: 2.152 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008731/1.08, allocations: 339.2 kB / 1.301 GB, free: 1.82 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.001521/1.081, allocations: 1.357 MB / 1.303 GB, free: 436 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001187/1.083, allocations: 0.5902 MB / 1.303 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.083, allocations: 0 / 1.303 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/1.083, allocations: 183.8 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.001633/1.084, allocations: 367.6 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.006468/1.091, allocations: 4.868 MB / 1.309 GB, free: 10.26 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/1.092, allocations: 0.9375 MB / 1.309 GB, free: 9.293 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006362/1.092, allocations: 204.9 kB / 1.31 GB, free: 9.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/1.093, allocations: 223.4 kB / 1.31 GB, free: 8.871 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/1.093, allocations: 0 / 1.31 GB, free: 8.871 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04768/1.14, allocations: 17.35 MB / 1.327 GB, free: 7.824 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.87, allocations: 4.047 kB / 1.327 GB, free: 7.824 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