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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007236/0.007236, allocations: 104.2 kB / 15.73 MB, free: 5.992 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.001584/0.001584, allocations: 198.3 kB / 16.68 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.84 kB / 1.054 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.899/0.9003, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1996/1.1, allocations: 186.8 MB / 1.39 GB, free: 2.055 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008568/1.109, allocations: 4.574 MB / 1.394 GB, free: 13.47 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/1.11, allocations: 27.81 kB / 1.394 GB, free: 13.45 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/1.112, allocations: 417.4 kB / 1.395 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004619/1.116, allocations: 1.342 MB / 1.396 GB, free: 11.69 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/1.119, allocations: 0.7624 MB / 1.397 GB, free: 10.93 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003263/1.122, allocations: 1.953 MB / 1.399 GB, free: 8.969 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/1.124, allocations: 0.6593 MB / 1.399 GB, free: 8.297 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/1.128, allocations: 1.086 MB / 1.4 GB, free: 7.219 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/1.129, allocations: 0.5976 MB / 1.401 GB, free: 6.621 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/1.13, allocations: 64 kB / 1.401 GB, free: 6.559 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/1.133, allocations: 1.38 MB / 1.402 GB, free: 5.176 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/1.133, allocations: 295.2 kB / 1.403 GB, free: 4.887 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008985/1.134, allocations: 414.1 kB / 1.403 GB, free: 4.48 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003204/1.137, allocations: 1.476 MB / 1.404 GB, free: 3 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.137, allocations: 8 kB / 1.404 GB, free: 2.992 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.114e-06/1.137, allocations: 0 / 1.404 GB, free: 2.992 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.348e-05/1.137, allocations: 0 / 1.404 GB, free: 2.992 MB / 1.123 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.002259/1.14, allocations: 1.09 MB / 1.405 GB, free: 1.852 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.14, allocations: 8.031 kB / 1.405 GB, free: 1.844 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/1.14, allocations: 94.52 kB / 1.406 GB, free: 1.742 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/1.141, allocations: 206.9 kB / 1.406 GB, free: 1.539 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/1.143, allocations: 0.6066 MB / 1.406 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/1.143, allocations: 45.25 kB / 1.406 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.634e-05/1.143, allocations: 52 kB / 1.406 GB, free: 0.793 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/1.144, allocations: 0.6245 MB / 1.407 GB, free: 156 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/1.144, allocations: 0 / 1.407 GB, free: 156 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/1.144, allocations: 20 kB / 1.407 GB, free: 136 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/1.144, allocations: 21.31 kB / 1.407 GB, free: 116 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008412/1.145, allocations: 0.4969 MB / 1.408 GB, free: 15.62 MB / 1.139 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.003322/1.148, allocations: 2.396 MB / 1.41 GB, free: 13.01 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/1.149, allocations: 358.6 kB / 1.41 GB, free: 12.65 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/1.149, allocations: 215 kB / 1.41 GB, free: 12.44 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/1.15, allocations: 307.2 kB / 1.411 GB, free: 12.09 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/1.15, allocations: 34.56 kB / 1.411 GB, free: 12.04 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 1.794e-06/1.15, allocations: 0 / 1.411 GB, free: 12.04 MB / 1.139 GB Notification: Performance of matching and sorting (n=36): time 0.001164/1.151, allocations: 0.5485 MB / 1.411 GB, free: 11.49 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/1.151, allocations: 59.41 kB / 1.411 GB, free: 11.42 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/1.152, allocations: 0.5027 MB / 1.412 GB, free: 10.91 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/1.152, allocations: 33.7 kB / 1.412 GB, free: 10.87 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/1.152, allocations: 319.8 kB / 1.412 GB, free: 10.55 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/1.152, allocations: 126.2 kB / 1.412 GB, free: 10.43 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/1.152, allocations: 82.05 kB / 1.412 GB, free: 10.34 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.152, allocations: 366.8 kB / 1.413 GB, free: 9.973 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/1.153, allocations: 154.5 kB / 1.413 GB, free: 9.816 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/1.153, allocations: 259.7 kB / 1.413 GB, free: 9.527 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/1.154, allocations: 414.2 kB / 1.414 GB, free: 9.094 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.154, allocations: 3.938 kB / 1.414 GB, free: 9.09 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007972/1.154, allocations: 477.2 kB / 1.414 GB, free: 8.617 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.154, allocations: 11.98 kB / 1.414 GB, free: 8.605 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.154, allocations: 0 / 1.414 GB, free: 8.605 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.154, allocations: 4 kB / 1.414 GB, free: 8.602 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/1.155, allocations: 108.1 kB / 1.414 GB, free: 8.496 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004223/1.155, allocations: 0.5938 MB / 1.415 GB, free: 7.879 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/1.156, allocations: 43.53 kB / 1.415 GB, free: 7.836 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/1.156, allocations: 19.98 kB / 1.415 GB, free: 7.816 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004379/1.156, allocations: 324.9 kB / 1.415 GB, free: 7.496 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003289/1.157, allocations: 263.5 kB / 1.415 GB, free: 7.195 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000567/1.157, allocations: 400.6 kB / 1.416 GB, free: 6.773 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/1.157, allocations: 0 / 1.416 GB, free: 6.773 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007374/1.158, allocations: 492.5 kB / 1.416 GB, free: 6.285 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.158, allocations: 7.938 kB / 1.416 GB, free: 6.277 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.158, allocations: 7.938 kB / 1.416 GB, free: 6.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.273e-06/1.158, allocations: 4 kB / 1.416 GB, free: 6.266 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/1.159, allocations: 83.84 kB / 1.416 GB, free: 6.184 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/1.159, allocations: 7.984 kB / 1.416 GB, free: 6.176 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/1.159, allocations: 40.16 kB / 1.416 GB, free: 6.137 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/1.159, allocations: 19.98 kB / 1.416 GB, free: 6.117 MB / 1.139 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.0001613/1.159, allocations: 208.1 kB / 1.417 GB, free: 5.906 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/1.159, allocations: 59.28 kB / 1.417 GB, free: 5.848 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007328/1.16, allocations: 445.1 kB / 1.417 GB, free: 5.402 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.16, allocations: 7.984 kB / 1.417 GB, free: 5.395 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.16, allocations: 0 / 1.417 GB, free: 5.395 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006531/1.161, allocations: 0.6637 MB / 1.418 GB, free: 4.645 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/1.163, allocations: 1.199 MB / 1.419 GB, free: 3.367 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.163, allocations: 8.016 kB / 1.419 GB, free: 3.359 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/1.163, allocations: 91.88 kB / 1.419 GB, free: 3.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/1.163, allocations: 7.984 kB / 1.419 GB, free: 3.262 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/1.163, allocations: 8 kB / 1.419 GB, free: 3.254 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003384/1.164, allocations: 0.5937 MB / 1.42 GB, free: 2.637 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.164, allocations: 4.031 kB / 1.42 GB, free: 2.633 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/1.165, allocations: 0.704 MB / 1.42 GB, free: 1.887 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/1.165, allocations: 188.3 kB / 1.42 GB, free: 1.684 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/1.165, allocations: 8 kB / 1.42 GB, free: 1.676 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/1.165, allocations: 15.98 kB / 1.42 GB, free: 1.66 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/1.165, allocations: 27.91 kB / 1.42 GB, free: 1.633 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/1.165, allocations: 8 kB / 1.42 GB, free: 1.625 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004326/1.166, allocations: 362.8 kB / 1.421 GB, free: 1.273 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.21e-07/1.166, allocations: 0 / 1.421 GB, free: 1.273 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001007/1.167, allocations: 351.1 kB / 1.421 GB, free: 0.9297 MB / 1.139 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.001735/1.169, allocations: 1.346 MB / 1.422 GB, free: 15.55 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001408/1.17, allocations: 0.6017 MB / 1.423 GB, free: 14.95 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.17, allocations: 1.125 kB / 1.423 GB, free: 14.95 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/1.17, allocations: 191.9 kB / 1.423 GB, free: 14.76 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/1.172, allocations: 356.1 kB / 1.424 GB, free: 14.41 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/1.18, allocations: 4.869 MB / 1.428 GB, free: 9.375 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/1.181, allocations: 0.9414 MB / 1.429 GB, free: 8.406 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007317/1.182, allocations: 216.8 kB / 1.429 GB, free: 8.191 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/1.182, allocations: 215.4 kB / 1.43 GB, free: 7.98 MB / 1.154 GB Notification: Performance of SimCode: time 5.41e-07/1.182, allocations: 0 / 1.43 GB, free: 7.98 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05041/1.232, allocations: 17.35 MB / 1.447 GB, free: 6.934 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.47, allocations: 7.875 kB / 1.447 GB, free: 6.926 MB / 1.17 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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