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.006648/0.006649, allocations: 101.6 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.001626/0.001626, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.408/1.408, 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 11.0.1-master/package.mo): time 2.67/2.67, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 64.12 kB / 1.054 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9419/0.9434, allocations: 157.4 MB / 1.207 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2046/1.148, allocations: 186.8 MB / 1.39 GB, free: 2.004 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008134/1.156, allocations: 4.581 MB / 1.394 GB, free: 13.41 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/1.157, allocations: 31.81 kB / 1.394 GB, free: 13.38 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/1.159, allocations: 413.4 kB / 1.395 GB, free: 12.98 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003492/1.162, allocations: 1.334 MB / 1.396 GB, free: 11.64 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/1.164, allocations: 0.7663 MB / 1.397 GB, free: 10.88 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002636/1.167, allocations: 1.956 MB / 1.399 GB, free: 8.91 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/1.168, allocations: 0.6476 MB / 1.399 GB, free: 8.25 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003141/1.171, allocations: 1.109 MB / 1.4 GB, free: 7.152 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/1.172, allocations: 0.5819 MB / 1.401 GB, free: 6.57 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/1.173, allocations: 64 kB / 1.401 GB, free: 6.508 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/1.175, allocations: 1.384 MB / 1.402 GB, free: 5.121 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003884/1.176, allocations: 291.2 kB / 1.403 GB, free: 4.836 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006327/1.176, allocations: 414.1 kB / 1.403 GB, free: 4.43 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002894/1.179, allocations: 1.472 MB / 1.404 GB, free: 2.953 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.179, allocations: 0 / 1.404 GB, free: 2.953 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.815e-06/1.179, allocations: 0 / 1.404 GB, free: 2.953 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.478e-05/1.179, allocations: 7.938 kB / 1.404 GB, free: 2.945 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.002214/1.181, allocations: 1.09 MB / 1.405 GB, free: 1.805 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.957e-05/1.182, allocations: 12.03 kB / 1.405 GB, free: 1.793 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/1.182, allocations: 94.52 kB / 1.406 GB, free: 1.691 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/1.183, allocations: 202.9 kB / 1.406 GB, free: 1.492 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/1.185, allocations: 0.6066 MB / 1.406 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/1.185, allocations: 41.31 kB / 1.406 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/1.185, allocations: 56 kB / 1.406 GB, free: 0.75 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/1.186, allocations: 0.6244 MB / 1.407 GB, free: 112 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/1.186, allocations: 0 / 1.407 GB, free: 112 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/1.186, allocations: 24 kB / 1.407 GB, free: 88 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/1.186, allocations: 21.31 kB / 1.407 GB, free: 68 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/1.187, allocations: 0.4891 MB / 1.408 GB, free: 15.58 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.003634/1.19, allocations: 2.404 MB / 1.41 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/1.191, allocations: 360.7 kB / 1.41 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/1.192, allocations: 211 kB / 1.41 GB, free: 12.4 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005815/1.192, allocations: 311.2 kB / 1.411 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/1.192, allocations: 34.56 kB / 1.411 GB, free: 12 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 3.176e-06/1.192, allocations: 4 kB / 1.411 GB, free: 11.99 MB / 1.139 GB Notification: Performance of matching and sorting (n=36): time 0.001262/1.193, allocations: 0.5485 MB / 1.411 GB, free: 11.44 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/1.194, allocations: 55.41 kB / 1.411 GB, free: 11.37 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/1.194, allocations: 0.4988 MB / 1.412 GB, free: 10.86 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/1.194, allocations: 37.7 kB / 1.412 GB, free: 10.82 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/1.194, allocations: 319.8 kB / 1.412 GB, free: 10.5 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/1.195, allocations: 126.2 kB / 1.412 GB, free: 10.38 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.195, allocations: 86.03 kB / 1.412 GB, free: 10.29 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.195, allocations: 366.8 kB / 1.413 GB, free: 9.922 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/1.195, allocations: 150.5 kB / 1.413 GB, free: 9.77 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/1.195, allocations: 259.8 kB / 1.413 GB, free: 9.48 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/1.196, allocations: 410.2 kB / 1.414 GB, free: 9.051 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.196, allocations: 0 / 1.414 GB, free: 9.051 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009589/1.197, allocations: 489.2 kB / 1.414 GB, free: 8.566 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.197, allocations: 8 kB / 1.414 GB, free: 8.559 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.197, allocations: 0 / 1.414 GB, free: 8.559 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.197, allocations: 8 kB / 1.414 GB, free: 8.551 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/1.198, allocations: 103.9 kB / 1.414 GB, free: 8.449 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006219/1.198, allocations: 0.594 MB / 1.415 GB, free: 7.832 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/1.199, allocations: 51.55 kB / 1.415 GB, free: 7.781 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/1.199, allocations: 16 kB / 1.415 GB, free: 7.766 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005455/1.2, allocations: 324.9 kB / 1.415 GB, free: 7.445 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003599/1.2, allocations: 267.5 kB / 1.415 GB, free: 7.141 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006405/1.201, allocations: 400.6 kB / 1.416 GB, free: 6.719 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.221e-06/1.201, allocations: 4 kB / 1.416 GB, free: 6.715 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009296/1.202, allocations: 488.5 kB / 1.416 GB, free: 6.23 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.202, allocations: 7.938 kB / 1.416 GB, free: 6.223 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.202, allocations: 4 kB / 1.416 GB, free: 6.219 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/1.202, allocations: 4 kB / 1.416 GB, free: 6.215 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/1.202, allocations: 91.83 kB / 1.416 GB, free: 6.125 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.202, allocations: 4 kB / 1.416 GB, free: 6.121 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/1.203, allocations: 36.02 kB / 1.416 GB, free: 6.086 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/1.203, allocations: 20 kB / 1.416 GB, free: 6.066 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.0002384/1.203, allocations: 200.1 kB / 1.417 GB, free: 5.863 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.203, allocations: 63.28 kB / 1.417 GB, free: 5.801 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009891/1.204, allocations: 453.1 kB / 1.417 GB, free: 5.348 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.204, allocations: 7.984 kB / 1.417 GB, free: 5.34 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.204, allocations: 0 / 1.417 GB, free: 5.34 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006524/1.205, allocations: 0.6521 MB / 1.418 GB, free: 4.602 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/1.207, allocations: 1.206 MB / 1.419 GB, free: 3.316 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/1.207, allocations: 4 kB / 1.419 GB, free: 3.312 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/1.207, allocations: 96.09 kB / 1.419 GB, free: 3.219 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/1.207, allocations: 4 kB / 1.419 GB, free: 3.215 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/1.207, allocations: 11.94 kB / 1.419 GB, free: 3.203 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005134/1.208, allocations: 0.5938 MB / 1.42 GB, free: 2.586 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.208, allocations: 7.969 kB / 1.42 GB, free: 2.578 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.209, allocations: 0.704 MB / 1.42 GB, free: 1.832 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/1.21, allocations: 176.3 kB / 1.42 GB, free: 1.641 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.21, allocations: 12.06 kB / 1.42 GB, free: 1.629 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/1.21, allocations: 19.98 kB / 1.42 GB, free: 1.609 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/1.21, allocations: 23.97 kB / 1.42 GB, free: 1.586 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/1.21, allocations: 12 kB / 1.42 GB, free: 1.574 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004688/1.211, allocations: 362.8 kB / 1.421 GB, free: 1.223 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.31e-07/1.211, allocations: 0 / 1.421 GB, free: 1.223 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001062/1.212, allocations: 343.1 kB / 1.421 GB, free: 0.8867 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.001918/1.214, allocations: 1.349 MB / 1.422 GB, free: 15.5 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001528/1.215, allocations: 0.5979 MB / 1.423 GB, free: 14.9 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.215, allocations: 0 / 1.423 GB, free: 14.9 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/1.216, allocations: 184.9 kB / 1.423 GB, free: 14.72 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.217, allocations: 362.9 kB / 1.424 GB, free: 14.37 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007828/1.225, allocations: 4.873 MB / 1.428 GB, free: 9.324 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/1.226, allocations: 0.9414 MB / 1.429 GB, free: 8.355 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008439/1.227, allocations: 204.9 kB / 1.429 GB, free: 8.152 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/1.227, allocations: 223.4 kB / 1.43 GB, free: 7.934 MB / 1.154 GB Notification: Performance of SimCode: time 8.11e-07/1.227, allocations: 4 kB / 1.43 GB, free: 7.93 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05103/1.278, allocations: 17.35 MB / 1.447 GB, free: 6.879 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.63, allocations: 5.906 kB / 1.447 GB, free: 6.875 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