Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Density,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Density",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.0008033/0.0008033, allocations: 97.95 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.005294/0.005294, allocations: 168.8 kB / 16.26 MB, free: 6.66 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.641/2.641, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 17.55 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3022, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1821/0.4843, allocations: 180.4 MB / 1.235 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009422/0.4938, allocations: 6.969 MB / 1.242 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.4949, allocations: 31.75 kB / 1.242 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.4961, allocations: 338.2 kB / 1.242 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003661/0.4998, allocations: 1.366 MB / 1.243 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.5026, allocations: 1.046 MB / 1.244 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003042/0.5057, allocations: 2.717 MB / 1.247 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009724/0.5066, allocations: 0.5317 MB / 1.248 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.5083, allocations: 0.7119 MB / 1.248 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.5098, allocations: 0.6094 MB / 1.249 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.51, allocations: 28 kB / 1.249 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5427/1.053, allocations: 2.179 MB / 1.251 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004043/1.053, allocations: 249.7 kB / 1.251 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005654/1.054, allocations: 404.3 kB / 1.252 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/1.056, allocations: 1.814 MB / 1.253 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/1.056, allocations: 1.719 kB / 1.253 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/1.056, allocations: 3.656 kB / 1.253 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.056, allocations: 1.688 kB / 1.253 GB, free: 5.719 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001338/1.057, allocations: 1.013 MB / 1.254 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/1.057, allocations: 19.38 kB / 1.254 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.481e-05/1.058, allocations: 96.25 kB / 1.255 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/1.059, allocations: 272.3 kB / 1.255 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007949/1.06, allocations: 0.5745 MB / 1.255 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/1.06, allocations: 47.03 kB / 1.255 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.549e-05/1.06, allocations: 57.59 kB / 1.256 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009247/1.061, allocations: 0.6396 MB / 1.256 GB, free: 20.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.061, allocations: 0 / 1.256 GB, free: 20.69 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/1.061, allocations: 23.12 kB / 1.256 GB, free: 20.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/1.061, allocations: 20.23 kB / 1.256 GB, free: 20.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/1.062, allocations: 0.5322 MB / 1.257 GB, free: 20.69 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.002487/1.064, allocations: 2.465 MB / 1.259 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/1.065, allocations: 367 kB / 1.259 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/1.065, allocations: 238.7 kB / 1.26 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000515/1.066, allocations: 321.3 kB / 1.26 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/1.066, allocations: 41.3 kB / 1.26 GB, free: 19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 1.503e-06/1.066, allocations: 0 / 1.26 GB, free: 19 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.001173/1.067, allocations: 0.6317 MB / 1.261 GB, free: 18.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/1.067, allocations: 61.75 kB / 1.261 GB, free: 18.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/1.068, allocations: 0.4954 MB / 1.261 GB, free: 18.74 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/1.068, allocations: 35.17 kB / 1.261 GB, free: 18.71 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/1.068, allocations: 320.3 kB / 1.262 GB, free: 18.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.64e-05/1.068, allocations: 140.7 kB / 1.262 GB, free: 18.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/1.068, allocations: 48.17 kB / 1.262 GB, free: 18.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.068, allocations: 364.9 kB / 1.262 GB, free: 18.13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/1.068, allocations: 170.8 kB / 1.262 GB, free: 18.13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/1.069, allocations: 293.6 kB / 1.262 GB, free: 18.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/1.069, allocations: 463.4 kB / 1.263 GB, free: 17.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.069, allocations: 2.906 kB / 1.263 GB, free: 17.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007718/1.07, allocations: 0.5303 MB / 1.263 GB, free: 17.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/1.07, allocations: 157.9 kB / 1.264 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/1.07, allocations: 3.609 kB / 1.264 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/1.07, allocations: 2.875 kB / 1.264 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006441/1.071, allocations: 144.5 kB / 1.264 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002997/1.071, allocations: 0.5977 MB / 1.264 GB, free: 17.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005894/1.072, allocations: 87.81 kB / 1.264 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/1.072, allocations: 22.66 kB / 1.264 GB, free: 17.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/1.072, allocations: 4.062 kB / 1.264 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006835/1.073, allocations: 470.8 kB / 1.265 GB, free: 17.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/1.073, allocations: 2.844 kB / 1.265 GB, free: 17.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/1.073, allocations: 7.781 kB / 1.265 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/1.073, allocations: 126.6 kB / 1.265 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.073, allocations: 6.203 kB / 1.265 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/1.074, allocations: 79.86 kB / 1.265 GB, free: 17.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/1.074, allocations: 19.02 kB / 1.265 GB, free: 17.03 MB / 1.014 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 (53): * Single equations (assignments): 52 * 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.0002456/1.074, allocations: 300.3 kB / 1.265 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/1.074, allocations: 64.03 kB / 1.265 GB, free: 16.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/1.075, allocations: 0.4889 MB / 1.266 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.075, allocations: 2.969 kB / 1.266 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.075, allocations: 0.6562 kB / 1.266 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007125/1.075, allocations: 0.7227 MB / 1.267 GB, free: 16.31 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/1.077, allocations: 1.295 MB / 1.268 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.077, allocations: 2.719 kB / 1.268 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/1.078, allocations: 140.6 kB / 1.268 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.078, allocations: 3.906 kB / 1.268 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/1.078, allocations: 14.61 kB / 1.268 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002472/1.078, allocations: 0.595 MB / 1.269 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.078, allocations: 2.984 kB / 1.269 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/1.079, allocations: 0.8076 MB / 1.269 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/1.08, allocations: 183.6 kB / 1.27 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/1.08, allocations: 17.33 kB / 1.27 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/1.08, allocations: 44.97 kB / 1.27 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/1.08, allocations: 33.09 kB / 1.27 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/1.08, allocations: 16.58 kB / 1.27 GB, free: 14.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004024/1.081, allocations: 354.2 kB / 1.27 GB, free: 14.87 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.081, allocations: 0 / 1.27 GB, free: 14.87 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009116/1.082, allocations: 364.1 kB / 1.27 GB, free: 14.82 MB / 1.014 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,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * 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.001624/1.083, allocations: 1.46 MB / 1.272 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001318/1.085, allocations: 0.6923 MB / 1.273 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.085, allocations: 0.9688 kB / 1.273 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004081/1.085, allocations: 226.9 kB / 1.273 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/1.087, allocations: 360 kB / 1.273 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006627/1.094, allocations: 5.466 MB / 1.278 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/1.094, allocations: 0.9495 MB / 1.279 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006846/1.095, allocations: 209.6 kB / 1.28 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/1.095, allocations: 233.3 kB / 1.28 GB, free: 10.85 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/1.095, allocations: 0 / 1.28 GB, free: 10.85 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3283/1.423, allocations: 16.94 MB / 1.296 GB, free: 9.758 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004382/1.424, allocations: 269.8 kB / 1.297 GB, free: 9.398 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/3.638, allocations: 0 / 1.297 GB, free: 9.398 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches