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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001024/0.001023, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009145/0.009145, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.156/2.156, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003013, allocations: 15.94 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5337/0.5341, allocations: 142.4 MB / 0.9552 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.164/0.6981, allocations: 182.1 MB / 1.133 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006535/0.7046, allocations: 4.584 MB / 1.138 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007251/0.7054, allocations: 27.81 kB / 1.138 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009167/0.7063, allocations: 346.1 kB / 1.138 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.7091, allocations: 1.261 MB / 1.139 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.7107, allocations: 0.6782 MB / 1.14 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002777/0.7135, allocations: 2.745 MB / 1.142 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008067/0.7143, allocations: 0.5349 MB / 1.143 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.7171, allocations: 0.9494 MB / 1.144 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.7181, allocations: 0.5875 MB / 1.144 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.7182, allocations: 28 kB / 1.144 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.7205, allocations: 1.555 MB / 1.146 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.7208, allocations: 243.3 kB / 1.146 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004578/0.7213, allocations: 395.8 kB / 1.147 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.7231, allocations: 1.495 MB / 1.148 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.7231, allocations: 0 / 1.148 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.82e-07/0.7231, allocations: 0 / 1.148 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.7232, allocations: 0 / 1.148 GB, free: 9.074 MB / 0.9044 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.001209/0.7244, allocations: 0.9478 MB / 1.149 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.7244, allocations: 12.03 kB / 1.149 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.14e-05/0.7245, allocations: 98.39 kB / 1.149 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.7257, allocations: 206.9 kB / 1.149 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.7264, allocations: 0.5754 MB / 1.15 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.7265, allocations: 45.31 kB / 1.15 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/0.7266, allocations: 52 kB / 1.15 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008681/0.7274, allocations: 0.6245 MB / 1.151 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.7275, allocations: 3.938 kB / 1.151 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.7275, allocations: 20 kB / 1.151 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.7275, allocations: 25.31 kB / 1.151 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007211/0.7283, allocations: 0.4892 MB / 1.151 GB, free: 5.867 MB / 0.9044 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.002462/0.7307, allocations: 2.396 MB / 1.153 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/0.7313, allocations: 354.7 kB / 1.154 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.7316, allocations: 208.8 kB / 1.154 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005337/0.7321, allocations: 323.2 kB / 1.154 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.7321, allocations: 38.56 kB / 1.154 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 1.312e-06/0.7321, allocations: 0 / 1.154 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36): time 0.0009824/0.7331, allocations: 0.5485 MB / 1.155 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.7332, allocations: 59.34 kB / 1.155 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.7337, allocations: 0.4989 MB / 1.155 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.7337, allocations: 37.7 kB / 1.155 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.7339, allocations: 323.8 kB / 1.156 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.422e-05/0.734, allocations: 130.1 kB / 1.156 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.7341, allocations: 41.7 kB / 1.156 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7342, allocations: 366.8 kB / 1.156 GB, free: 240 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.7344, allocations: 148.7 kB / 1.156 GB, free: 92 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.7348, allocations: 257.8 kB / 1.157 GB, free: 15.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.7353, allocations: 406.2 kB / 1.157 GB, free: 15.38 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7353, allocations: 4 kB / 1.157 GB, free: 15.38 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006546/0.736, allocations: 477.5 kB / 1.157 GB, free: 14.9 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.736, allocations: 164.9 kB / 1.158 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7361, allocations: 7.938 kB / 1.158 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.7361, allocations: 4.062 kB / 1.158 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.7366, allocations: 99.89 kB / 1.158 GB, free: 14.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003461/0.7369, allocations: 0.6016 MB / 1.158 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.7375, allocations: 75.58 kB / 1.158 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.7375, allocations: 16 kB / 1.158 GB, free: 13.88 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.7375, allocations: 4 kB / 1.158 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005706/0.7381, allocations: 403.5 kB / 1.159 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7381, allocations: 4.281 kB / 1.159 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.7381, allocations: 19.91 kB / 1.159 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.7385, allocations: 83.91 kB / 1.159 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7385, allocations: 4 kB / 1.159 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.739, allocations: 75.55 kB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.739, allocations: 16 kB / 1.159 GB, free: 13.29 MB / 0.92 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.0002641/0.7393, allocations: 304.9 kB / 1.159 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/0.7394, allocations: 55.34 kB / 1.159 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.7401, allocations: 457.2 kB / 1.16 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.7401, allocations: 4 kB / 1.16 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.7401, allocations: 0 / 1.16 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005859/0.7407, allocations: 0.6558 MB / 1.16 GB, free: 11.72 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.7422, allocations: 1.216 MB / 1.162 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.7422, allocations: 0 / 1.162 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.7427, allocations: 95.88 kB / 1.162 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.7427, allocations: 4 kB / 1.162 GB, free: 10.33 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.7427, allocations: 8 kB / 1.162 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002702/0.743, allocations: 0.6017 MB / 1.162 GB, free: 9.699 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.743, allocations: 4 kB / 1.162 GB, free: 9.695 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008082/0.7438, allocations: 0.7012 MB / 1.163 GB, free: 8.957 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.744, allocations: 176.3 kB / 1.163 GB, free: 8.766 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.7441, allocations: 15.92 kB / 1.163 GB, free: 8.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.7445, allocations: 39.97 kB / 1.163 GB, free: 8.711 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.7446, allocations: 23.97 kB / 1.163 GB, free: 8.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.7446, allocations: 16 kB / 1.163 GB, free: 8.672 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003641/0.745, allocations: 362.8 kB / 1.164 GB, free: 8.32 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.745, allocations: 0 / 1.164 GB, free: 8.32 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008127/0.7458, allocations: 351.1 kB / 1.164 GB, free: 7.977 MB / 0.92 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.001347/0.7472, allocations: 1.343 MB / 1.165 GB, free: 6.598 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.7482, allocations: 0.593 MB / 1.166 GB, free: 6.004 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7482, allocations: 1.125 kB / 1.166 GB, free: 6.004 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.7485, allocations: 196.1 kB / 1.166 GB, free: 5.812 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.7503, allocations: 360 kB / 1.166 GB, free: 5.461 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005947/0.7563, allocations: 5.268 MB / 1.172 GB, free: 8 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.7568, allocations: 0.9375 MB / 1.172 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000609/0.7574, allocations: 212.9 kB / 1.173 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.7577, allocations: 215.4 kB / 1.173 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.7577, allocations: 0 / 1.173 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.544/4.302, allocations: 16.25 MB / 1.189 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003059/4.303, allocations: 266.8 kB / 1.189 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/6.573, allocations: 1.75 kB / 1.189 GB, free: 14.33 MB / 0.9512 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