Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_10_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.0008539/0.0008538, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005971/0.005971, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 16 kB / 0.8729 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.628/0.6284, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1951/0.8236, allocations: 182.1 MB / 1.201 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008909/0.8325, allocations: 4.582 MB / 1.205 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009578/0.8335, allocations: 31.81 kB / 1.205 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.8347, allocations: 338.1 kB / 1.206 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003337/0.838, allocations: 1.264 MB / 1.207 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.84, allocations: 0.6853 MB / 1.208 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003595/0.8436, allocations: 2.752 MB / 1.21 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008768/0.8445, allocations: 0.5349 MB / 1.211 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.8476, allocations: 0.9427 MB / 1.212 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.8487, allocations: 0.5861 MB / 1.212 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.398e-05/0.8488, allocations: 32 kB / 1.212 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.8518, allocations: 1.547 MB / 1.214 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.8521, allocations: 247.2 kB / 1.214 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004608/0.8525, allocations: 395.8 kB / 1.215 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.8549, allocations: 1.499 MB / 1.216 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8549, allocations: 0 / 1.216 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.123e-06/0.855, allocations: 4 kB / 1.216 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.855, allocations: 0 / 1.216 GB, free: 9.559 MB / 0.9669 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.001763/0.8567, allocations: 0.9503 MB / 1.217 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.8568, allocations: 8.031 kB / 1.217 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.8569, allocations: 94.52 kB / 1.217 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.8583, allocations: 202.9 kB / 1.217 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009876/0.8593, allocations: 0.5754 MB / 1.218 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.8593, allocations: 41.25 kB / 1.218 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/0.8594, allocations: 59.94 kB / 1.218 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.8604, allocations: 0.6245 MB / 1.219 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.8605, allocations: 0 / 1.219 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.8605, allocations: 28 kB / 1.219 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.8606, allocations: 17.31 kB / 1.219 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.8614, allocations: 0.4969 MB / 1.219 GB, free: 6.348 MB / 0.9669 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.003323/0.8647, allocations: 2.396 MB / 1.221 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.8654, allocations: 351.7 kB / 1.222 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.8658, allocations: 213.4 kB / 1.222 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/0.8665, allocations: 323.2 kB / 1.222 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.864e-05/0.8666, allocations: 42.42 kB / 1.222 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 1.883e-06/0.8666, allocations: 4 kB / 1.222 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36): time 0.001237/0.8678, allocations: 0.5481 MB / 1.223 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.8679, allocations: 55.41 kB / 1.223 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.8685, allocations: 0.4989 MB / 1.223 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.8685, allocations: 33.7 kB / 1.223 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.8688, allocations: 319.8 kB / 1.224 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.869, allocations: 134.1 kB / 1.224 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.869, allocations: 41.7 kB / 1.224 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8692, allocations: 366.8 kB / 1.224 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.8695, allocations: 140.8 kB / 1.224 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.8698, allocations: 259.8 kB / 1.225 GB, free: 304 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.8704, allocations: 414.1 kB / 1.225 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8704, allocations: 0 / 1.225 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000742/0.8712, allocations: 493.4 kB / 1.225 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.804e-05/0.8713, allocations: 148.9 kB / 1.226 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.8713, allocations: 3.938 kB / 1.226 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8713, allocations: 4 kB / 1.226 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.8719, allocations: 103.8 kB / 1.226 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004009/0.8723, allocations: 0.5899 MB / 1.226 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.873, allocations: 79.61 kB / 1.226 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/0.873, allocations: 20 kB / 1.226 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.8731, allocations: 4 kB / 1.226 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006768/0.8737, allocations: 407.8 kB / 1.227 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.8738, allocations: 4.281 kB / 1.227 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.8738, allocations: 7.938 kB / 1.227 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.8742, allocations: 95.78 kB / 1.227 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8742, allocations: 4 kB / 1.227 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/0.8747, allocations: 67.55 kB / 1.227 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.8748, allocations: 23.94 kB / 1.227 GB, free: 13.77 MB / 0.9825 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.0003831/0.8752, allocations: 305 kB / 1.227 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/0.8753, allocations: 55.34 kB / 1.227 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/0.876, allocations: 459.4 kB / 1.228 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8761, allocations: 7.984 kB / 1.228 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8761, allocations: 0 / 1.228 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006734/0.8767, allocations: 0.6573 MB / 1.228 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.8785, allocations: 1.207 MB / 1.23 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8785, allocations: 4.062 kB / 1.23 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.879, allocations: 91.89 kB / 1.23 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.879, allocations: 4 kB / 1.23 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.8791, allocations: 8 kB / 1.23 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003874/0.8794, allocations: 0.6018 MB / 1.23 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8795, allocations: 3.938 kB / 1.23 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.8804, allocations: 0.7087 MB / 1.231 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.8806, allocations: 176.4 kB / 1.231 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.8807, allocations: 19.92 kB / 1.231 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.8811, allocations: 37.28 kB / 1.231 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.8812, allocations: 23.97 kB / 1.231 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.8812, allocations: 8 kB / 1.231 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004078/0.8816, allocations: 362.8 kB / 1.232 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8817, allocations: 4 kB / 1.232 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009107/0.8826, allocations: 347.1 kB / 1.232 GB, free: 8.465 MB / 0.9825 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.001641/0.8842, allocations: 1.344 MB / 1.233 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.8854, allocations: 0.5761 MB / 1.234 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8854, allocations: 0 / 1.234 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.8858, allocations: 192.2 kB / 1.234 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.8879, allocations: 369.9 kB / 1.234 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007396/0.8953, allocations: 5.298 MB / 1.239 GB, free: 500 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.896, allocations: 0.9375 MB / 1.24 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007669/0.8967, allocations: 204.9 kB / 1.241 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.8971, allocations: 223.4 kB / 1.241 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/0.8971, allocations: 0 / 1.241 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4966/1.394, allocations: 16.24 MB / 1.257 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/1.394, allocations: 270.8 kB / 1.257 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.658, allocations: 2.312 kB / 1.257 GB, free: 229.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches